From: Matthias Dieter Wallnöfer Date: Thu, 13 Aug 2009 23:42:12 +0000 (+0200) Subject: s4:samdb python bindings - we don't need the attributes here X-Git-Tag: talloc-2.0.0~384 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53ef426e6f68728763436bd0cd3dd91180c00579;p=thirdparty%2Fsamba.git s4:samdb python bindings - we don't need the attributes here --- 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