summaryrefslogtreecommitdiff
path: root/source3/smbd/signing.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/signing.c')
-rw-r--r--source3/smbd/signing.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/smbd/signing.c b/source3/smbd/signing.c
index 9d2e022133..8e4c50fbee 100644
--- a/source3/smbd/signing.c
+++ b/source3/smbd/signing.c
@@ -161,12 +161,13 @@ bool srv_init_signing(struct smbd_server_connection *conn)
bool mandatory = false;
switch (lp_server_signing()) {
- case Required:
+ case SMB_SIGNING_REQUIRED:
mandatory = true;
break;
- case True:
+ case SMB_SIGNING_IF_REQUIRED:
break;
- case False:
+ case SMB_SIGNING_DEFAULT:
+ case SMB_SIGNING_OFF:
allowed = false;
break;
}