1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

We don't need check_name() here. All possible paths to dptr_create()

have already called check_name.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Aug  3 03:00:55 CEST 2011 on sn-devel-104
This commit is contained in:
Jeremy Allison 2011-08-02 16:25:22 -07:00
parent 5068a0d14d
commit 785c65e875

View File

@ -447,10 +447,6 @@ NTSTATUS dptr_create(connection_struct *conn, files_struct *fsp,
if (fsp) {
dir_hnd = OpenDir_fsp(NULL, conn, fsp, wcard, attr);
} else {
status = check_name(conn,path);
if (!NT_STATUS_IS_OK(status)) {
return status;
}
dir_hnd = OpenDir(NULL, conn, path, wcard, attr);
}