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

smbd: Allow a symlink as lcomp when asking for REPARSE_POINT

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2024-11-20 12:02:54 +01:00 committed by Ralph Boehme
parent 0d8b71f0b6
commit ed239d3f29

View File

@ -77,6 +77,10 @@ uint32_t filename_create_ucf_flags(struct smb_request *req,
break;
}
if (create_options & FILE_OPEN_REPARSE_POINT) {
ucf_flags |= UCF_LCOMP_LNK_OK;
}
return ucf_flags;
}