From ca2482073627994d6a8c0be6dcf6463aba889635 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 27 Jul 2012 10:34:05 +1000 Subject: lib/param: Remove unused "paranoid server security" This became unused when security=server went away. Andrew Bartlett --- lib/param/loadparm.c | 1 - lib/param/param_functions.c | 1 - lib/param/param_table.c | 9 --------- 3 files changed, 11 deletions(-) (limited to 'lib/param') 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 @@ -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, -- cgit