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:
parent
a702fca94b
commit
418fc85819
@ -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)
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user