summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-29 10:58:46 +0200
committerVolker Lendecke <vlendec@samba.org>2011-05-29 13:57:21 +0200
commit0969c3398e73e66c9e004740127da7c29e951050 (patch)
tree5112e93bbf65af6a9453caece0c7b31de6af9379
parent01386ff3132ff5c786e83fc24328a80661de6bb7 (diff)
downloadsamba-0969c3398e73e66c9e004740127da7c29e951050.tar.gz
samba-0969c3398e73e66c9e004740127da7c29e951050.tar.bz2
samba-0969c3398e73e66c9e004740127da7c29e951050.zip
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
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 7d1eccfdf9..d6538b6e10 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -417,7 +417,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;
}