mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
s3: smbd: Now we properly open file handles for directory enumerations, we don't need this code in SMB1rmdir.
The share mode exclusion will prevent deletion of open directory enumeration handles. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
247515982f
commit
492b322237
@ -6505,7 +6505,6 @@ void reply_rmdir(struct smb_request *req)
|
||||
files_struct *fsp = NULL;
|
||||
int info = 0;
|
||||
uint32_t ucf_flags = ucf_flags_from_smb_request(req);
|
||||
struct smbd_server_connection *sconn = req->sconn;
|
||||
|
||||
START_PROFILE(SMBrmdir);
|
||||
|
||||
@ -6589,8 +6588,6 @@ void reply_rmdir(struct smb_request *req)
|
||||
reply_outbuf(req, 0, 0);
|
||||
}
|
||||
|
||||
dptr_closepath(sconn, smb_dname->base_name, req->smbpid);
|
||||
|
||||
DEBUG(3, ("rmdir %s\n", smb_fname_str_dbg(smb_dname)));
|
||||
out:
|
||||
TALLOC_FREE(smb_dname);
|
||||
|
Loading…
Reference in New Issue
Block a user