summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2005-07-13 20:04:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:05 -0500
commite7c48884a5c7e1f88ce2decf7d12db338ff8995e (patch)
tree8deeb4bc9738a205aedf0f3d45c180727ae6cf00 /source3/auth
parent07e58e05424e224592e70c01ae93b1716fd1a7a6 (diff)
downloadsamba-e7c48884a5c7e1f88ce2decf7d12db338ff8995e.tar.gz
samba-e7c48884a5c7e1f88ce2decf7d12db338ff8995e.tar.bz2
samba-e7c48884a5c7e1f88ce2decf7d12db338ff8995e.zip
r8432: Fix #2077 - login to trusted domain doesn't allow home drive map and login
scripts to be executed. We were filling in our name as the server which processed the login, even when it was done by a trusted DC. Thanks to John Janosik <jpjanosi@us.ibm.com> for the fix. (This used to be commit 0446319a3b8096df385978449ffaa231bc5cfd0c)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 49df15533a..6624631b53 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1327,6 +1327,9 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx,
return nt_status;
}
+ (*server_info)->login_server = unistr2_tdup(mem_ctx,
+ &(info3->uni_logon_srv));
+
(*server_info)->ptok = token;
SAFE_FREE(lgroupSIDs);