summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-27 10:34:05 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-27 03:34:23 +0200
commitca2482073627994d6a8c0be6dcf6463aba889635 (patch)
tree9519235479dad2fe21d46296e60f48ea7f0939a5
parentecb89cebd63ed1dcf4815a45b2a26c643c939ecb (diff)
downloadsamba-ca2482073627994d6a8c0be6dcf6463aba889635.tar.gz
samba-ca2482073627994d6a8c0be6dcf6463aba889635.tar.bz2
samba-ca2482073627994d6a8c0be6dcf6463aba889635.zip
lib/param: Remove unused "paranoid server security"
This became unused when security=server went away. Andrew Bartlett
-rw-r--r--lib/param/loadparm.c1
-rw-r--r--lib/param/param_functions.c1
-rw-r--r--lib/param/param_table.c9
-rw-r--r--source3/param/loadparm.c1
4 files changed, 0 insertions, 12 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index e9765521f8..1fce8b9dcf 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -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");
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index c1e50f4105..36e89f38f2 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -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)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 67c72ce724..7cbc15cb0b 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1853,15 +1853,6 @@ static struct parm_struct parm_table[] = {
.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,
.p_class = P_GLOBAL,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 990831b1cf..4bfcbc2494 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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;