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_pam_password_change bPamPasswordChange

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:52 +13:00
committed by Jeremy Allison
parent b2a3c3579c
commit 63afb62742
3 changed files with 3 additions and 3 deletions

View File

@ -201,7 +201,7 @@ FN_GLOBAL_BOOL(nt_pipe_support, nt_pipe_support)
FN_GLOBAL_BOOL(nt_status_support, nt_status_support)
FN_GLOBAL_BOOL(null_passwords, null_passwords)
FN_GLOBAL_BOOL(obey_pam_restrictions, obey_pam_restrictions)
FN_GLOBAL_BOOL(pam_password_change, bPamPasswordChange)
FN_GLOBAL_BOOL(pam_password_change, pam_password_change)
FN_GLOBAL_BOOL(passdb_expand_explicit, bPassdbExpandExplicit)
FN_GLOBAL_BOOL(passwd_chat_debug, bPasswdChatDebug)
FN_GLOBAL_BOOL(registry_shares, bRegistryShares)

View File

@ -602,7 +602,7 @@ static struct parm_struct parm_table[] = {
.label = "pam password change",
.type = P_BOOL,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(bPamPasswordChange),
.offset = GLOBAL_VAR(pam_password_change),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -866,7 +866,7 @@ static void init_globals(bool reinit_globals)
Globals.bTimeServer = false;
Globals.bind_interfaces_only = false;
Globals.bUnixPasswdSync = false;
Globals.bPamPasswordChange = false;
Globals.pam_password_change = false;
Globals.bPasswdChatDebug = false;
Globals.iPasswdChatTimeout = 2; /* 2 second default. */
Globals.nt_pipe_support = true; /* Do NT pipes by default. */