1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

param: Rename variable used for lp_mangling_method szManglingMethod

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:04:31 +13:00 committed by Jeremy Allison
parent ef3bfd73ed
commit 3ad53d580a
3 changed files with 4 additions and 4 deletions

View File

@ -392,7 +392,7 @@ FN_GLOBAL_STRING(ldap_admin_dn, ldap_admin_dn)
FN_GLOBAL_STRING(ldap_suffix, ldap_suffix)
FN_GLOBAL_STRING(logfile, logfile)
FN_GLOBAL_STRING(log_nt_token_command, log_nt_token_command)
FN_GLOBAL_STRING(mangling_method, szManglingMethod)
FN_GLOBAL_STRING(mangling_method, mangling_method)
FN_GLOBAL_STRING(msg_command, szMsgCommand)
FN_GLOBAL_STRING(nis_home_map_name, szNISHomeMapName)
FN_GLOBAL_STRING(os2_driver_map, szOs2DriverMap)

View File

@ -2351,7 +2351,7 @@ static struct parm_struct parm_table[] = {
.label = "mangling method",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(szManglingMethod),
.offset = GLOBAL_VAR(mangling_method),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -754,7 +754,7 @@ static void init_globals(bool reinit_globals)
string_set(&Globals.private_dir, get_dyn_PRIVATE_DIR());
/* use the new 'hash2' method by default, with a prefix of 1 */
string_set(&Globals.szManglingMethod, "hash2");
string_set(&Globals.mangling_method, "hash2");
Globals.mangle_prefix = 1;
string_set(&Globals.guestaccount, GUEST_ACCOUNT);
@ -5391,7 +5391,7 @@ void set_store_dos_attributes(int snum, bool val)
void lp_set_mangling_method(const char *new_method)
{
string_set(&Globals.szManglingMethod, new_method);
string_set(&Globals.mangling_method, new_method);
}
/*******************************************************************