1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s4:samdb python bindings - we don't need the attributes here

This commit is contained in:
Matthias Dieter Wallnöfer 2009-08-14 01:42:12 +02:00
parent fa61fdf8b7
commit 53ef426e6f

View 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