summaryrefslogtreecommitdiffstats
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index eaec5b639e..56c36e02ec 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -323,7 +323,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
if (conn->case_sensitive && !conn->case_preserve &&
!conn->short_case_preserve) {
- if (!strnorm(smb_fname->base_name, lp_defaultcase(SNUM(conn)))) {
+ if (!strnorm(smb_fname->base_name, lp_default_case(SNUM(conn)))) {
DEBUG(0, ("strnorm %s failed\n", smb_fname->base_name));
status = NT_STATUS_INVALID_PARAMETER;
goto err;
@@ -770,7 +770,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
conn->params) &&
!conn->short_case_preserve)) {
if (!strnorm(start,
- lp_defaultcase(SNUM(conn)))) {
+ lp_default_case(SNUM(conn)))) {
DEBUG(0, ("strnorm %s failed\n",
start));
status = NT_STATUS_INVALID_PARAMETER;