summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8eca223)
Ensure we use UCF_UNIX_NAME_LOOKUP flags on filename_convert()
when doing a UNIX infolevel in trans2setfilepathinfo().
}
} else {
char *fname = NULL;
}
} else {
char *fname = NULL;
+ uint32_t ucf_flags = 0;
/* set path info */
if (total_params < 7) {
/* set path info */
if (total_params < 7) {
+ if (INFO_LEVEL_IS_UNIX(info_level)) {
+ ucf_flags |= UCF_UNIX_NAME_LOOKUP;
+ }
+
status = filename_convert(req, conn,
req->flags2 & FLAGS2_DFS_PATHNAMES,
fname,
status = filename_convert(req, conn,
req->flags2 & FLAGS2_DFS_PATHNAMES,
fname,
NULL,
&smb_fname);
if (!NT_STATUS_IS_OK(status)) {
NULL,
&smb_fname);
if (!NT_STATUS_IS_OK(status)) {