mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
param: rename lp function and variable from "preservecase" to "preserve_case"
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
debda15785
commit
fb8c6f8ef4
@ -84,7 +84,7 @@ FN_LOCAL_BOOL(autoloaded, autoloaded)
|
||||
FN_LOCAL_BOOL(preexec_close, preexec_close)
|
||||
FN_LOCAL_BOOL(rootpreexec_close, rootpreexec_close)
|
||||
FN_LOCAL_INTEGER(case_sensitive, case_sensitive)
|
||||
FN_LOCAL_BOOL(preservecase, preservecase)
|
||||
FN_LOCAL_BOOL(preserve_case, preserve_case)
|
||||
FN_LOCAL_BOOL(shortpreservecase, shortpreservecase)
|
||||
FN_LOCAL_BOOL(hide_dot_files, hide_dot_files)
|
||||
FN_LOCAL_BOOL(hide_special_files, hide_special_files)
|
||||
|
@ -2397,7 +2397,7 @@ static struct parm_struct parm_table[] = {
|
||||
.label = "preserve case",
|
||||
.type = P_BOOL,
|
||||
.p_class = P_LOCAL,
|
||||
.offset = LOCAL_VAR(preservecase),
|
||||
.offset = LOCAL_VAR(preserve_case),
|
||||
.special = NULL,
|
||||
.enum_list = NULL,
|
||||
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
|
||||
|
@ -204,7 +204,7 @@ static struct loadparm_service sDefault =
|
||||
.preexec_close = false,
|
||||
.rootpreexec_close = false,
|
||||
.case_sensitive = Auto,
|
||||
.preservecase = true,
|
||||
.preserve_case = true,
|
||||
.shortpreservecase = true,
|
||||
.hide_dot_files = true,
|
||||
.hide_special_files = false,
|
||||
|
@ -570,7 +570,7 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn,
|
||||
conn->case_sensitive = (bool)lp_case_sensitive(snum);
|
||||
}
|
||||
|
||||
conn->case_preserve = lp_preservecase(snum);
|
||||
conn->case_preserve = lp_preserve_case(snum);
|
||||
conn->short_case_preserve = lp_shortpreservecase(snum);
|
||||
|
||||
conn->encrypt_level = lp_smb_encrypt(snum);
|
||||
|
Loading…
x
Reference in New Issue
Block a user