1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

param: Rename variable used for lp_enable_privileges bEnablePrivileges

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 fc47dfac2c
commit dd45b1c3d0
3 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ 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, enable_core_files)
FN_GLOBAL_BOOL(enable_privileges, bEnablePrivileges)
FN_GLOBAL_BOOL(enable_privileges, enable_privileges)
FN_GLOBAL_BOOL(encrypted_passwords, bEncryptPasswords)
FN_GLOBAL_BOOL(enhanced_browsing, enhanced_browsing)
FN_GLOBAL_BOOL(getwd_cache, getwd_cache)

View File

@ -592,7 +592,7 @@ static struct parm_struct parm_table[] = {
.label = "enable privileges",
.type = P_BOOL,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(bEnablePrivileges),
.offset = GLOBAL_VAR(enable_privileges),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_DEPRECATED,

View File

@ -1006,7 +1006,7 @@ static void init_globals(bool reinit_globals)
Globals.defer_sharing_violations = true;
Globals.smb_ports = (const char **)str_list_make_v3(NULL, SMB_PORTS, NULL);
Globals.bEnablePrivileges = true;
Globals.enable_privileges = true;
Globals.bHostMSDfs = true;
Globals.enable_asu_support = false;