1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

param: Rename variable used for lp_enable_core_files bEnableCoreFiles

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andrew Bartlett
2013-12-24 16:03:47 +13:00
committed by Jeremy Allison
parent 673d12d61a
commit fc47dfac2c
3 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ FN_GLOBAL_BOOL(disable_netbios, disable_netbios)
FN_GLOBAL_BOOL(_disable_spoolss, _disable_spoolss)
FN_GLOBAL_BOOL(_domain_logons, _domain_logons)
FN_GLOBAL_BOOL(enable_asu_support, enable_asu_support)
FN_GLOBAL_BOOL(enable_core_files, bEnableCoreFiles)
FN_GLOBAL_BOOL(enable_core_files, enable_core_files)
FN_GLOBAL_BOOL(enable_privileges, bEnablePrivileges)
FN_GLOBAL_BOOL(encrypted_passwords, bEncryptPasswords)
FN_GLOBAL_BOOL(enhanced_browsing, enhanced_browsing)

View File

@ -1256,7 +1256,7 @@ static struct parm_struct parm_table[] = {
.label = "enable core files",
.type = P_BOOL,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(bEnableCoreFiles),
.offset = GLOBAL_VAR(enable_core_files),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -848,7 +848,7 @@ static void init_globals(bool reinit_globals)
Globals.debug_pid = false;
Globals.debug_uid = false;
Globals.debug_class = false;
Globals.bEnableCoreFiles = true;
Globals.enable_core_files = true;
Globals.max_ttl = 60 * 60 * 24 * 3; /* 3 days default. */
Globals.max_wins_ttl = 60 * 60 * 24 * 6; /* 6 days default. */
Globals.min_wins_ttl = 60 * 60 * 6; /* 6 hours default. */