1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

param: Rename variable used for lp_force_dir_mode iDir_force_mode

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:20 +13:00 committed by Jeremy Allison
parent 3532d9a6ad
commit d7a83ffdc9
4 changed files with 4 additions and 4 deletions

View File

@ -2058,7 +2058,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lp_ctx->sDefault->create_mask = 0744;
lp_ctx->sDefault->force_create_mode = 0000;
lp_ctx->sDefault->dir_mask = 0755;
lp_ctx->sDefault->iDir_force_mode = 0000;
lp_ctx->sDefault->force_dir_mode = 0000;
DEBUG(3, ("Initialising global parameters\n"));

View File

@ -46,7 +46,7 @@ FN_LOCAL_INTEGER(csc_policy, csc_policy)
FN_LOCAL_INTEGER(create_mask, create_mask)
FN_LOCAL_INTEGER(force_create_mode, force_create_mode)
FN_LOCAL_INTEGER(dir_mask, dir_mask)
FN_LOCAL_INTEGER(force_dir_mode, iDir_force_mode)
FN_LOCAL_INTEGER(force_dir_mode, force_dir_mode)
FN_LOCAL_STRING(preexec, szPreExec)
FN_LOCAL_STRING(postexec, szPostExec)
FN_LOCAL_STRING(rootpreexec, szRootPreExec)

View File

@ -963,7 +963,7 @@ static struct parm_struct parm_table[] = {
.label = "force directory mode",
.type = P_OCTAL,
.p_class = P_LOCAL,
.offset = LOCAL_VAR(iDir_force_mode),
.offset = LOCAL_VAR(force_dir_mode),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_GLOBAL | FLAG_SHARE,

View File

@ -193,7 +193,7 @@ static struct loadparm_service sDefault =
.create_mask = 0744,
.force_create_mode = 0,
.dir_mask = 0755,
.iDir_force_mode = 0,
.force_dir_mode = 0,
.max_connections = 0,
.iDefaultCase = CASE_LOWER,
.iPrinting = DEFAULT_PRINTING,