mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3/smbd: Detect and fail attempt to set_ea_dos_attribute on link
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
221573de21
commit
6427753864
@ -418,6 +418,10 @@ NTSTATUS set_ea_dos_attribute(connection_struct *conn,
|
||||
return NT_STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
if (smb_fname->fsp == NULL) {
|
||||
/* symlink */
|
||||
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
}
|
||||
/*
|
||||
* Don't store FILE_ATTRIBUTE_OFFLINE, it's dealt with in
|
||||
* vfs_default via DMAPI if that is enabled.
|
||||
|
Loading…
Reference in New Issue
Block a user