mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s3: Check for serverid_exists in smb_posix_unlink
Signed-off-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
4962ab2aa8
commit
5017bbe70d
@ -7595,6 +7595,9 @@ static NTSTATUS smb_posix_unlink(connection_struct *conn,
|
||||
if (e->flags & SHARE_MODE_FLAG_POSIX_OPEN) {
|
||||
continue;
|
||||
}
|
||||
if (share_mode_stale_pid(lck->data, i)) {
|
||||
continue;
|
||||
}
|
||||
/* Fail with sharing violation. */
|
||||
close_file(req, fsp, NORMAL_CLOSE);
|
||||
TALLOC_FREE(lck);
|
||||
|
Loading…
Reference in New Issue
Block a user