r4905: patch from abartlet to remove storing the auth-user credentials from the cli...
authorGerald Carter <jerry@samba.org>
Fri, 21 Jan 2005 19:08:17 +0000 (19:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:07 +0000 (10:55 -0500)
source/nsswitch/winbindd_cm.c

index 90ecfe1891501967db5b6ef17efdee9a3e0ccffc..f5dcb69ce0846fe469936ad7b2c7d7767d79205f 100644 (file)
@@ -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;