From 53ef426e6f68728763436bd0cd3dd91180c00579 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 14 Aug 2009 01:42:12 +0200 Subject: s4:samdb python bindings - we don't need the attributes here --- source4/scripting/python/samba/samdb.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit