From e5d4e8df6b8186b71aa72dd7817f5579b44fee2f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 17 Aug 2012 09:40:52 +0200 Subject: s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* values metze --- source3/smbd/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/process.c') diff --git a/source3/smbd/process.c b/source3/smbd/process.c index dd26a27ec3..f412f7b4cf 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -1492,7 +1492,7 @@ static connection_struct *switch_message(uint8 type, struct smb_request *req) if (req->encrypted) { conn->encrypted_tid = true; /* encrypted required from now on. */ - conn->encrypt_level = Required; + conn->encrypt_level = SMB_SIGNING_REQUIRED; } else if (ENCRYPTION_REQUIRED(conn)) { if (req->cmd != SMBtrans2 && req->cmd != SMBtranss2) { exit_server_cleanly("encryption required " -- cgit