diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-27 16:06:31 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-08-03 18:48:05 +1000 |
commit | b0dd2cde86ebd1df2189ea6ff6f33fb3c247adbd (patch) | |
tree | 676914ddee731c212921373f10ad302cd0c94688 | |
parent | 41ee4e8bcc8edb0048f5e11b741f17c7733a469f (diff) | |
download | samba-b0dd2cde86ebd1df2189ea6ff6f33fb3c247adbd.tar.gz samba-b0dd2cde86ebd1df2189ea6ff6f33fb3c247adbd.tar.bz2 samba-b0dd2cde86ebd1df2189ea6ff6f33fb3c247adbd.zip |
s3-smbd Be consistent with %U subs on guest logins
The NTLMSSP code always specified "" as the username, and this makes
guest logins via the old-style session setup do the same.
Andrew Bartlett
-rw-r--r-- | source3/smbd/sesssetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 020c62cad8..a3440a62f6 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -1550,7 +1550,7 @@ void reply_sesssetup_and_X(struct smb_request *req) } fstrcpy(sub_user, user); } else { - fstrcpy(sub_user, lp_guestaccount()); + fstrcpy(sub_user, ""); } sub_set_smb_name(sub_user); |