summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-22 21:04:51 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-22 22:30:22 +0200
commit1bb6e6758cffea967b6b8299553653cf4192f2e9 (patch)
treefbd746c0377f6066e28204a3d233c2e3ad8c8253 /source3/smbd
parent16fd935fc659555c203354b6c96fc23a55be5a3b (diff)
downloadsamba-1bb6e6758cffea967b6b8299553653cf4192f2e9.tar.gz
samba-1bb6e6758cffea967b6b8299553653cf4192f2e9.tar.bz2
samba-1bb6e6758cffea967b6b8299553653cf4192f2e9.zip
s3:smb2_server: fix a logic error, we should sign non guest sessions
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c
index c81baa53dc..95badaf136 100644
--- a/source3/smbd/smb2_sesssetup.c
+++ b/source3/smbd/smb2_sesssetup.c
@@ -269,7 +269,7 @@ static NTSTATUS smbd_smb2_session_setup_krb5(struct smbd_smb2_session *session,
* so that the response can be signed
*/
smb2req->session = session;
- if (guest) {
+ if (!guest) {
smb2req->do_signing = true;
}