diff options
Diffstat (limited to 'source3/smbd/lanman.c')
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 7ba4b64477..a3687451d5 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -4572,7 +4572,7 @@ void api_reply(connection_struct *conn, uint16 vuid, if (api_commands[i].auth_user && lp_restrict_anonymous()) { user_struct *user = get_valid_user_struct(vuid); - if (!user || user->guest) { + if (!user || user->server_info->guest) { reply_nterror(req, NT_STATUS_ACCESS_DENIED); return; } |