s3: Convert a few callers of unix_convert() over to filename_convert()
[samba.git] / source3 / smbd / msdfs.c
index f4376d49ced83d23dbd4e20a3d39ca6befdbfc93..22fb8c3ad69a6f0437e77d5d66aa49d97e3763c0 100644 (file)
@@ -544,7 +544,7 @@ static NTSTATUS dfs_path_lookup(TALLOC_CTX *ctx,
         */
 
        status = unix_convert(ctx, conn, pdp->reqpath, &smb_fname,
-                             search_flag ? UCF_ALLOW_WCARD_LCOMP : 0);
+                             search_flag ? UCF_ALWAYS_ALLOW_WCARD_LCOMP : 0);
 
        if (!NT_STATUS_IS_OK(status)) {
                if (!NT_STATUS_EQUAL(status,