diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-08-14 01:42:12 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-08-14 01:56:34 +0200 |
commit | 53ef426e6f68728763436bd0cd3dd91180c00579 (patch) | |
tree | 74d00e0d4c99a286e1139d73b6b45a614997a57f /source4/scripting | |
parent | fa61fdf8b7784081e515e9a26f84a83c1188d97a (diff) | |
download | samba-53ef426e6f68728763436bd0cd3dd91180c00579.tar.gz samba-53ef426e6f68728763436bd0cd3dd91180c00579.tar.xz samba-53ef426e6f68728763436bd0cd3dd91180c00579.zip |
s4:samdb python bindings - we don't need the attributes here
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/samdb.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index 631f31c6aaf..508449a1c64 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -186,8 +186,7 @@ pwdLastSet: 0 assert(domain_dn is not None) res = self.search(domain_dn, scope=ldb.SCOPE_SUBTREE, - expression=filter, - attrs=[]) + expression=filter) assert(len(res) == 1) user_dn = res[0].dn |