diff options
-rw-r--r-- | source4/smb_server/sesssetup.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/smb_server/sesssetup.c b/source4/smb_server/sesssetup.c index 3e332cfbb9..cb0b3a6c5c 100644 --- a/source4/smb_server/sesssetup.c +++ b/source4/smb_server/sesssetup.c @@ -136,7 +136,10 @@ static NTSTATUS sesssetup_nt1(struct smbsrv_request *req, union smb_sesssetup *s &sess->nt1.out.domain); req->session = smbsrv_session_find(req->smb_conn, sess->nt1.out.vuid); - srv_setup_signing(req->smb_conn, &session_info->session_key, &sess->nt1.in.password2); + if (!session_info->server_info->guest) { + srv_setup_signing(req->smb_conn, &session_info->session_key, &sess->nt1.in.password2); + } + return NT_STATUS_OK; } |