The Samba-Bugzilla – Attachment 3661 Details for
Bug 5806
idmap_adex not working with trusted domains
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Log the dn of ann located entries from the cell search function
0002-idmap_adex-Add-more-debugging-to-the-basic-search-f.patch (text/plain), 1.25 KB, created by
Gerald (Jerry) Carter (dead mail address)
on 2008-10-06 11:51:29 UTC
(
hide
)
Description:
Log the dn of ann located entries from the cell search function
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2008-10-06 11:51:29 UTC
Size:
1.25 KB
patch
obsolete
>From 46627792a69fd6d5a24f4ca69ad26c1f9e2213ff Mon Sep 17 00:00:00 2001 >From: Gerald (Jerry) Carter <jerry@samba.org> >Date: Mon, 6 Oct 2008 11:47:57 -0500 >Subject: [PATCH] idmap_adex: Add more debugging to the basic search function. > >Log the dn of all located entries in order to verify search results. >--- > source/winbindd/idmap_adex/likewise_cell.c | 18 ++++++++++++++++++ > 1 files changed, 18 insertions(+), 0 deletions(-) > >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; > } > >-- >1.5.4.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5806
:
3653
|
3655
|
3656
|
3660
| 3661 |
3674