[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-4225-g4662779
Gerald Carter
jerry at samba.org
Mon Oct 6 18:51:00 GMT 2008
The branch, v3-3-test has been updated
via 46627792a69fd6d5a24f4ca69ad26c1f9e2213ff (commit)
from e8f3a35193bcbdf69c5eebdac532cfaa7b44edc2 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 46627792a69fd6d5a24f4ca69ad26c1f9e2213ff
Author: Gerald (Jerry) Carter <jerry at samba.org>
Date: Mon Oct 6 11:47:57 2008 -0500
idmap_adex: Add more debugging to the basic search function.
Log the dn of all located entries in order to verify search results.
-----------------------------------------------------------------------
Summary of changes:
source/winbindd/idmap_adex/likewise_cell.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/winbindd/idmap_adex/likewise_cell.c b/source/winbindd/idmap_adex/likewise_cell.c
index 77eeee4..836e5df 100644
--- a/source/winbindd/idmap_adex/likewise_cell.c
+++ b/source/winbindd/idmap_adex/likewise_cell.c
@@ -389,6 +389,24 @@ done:
status = ads_do_search(c->conn, search_base,
scope, expr, attrs, msg);
if (ADS_ERR_OK(status)) {
+ if (DEBUGLEVEL >= 10) {
+ LDAPMessage *e = NULL;
+
+ int n = ads_count_replies(c->conn, *msg);
+
+ DEBUG(10,("cell_do_search: Located %d entries\n", n));
+
+ for (e=ads_first_entry(c->conn, *msg);
+ e!=NULL;
+ e = ads_next_entry(c->conn, e))
+ {
+ char *dn = ads_get_dn(c->conn, e);
+
+ DEBUGADD(10,(" dn: %s\n", dn ? dn : "<NULL>"));
+ SAFE_FREE(dn);
+ }
+ }
+
return status;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list