s4:samdb python bindings - we don't need the attributes here
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Thu, 13 Aug 2009 23:42:12 +0000 (01:42 +0200)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Thu, 13 Aug 2009 23:56:34 +0000 (01:56 +0200)
source4/scripting/python/samba/samdb.py

index 631f31c6aaf64962daed014b9e331e3aae0e11b1..508449a1c6473340539baf3471f065a68ce9a9f3 100644 (file)
@@ -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