summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-08-22 13:49:46 -0700
committerJeremy Allison <jra@samba.org>2008-08-22 13:49:46 -0700
commit4a5ccfb91f8d427fe9fa83cab992587fe6ce70c7 (patch)
treeff3eaa2baf33767137a627674bd766d1231de609 /source3/winbindd
parent5571bd29131ae8b27c25b478e2dd831aef99580c (diff)
downloadsamba-4a5ccfb91f8d427fe9fa83cab992587fe6ce70c7.tar.gz
samba-4a5ccfb91f8d427fe9fa83cab992587fe6ce70c7.tar.bz2
samba-4a5ccfb91f8d427fe9fa83cab992587fe6ce70c7.zip
Don't re-initialize a token when we already have one. This fixes the build farm failures when winbindd connects as guest.
This one took a *lot* of tracking down :-). Jeremy. (This used to be commit dca827791276906436452c650062164eb819dfe0)
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 6db45f72c3..a8c0166d27 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -937,6 +937,9 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
anon_fallback:
/* Fall back to anonymous connection, this might fail later */
+ DEBUG(10,("cm_prepare_connection: falling back to anonymous "
+ "connection for DC %s\n",
+ controller ));
if (NT_STATUS_IS_OK(cli_session_setup(*cli, "", NULL, 0,
NULL, 0, ""))) {