diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-07 15:23:29 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-05-25 09:19:38 -0700 |
commit | 89cf7ea944b8947d5b64b5e2819936ea8af1e661 (patch) | |
tree | 776d42093ede63ce69303c483544a4bde2363349 | |
parent | bdc4404ef950e3cb4d026dd49a247b5ab8ecdbd4 (diff) | |
download | samba-89cf7ea944b8947d5b64b5e2819936ea8af1e661.tar.gz samba-89cf7ea944b8947d5b64b5e2819936ea8af1e661.tar.bz2 samba-89cf7ea944b8947d5b64b5e2819936ea8af1e661.zip |
s3: Check for serverid_exists in close_directory
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/smbd/close.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index e91e2199a8..4b7f694510 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -1090,6 +1090,9 @@ static NTSTATUS close_directory(struct smb_request *req, files_struct *fsp, if (fsp->posix_open && (e->flags & SHARE_MODE_FLAG_POSIX_OPEN)) { continue; } + if (share_mode_stale_pid(lck->data, i)) { + continue; + } delete_dir = False; break; } |