From 0969c3398e73e66c9e004740127da7c29e951050 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 29 May 2011 10:58:46 +0200 Subject: [PATCH] s3: Use the correct guest_login field in auth_server Autobuild-User: Volker Lendecke Autobuild-Date: Sun May 29 13:57:21 CEST 2011 on sn-devel-104 --- source3/auth/auth_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index 7d1eccfdf9b..d6538b6e10d 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; } -- 2.11.4.GIT