summaryrefslogtreecommitdiff
path: root/source3/autogen.sh
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-03 01:35:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:23 -0500
commit10ab7a3a78b5b4d38f93f13f5b91b5eea5308e86 (patch)
tree27a0f601d022b7fef497914dd0333ef174795f08 /source3/autogen.sh
parent9b0f22d065b80d8cc0d4d2c9c1f52476ae68df95 (diff)
downloadsamba-10ab7a3a78b5b4d38f93f13f5b91b5eea5308e86.tar.gz
samba-10ab7a3a78b5b4d38f93f13f5b91b5eea5308e86.tar.bz2
samba-10ab7a3a78b5b4d38f93f13f5b91b5eea5308e86.zip
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. (This used to be commit b8327b21ddf518d34c6cd6c01bd7fc0fd3f63c0c)
Diffstat (limited to 'source3/autogen.sh')
0 files changed, 0 insertions, 0 deletions