From 4d819389f2d8a40ce928d7211ec1d0054037acad Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 2 Nov 2011 18:13:45 +0100 Subject: [PATCH] lib/param: use SMB_SIGNING_IF_REQUIRED instead of SMB_SIGNING_SUPPORTED metze --- lib/param/loadparm.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 060c4fb4a8cc..e8993a2bd268 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -148,12 +148,13 @@ static const struct enum_list enum_smb_signing_vals[] = { {SMB_SIGNING_OFF, "0"}, {SMB_SIGNING_OFF, "Off"}, {SMB_SIGNING_OFF, "disabled"}, - {SMB_SIGNING_SUPPORTED, "Yes"}, - {SMB_SIGNING_SUPPORTED, "True"}, - {SMB_SIGNING_SUPPORTED, "1"}, - {SMB_SIGNING_SUPPORTED, "On"}, - {SMB_SIGNING_SUPPORTED, "enabled"}, - {SMB_SIGNING_SUPPORTED, "auto"}, + {SMB_SIGNING_IF_REQUIRED, "if_required"}, + {SMB_SIGNING_IF_REQUIRED, "Yes"}, + {SMB_SIGNING_IF_REQUIRED, "True"}, + {SMB_SIGNING_IF_REQUIRED, "1"}, + {SMB_SIGNING_IF_REQUIRED, "On"}, + {SMB_SIGNING_IF_REQUIRED, "enabled"}, + {SMB_SIGNING_IF_REQUIRED, "auto"}, {SMB_SIGNING_REQUIRED, "required"}, {SMB_SIGNING_REQUIRED, "mandatory"}, {SMB_SIGNING_REQUIRED, "force"}, -- 2.34.1