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

param: Rename variable used for lp_smb_passwd_file szSMBPasswdFile

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:04 +13:00
committed by Jeremy Allison
parent 0053af8f5d
commit bcea89bd59
3 changed files with 3 additions and 3 deletions

View File

@ -259,7 +259,7 @@ FN_GLOBAL_CONST_STRING(passwordserver, passwordserver)
FN_GLOBAL_CONST_STRING(piddir, piddir)
FN_GLOBAL_CONST_STRING(private_dir, private_dir)
FN_GLOBAL_CONST_STRING(realm, realm)
FN_GLOBAL_CONST_STRING(smb_passwd_file, szSMBPasswdFile)
FN_GLOBAL_CONST_STRING(smb_passwd_file, smb_passwd_file)
FN_GLOBAL_CONST_STRING(socket_options, socket_options)
FN_GLOBAL_CONST_STRING(template_homedir, szTemplateHomedir)
FN_GLOBAL_CONST_STRING(template_shell, szTemplateShell)

View File

@ -511,7 +511,7 @@ static struct parm_struct parm_table[] = {
.label = "smb passwd file",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(szSMBPasswdFile),
.offset = GLOBAL_VAR(smb_passwd_file),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -750,7 +750,7 @@ static void init_globals(bool reinit_globals)
/* Must manually force to upper case here, as this does not go via the handler */
string_set(&Globals.netbios_name, myhostname_upper());
string_set(&Globals.szSMBPasswdFile, get_dyn_SMB_PASSWD_FILE());
string_set(&Globals.smb_passwd_file, get_dyn_SMB_PASSWD_FILE());
string_set(&Globals.private_dir, get_dyn_PRIVATE_DIR());
/* use the new 'hash2' method by default, with a prefix of 1 */