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 8b5aca9037..7b4170abef 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -270,7 +270,7 @@ FN_GLOBAL_CONST_STRING(winbindd_socket_directory, winbindd_socket_directory)
FN_GLOBAL_CONST_STRING(winbind_separator, winbind_separator)
FN_GLOBAL_CONST_STRING(workgroup, workgroup)
FN_GLOBAL_CONST_STRING(wtmpdir, wtmpdir)
-FN_GLOBAL_INTEGER(afs_token_lifetime, iAfsTokenLifetime)
+FN_GLOBAL_INTEGER(afs_token_lifetime, afs_token_lifetime)
FN_GLOBAL_INTEGER(algorithmic_rid_base, AlgorithmicRidBase)
FN_GLOBAL_INTEGER(allow_dns_updates, allow_dns_updates)
FN_GLOBAL_INTEGER(cldap_port, cldap_port)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index a67e70923b..41f8e3a819 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3508,7 +3508,7 @@ static struct parm_struct parm_table[] = {
.label = "afs token lifetime",
.type = P_INTEGER,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(iAfsTokenLifetime),
+ .offset = GLOBAL_VAR(afs_token_lifetime),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index ea0afff277..1f85e26bdc 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -926,7 +926,7 @@ static void init_globals(bool reinit_globals)
/* This is what we tell the afs client. in reality we set the token
* to never expire, though, when this runs out the afs client will
* forget the token. Set to 0 to get NEVERDATE.*/
- Globals.iAfsTokenLifetime = 604800;
+ Globals.afs_token_lifetime = 604800;
Globals.cups_connection_timeout = CUPS_DEFAULT_CONNECTION_TIMEOUT;
/* these parameters are set to defaults that are more appropriate