diff options
author | Jeremy Allison <jra@samba.org> | 2007-02-02 22:02:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:41 -0500 |
commit | 685ca94ac24842fddf22e31edc39de40b0729248 (patch) | |
tree | de63d7f1b30acd2b4a89dfe32863dfe3521ba30d /source3/smbd/sesssetup.c | |
parent | 7074680bcf4484b91428fa39c733e95c3563524e (diff) | |
download | samba-685ca94ac24842fddf22e31edc39de40b0729248.tar.gz samba-685ca94ac24842fddf22e31edc39de40b0729248.tar.bz2 samba-685ca94ac24842fddf22e31edc39de40b0729248.zip |
r21128: Fix Vista connecting to Samba in share level security.
Vista sends the NTLMv2 blob by default in the tconX
packet. Make sure we save off the workgroup the user
was logged into on the client in the sessionsetupX
and re-use it for the NTLMv2 calc.
Jeremy.
(This used to be commit 45dcf62960c2815c4d8e0c5f4a2d0af24df83290)
Diffstat (limited to 'source3/smbd/sesssetup.c')
-rw-r--r-- | source3/smbd/sesssetup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 4d731f9c59..6c5e8f678f 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -1050,6 +1050,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf, map_username(sub_user); add_session_user(sub_user); + add_session_workgroup(domain); /* Then force it to null for the benfit of the code below */ *user = 0; } |