lib/param: Remove unused "paranoid server security"
authorAndrew Bartlett <abartlet@samba.org>
Fri, 27 Jul 2012 00:34:05 +0000 (10:34 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 27 Jul 2012 01:34:23 +0000 (03:34 +0200)
This became unused when security=server went away.

Andrew Bartlett

lib/param/loadparm.c
lib/param/param_functions.c
lib/param/param_table.c
source3/param/loadparm.c

index e9765521f8b4497f232fd8c9dabce61cc74eb890..1fce8b9dcfcf560dd5626c3a93884e1630d395f7 100644 (file)
@@ -2145,7 +2145,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
        lpcfg_do_global_parameter(lp_ctx, "client min protocol", "CORE");
        lpcfg_do_global_parameter(lp_ctx, "client max protocol", "NT1");
        lpcfg_do_global_parameter(lp_ctx, "security", "AUTO");
-       lpcfg_do_global_parameter(lp_ctx, "paranoid server security", "True");
        lpcfg_do_global_parameter(lp_ctx, "EncryptPasswords", "True");
        lpcfg_do_global_parameter(lp_ctx, "ReadRaw", "True");
        lpcfg_do_global_parameter(lp_ctx, "WriteRaw", "True");
index c1e50f4105fd6392bb7968a961dc1d117853dfb6..36e89f38f2034ea7162e00b1fdcfcceacea0b3f9 100644 (file)
@@ -205,7 +205,6 @@ FN_GLOBAL_BOOL(nt_status_support, bNTStatusSupport)
 FN_GLOBAL_BOOL(null_passwords, bNullPasswords)
 FN_GLOBAL_BOOL(obey_pam_restrictions, bObeyPamRestrictions)
 FN_GLOBAL_BOOL(pam_password_change, bPamPasswordChange)
-FN_GLOBAL_BOOL(paranoid_server_security, paranoid_server_security)
 FN_GLOBAL_BOOL(passdb_expand_explicit, bPassdbExpandExplicit)
 FN_GLOBAL_BOOL(passwd_chat_debug, bPasswdChatDebug)
 FN_GLOBAL_BOOL(registry_shares, bRegistryShares)
index 67c72ce724e782daf9037167f9e4d9c4a3821d85..7cbc15cb0be7ff4fefdf0089510e41b8db7f695b 100644 (file)
@@ -1852,15 +1852,6 @@ static struct parm_struct parm_table[] = {
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED | FLAG_SHARE,
        },
-       {
-               .label          = "paranoid server security",
-               .type           = P_BOOL,
-               .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(paranoid_server_security),
-               .special        = NULL,
-               .enum_list      = NULL,
-               .flags          = FLAG_ADVANCED,
-       },
        {
                .label          = "max disk size",
                .type           = P_BYTES,
index 990831b1cfb5536db207b1ed29f16ad7d1155cb2..4bfcbc24947e18630f6b4ec20a7e3d8167f6dd1e 100644 (file)
@@ -790,7 +790,6 @@ static void init_globals(bool reinit_globals)
        Globals.srv_maxprotocol = PROTOCOL_SMB2_10;
        Globals.srv_minprotocol = PROTOCOL_LANMAN1;
        Globals.security = SEC_USER;
-       Globals.paranoid_server_security = true;
        Globals.bEncryptPasswords = true;
        Globals.clientSchannel = Auto;
        Globals.serverSchannel = Auto;