diff options
author | Volker Lendecke <vl@samba.org> | 2011-05-29 10:58:46 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-06-07 20:01:52 +0200 |
commit | c6fa268956d0144cfcfcb0b8eafba48376940892 (patch) | |
tree | 65055413675601fb6e8187f58901ff7722c3368a /source3 | |
parent | 04a39b2d2a23bdbe78d2f2b71598165955e82b0a (diff) | |
download | samba-c6fa268956d0144cfcfcb0b8eafba48376940892.tar.gz |
s3: Use the correct guest_login field in auth_server
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun May 29 13:57:21 CEST 2011 on sn-devel-104
(cherry picked from commit 0969c3398e73e66c9e004740127da7c29e951050)
The last 3 patches address bug #8185 (security=server does not obey guest login
field).
(cherry picked from commit 91447e8b49e27b9e2d76cf8f99efdc1faca49fc4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index 94530ab143e..1dfa6468269 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -427,7 +427,7 @@ use this machine as the password server.\n")); } /* if logged in as guest then reject */ - if ((SVAL(cli->inbuf,smb_vwv2) & 1) != 0) { + if (cli->is_guestlogin) { DEBUG(1,("password server %s gave us guest only\n", cli->desthost)); nt_status = NT_STATUS_LOGON_FAILURE; } |