diff options
Diffstat (limited to 'pynslcd/host.py')
-rw-r--r-- | pynslcd/host.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pynslcd/host.py b/pynslcd/host.py index 49de45b..ffd9588 100644 --- a/pynslcd/host.py +++ b/pynslcd/host.py @@ -1,7 +1,7 @@ # host.py - lookup functions for host names and addresses # -# Copyright (C) 2011, 2012 Arthur de Jong +# Copyright (C) 2011, 2012, 2013 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -21,13 +21,14 @@ import cache import common import constants +import search attmap = common.Attributes(cn='cn', ipHostNumber='ipHostNumber') filter = '(objectClass=ipHost)' -class Search(common.Search): +class Search(search.LDAPSearch): canonical_first = ('cn', ) required = ('cn', ) |