summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-08-14 01:42:12 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-08-14 01:56:34 +0200
commit53ef426e6f68728763436bd0cd3dd91180c00579 (patch)
tree74d00e0d4c99a286e1139d73b6b45a614997a57f
parentfa61fdf8b7784081e515e9a26f84a83c1188d97a (diff)
downloadsamba-53ef426e6f68728763436bd0cd3dd91180c00579.tar.gz
samba-53ef426e6f68728763436bd0cd3dd91180c00579.tar.bz2
samba-53ef426e6f68728763436bd0cd3dd91180c00579.zip
s4:samdb python bindings - we don't need the attributes here
-rw-r--r--source4/scripting/python/samba/samdb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index 631f31c6aa..508449a1c6 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