summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-01-21 19:08:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:07 -0500
commit5e086f2a30ee4d142dd8b759c37d10a44f0e87ba (patch)
treecc018dda9a4702d08c2e58298602791079745bc7
parentfd2ad84d7bf92c7f12a73a281b533e8d96774870 (diff)
downloadsamba-5e086f2a30ee4d142dd8b759c37d10a44f0e87ba.tar.gz
samba-5e086f2a30ee4d142dd8b759c37d10a44f0e87ba.tar.bz2
samba-5e086f2a30ee4d142dd8b759c37d10a44f0e87ba.zip
r4905: patch from abartlet to remove storing the auth-user credentials from the cli* in cm_prepare_connection(). using credentials from a domain other thanour primary domain will cause the schannel setup to fail
(This used to be commit a13e29b5f2f1e48225b5b5964bc0777948f16622)
-rw-r--r--source3/nsswitch/winbindd_cm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 90ecfe1891..f5dcb69ce0 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -215,7 +215,6 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
{
char *machine_password, *machine_krb5_principal;
char *ipc_username, *ipc_domain, *ipc_password;
- struct ntuser_creds creds;
BOOL got_mutex;
BOOL add_failed_connection = True;
@@ -373,9 +372,6 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain,
goto done;
}
- init_creds(&creds, ipc_username, ipc_domain, ipc_password);
- cli_init_creds(*cli, &creds);
-
secrets_named_mutex_release(controller);
got_mutex = False;
*retry = False;