diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-03-09 23:02:29 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-03-09 23:27:00 +0100 |
commit | 4e603409f76c14ba7b11c437eac6116a2afce603 (patch) | |
tree | 2d27a197193b6fbde8c1ef7fc47c12154e575d9d /pynslcd/shadow.py | |
parent | 975ee2ce45d050d1f8aafacfe58d035fff339e79 (diff) |
move Search class to search module
Diffstat (limited to 'pynslcd/shadow.py')
-rw-r--r-- | pynslcd/shadow.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pynslcd/shadow.py b/pynslcd/shadow.py index a8d3382..e0170e2 100644 --- a/pynslcd/shadow.py +++ b/pynslcd/shadow.py @@ -1,7 +1,7 @@ # shadow.py - lookup functions for shadow information # -# Copyright (C) 2010, 2011, 2012 Arthur de Jong +# Copyright (C) 2010, 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 @@ -23,6 +23,7 @@ import logging import cache import common import constants +import search attmap = common.Attributes(uid='uid', @@ -37,7 +38,7 @@ attmap = common.Attributes(uid='uid', filter = '(objectClass=shadowAccount)' -class Search(common.Search): +class Search(search.LDAPSearch): case_sensitive = ('uid', ) limit_attributes = ('uid', ) |