summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-12-16 15:48:47 -0800
committerJeremy Allison <jra@samba.org>2011-12-17 02:44:55 +0100
commitb939144071a874f043ca32d4a80044da1d94f2dd (patch)
treed329cdc489f9342a2a2936a350dabce70524e730 /source3/smbd
parent1dfa3ee986820154f0908093a0e82ee8e6d84414 (diff)
downloadsamba-b939144071a874f043ca32d4a80044da1d94f2dd.tar.gz
samba-b939144071a874f043ca32d4a80044da1d94f2dd.tar.bz2
samba-b939144071a874f043ca32d4a80044da1d94f2dd.zip
check_name() not needed in mkdir.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 17 02:44:55 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 19a13cde60..fd99994ca7 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2559,11 +2559,6 @@ static NTSTATUS mkdir_internal(connection_struct *conn,
return NT_STATUS_ACCESS_DENIED;
}
- status = check_name(conn, smb_dname->base_name);
- if (!NT_STATUS_IS_OK(status)) {
- return status;
- }
-
if (!parent_dirname(talloc_tos(), smb_dname->base_name, &parent_dir,
NULL)) {
return NT_STATUS_NO_MEMORY;