summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 27cd8b2f26..34630c48a4 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -325,7 +325,7 @@ FN_GLOBAL_INTEGER(nbt_port, nbt_port)
FN_GLOBAL_INTEGER(open_files_db_hash_size, open_files_db_hash_size)
FN_GLOBAL_INTEGER(oplock_break_wait_time, oplock_break_wait_time)
FN_GLOBAL_INTEGER(os_level, os_level)
-FN_GLOBAL_INTEGER(passwd_chat_timeout, iPasswdChatTimeout)
+FN_GLOBAL_INTEGER(passwd_chat_timeout, passwd_chat_timeout)
FN_GLOBAL_INTEGER(printcap_cache_time, PrintcapCacheTime)
FN_GLOBAL_INTEGER(restrict_anonymous, restrict_anonymous)
FN_GLOBAL_INTEGER(_security, security)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index de33916b3c..e4fa567212 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -638,7 +638,7 @@ static struct parm_struct parm_table[] = {
.label = "passwd chat timeout",
.type = P_INTEGER,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(iPasswdChatTimeout),
+ .offset = GLOBAL_VAR(passwd_chat_timeout),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 9890dd68eb..d5e7ae7825 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -868,7 +868,7 @@ static void init_globals(bool reinit_globals)
Globals.unix_password_sync = false;
Globals.pam_password_change = false;
Globals.passwd_chat_debug = false;
- Globals.iPasswdChatTimeout = 2; /* 2 second default. */
+ Globals.passwd_chat_timeout = 2; /* 2 second default. */
Globals.nt_pipe_support = true; /* Do NT pipes by default. */
Globals.nt_status_support = true; /* Use NT status by default. */
Globals.stat_cache = true; /* use stat cache by default */