summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-17 23:57:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:13 -0500
commit3403fc2d4966e7b2e29ec45ecdc53332302427e4 (patch)
tree766b53a4787f22c40c03de12ee41d374746e78cb
parentac456c7440e278abc5400c9a304d5fb5f19d5448 (diff)
downloadsamba-3403fc2d4966e7b2e29ec45ecdc53332302427e4.tar.gz
samba-3403fc2d4966e7b2e29ec45ecdc53332302427e4.tar.bz2
samba-3403fc2d4966e7b2e29ec45ecdc53332302427e4.zip
r13552: Make sure we're using the same name to load the stored
creds under all circumstances. This may be wrong, but at least we're now consistent. Jeremy. (This used to be commit 09f0b3e1a366ba3eef4ab9a8e302daabd4f36936)
-rw-r--r--source3/rpc_server/srv_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 716654103a..23419d5c55 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -1293,7 +1293,7 @@ static BOOL pipe_schannel_auth_bind(pipes_struct *p, prs_struct *rpc_in_p,
}
become_root();
- ret = secrets_restore_schannel_session_info(p->mem_ctx, neg.myname, &pdcinfo);
+ ret = secrets_restore_schannel_session_info(p->mem_ctx, get_remote_machine_name(), &pdcinfo);
unbecome_root();
if (!ret) {