1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

param: rename lp function and variable from 'wtmpdir' to 'wtmp_directory'

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Garming Sam 2014-02-03 16:03:35 +13:00 committed by Jeremy Allison
parent a702fca94b
commit 418fc85819
3 changed files with 3 additions and 3 deletions

View File

@ -269,7 +269,7 @@ FN_GLOBAL_CONST_STRING(winbindd_privileged_socket_directory, winbindd_privileged
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_CONST_STRING(wtmp_directory, wtmp_directory)
FN_GLOBAL_INTEGER(afs_token_lifetime, afs_token_lifetime)
FN_GLOBAL_INTEGER(algorithmic_rid_base, algorithmic_rid_base)
FN_GLOBAL_INTEGER(allow_dns_updates, allow_dns_updates)

View File

@ -3363,7 +3363,7 @@ static struct parm_struct parm_table[] = {
.label = "wtmp directory",
.type = P_STRING,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(wtmpdir),
.offset = GLOBAL_VAR(wtmp_directory),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -218,7 +218,7 @@ static char *uw_pathname(TALLOC_CTX *ctx,
/* For w-files, first look for explicit "wtmp dir" */
if (uw_name[0] == 'w') {
dirname = talloc_strdup(ctx, lp_wtmpdir());
dirname = talloc_strdup(ctx, lp_wtmp_directory());
if (!dirname) {
return NULL;
}