[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-1051-g36f828b
Matthias Dieter Wallnöfer
mdw at samba.org
Mon Aug 17 03:09:23 MDT 2009
The branch, master has been updated
via 36f828bafb973586157e9745593418994a962a34 (commit)
from 87921bf694cf5c733de0179cf188c6a5cbaf48f0 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 36f828bafb973586157e9745593418994a962a34
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Aug 17 11:06:39 2009 +0200
Revert "s4:samdb python bindings - we don't need the attributes here"
This reverts commit 53ef426e6f68728763436bd0cd3dd91180c00579.
As abartlet pointed out this causes to load all attributes and therefore gives
us more here than we need (only the check for the DN)!
-----------------------------------------------------------------------
Summary of changes:
source4/scripting/python/samba/samdb.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index 4daa40d..d9d1212 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -165,7 +165,8 @@ pwdLastSet: 0
assert(domain_dn is not None)
res = self.search(domain_dn, scope=ldb.SCOPE_SUBTREE,
- expression=filter)
+ expression=filter,
+ attrs=[])
assert(len(res) == 1)
user_dn = res[0].dn
--
Samba Shared Repository
More information about the samba-cvs
mailing list