[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-985-g53ef426
Matthias Dieter Wallnöfer
mdw at samba.org
Fri Aug 14 04:18:31 MDT 2009
The branch, master has been updated
via 53ef426e6f68728763436bd0cd3dd91180c00579 (commit)
via fa61fdf8b7784081e515e9a26f84a83c1188d97a (commit)
from 639c9ccb93e2766d865c769fa8c53a7c3d5f307c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 53ef426e6f68728763436bd0cd3dd91180c00579
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Aug 14 01:42:12 2009 +0200
s4:samdb python bindings - we don't need the attributes here
commit fa61fdf8b7784081e515e9a26f84a83c1188d97a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Aug 14 01:39:56 2009 +0200
s4:ldb - Free the asynchronous result
-----------------------------------------------------------------------
Summary of changes:
source4/lib/ldb/common/ldb.c | 2 ++
source4/scripting/python/samba/samdb.py | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 164e5a9..38cc0c8 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -677,10 +677,12 @@ int ldb_search_default_callback(struct ldb_request *req,
/* this is the last message, and means the request is done */
/* we have to signal and eventual ldb_wait() waiting that the
* async request operation was completed */
+ talloc_free(ares);
return ldb_request_done(req, LDB_SUCCESS);
}
talloc_free(ares);
+
return LDB_SUCCESS;
}
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py
index 631f31c..508449a 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
--
Samba Shared Repository
More information about the samba-cvs
mailing list