1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-13 05:49:31 +03:00

param: Rename variable used for lp_host_msdfs bHostMSDfs

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:48 +13:00
committed by Jeremy Allison
parent 0b1d23dc46
commit abe89916bc
3 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ FN_GLOBAL_BOOL(enable_privileges, enable_privileges)
FN_GLOBAL_BOOL(encrypted_passwords, encrypted_passwords) FN_GLOBAL_BOOL(encrypted_passwords, encrypted_passwords)
FN_GLOBAL_BOOL(enhanced_browsing, enhanced_browsing) FN_GLOBAL_BOOL(enhanced_browsing, enhanced_browsing)
FN_GLOBAL_BOOL(getwd_cache, getwd_cache) FN_GLOBAL_BOOL(getwd_cache, getwd_cache)
FN_GLOBAL_BOOL(host_msdfs, bHostMSDfs) FN_GLOBAL_BOOL(host_msdfs, host_msdfs)
FN_GLOBAL_BOOL(hostname_lookups, bHostnameLookups) FN_GLOBAL_BOOL(hostname_lookups, bHostnameLookups)
FN_GLOBAL_BOOL(lanman_auth, bLanmanAuth) FN_GLOBAL_BOOL(lanman_auth, bLanmanAuth)
FN_GLOBAL_BOOL(large_readwrite, bLargeReadwrite) FN_GLOBAL_BOOL(large_readwrite, bLargeReadwrite)

View File

@ -3893,7 +3893,7 @@ static struct parm_struct parm_table[] = {
.label = "host msdfs", .label = "host msdfs",
.type = P_BOOL, .type = P_BOOL,
.p_class = P_GLOBAL, .p_class = P_GLOBAL,
.offset = GLOBAL_VAR(bHostMSDfs), .offset = GLOBAL_VAR(host_msdfs),
.special = NULL, .special = NULL,
.enum_list = NULL, .enum_list = NULL,
.flags = FLAG_ADVANCED, .flags = FLAG_ADVANCED,

View File

@ -1007,7 +1007,7 @@ static void init_globals(bool reinit_globals)
Globals.smb_ports = (const char **)str_list_make_v3(NULL, SMB_PORTS, NULL); Globals.smb_ports = (const char **)str_list_make_v3(NULL, SMB_PORTS, NULL);
Globals.enable_privileges = true; Globals.enable_privileges = true;
Globals.bHostMSDfs = true; Globals.host_msdfs = true;
Globals.enable_asu_support = false; Globals.enable_asu_support = false;
/* User defined shares. */ /* User defined shares. */