r21672: The cannonical file access pattern should look like this :
authorJeremy Allison <jra@samba.org>
Sat, 3 Mar 2007 01:35:58 +0000 (01:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:23 +0000 (12:18 -0500)
commitb8327b21ddf518d34c6cd6c01bd7fc0fd3f63c0c
treeb2cf7bef482e10a21bda8e4f88e032b17d27a1a8
parent8a90d5dd4f396e5ba207efabc6d852fe4b418310
r21672: The cannonical file access pattern should look like this :

srvstr_get_path(inbuf, name, smb_buf(inbuf) + 1, sizeof(name), 0, STR_TERMINATE, &status);
if (!NT_STATUS_IS_OK(status)) {
return ERROR_NT(status);
}

RESOLVE_DFSPATH(name, conn, inbuf, outbuf);

status = unix_convert(conn, name, False, NULL, &sbuf);
if (!NT_STATUS_IS_OK(status)) {
return ERROR_NT(status);
}

status = check_name(conn, name);
if (!NT_STATUS_IS_OK(status)) {
return ERROR_NT(status);
}

Make sure that every access pattern (including the
wildcard generated paths from unlink, rename, and copy)
do the same. Tidy things up a bit....

Jeremy.
source/printing/nt_printing.c
source/smbd/nttrans.c
source/smbd/reply.c
source/smbd/trans2.c