git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a39b2
)
s3: Use the correct guest_login field in auth_server
author
Volker Lendecke
<vl@samba.org>
Sun, 29 May 2011 08:58:46 +0000
(10:58 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 7 Jun 2011 18:01:52 +0000
(20:01 +0200)
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
)
source3/auth/auth_server.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_server.c
b/source3/auth/auth_server.c
index 94530ab143e49c0c7618debe9b58b6d93219b543..1dfa64682696caff43b1bcace64a05c028b99e19 100644
(file)
--- 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;
}