mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smbd: Indicate posix pathnames if SMB311 POSX cc requested
Avoid making smb311 posix extensions a global thing. Posix clients could request non-posix behaviour on individual create calls. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Apr 4 07:04:13 UTC 2023 on atb-devel-224
This commit is contained in:
parent
4b1d205138
commit
38d2ca0a67
@ -747,7 +747,7 @@ static NTSTATUS smbd_smb2_create_fetch_create_ctx(
|
||||
* ucf_flags_from_smb_request() to
|
||||
* return UCF_POSIX_PATHNAMES in ucf_flags.
|
||||
*/
|
||||
state->smb1req->posix_pathnames = true;
|
||||
state->smb1req->posix_pathnames = (state->posx != NULL);
|
||||
}
|
||||
|
||||
return NT_STATUS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user