svn commit: samba r2984 - in branches/SAMBA_4_0/source/ntvfs/posix:
.
tridge at samba.org
tridge at samba.org
Fri Oct 15 05:40:14 GMT 2004
Author: tridge
Date: 2004-10-15 05:40:13 +0000 (Fri, 15 Oct 2004)
New Revision: 2984
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/posix&rev=2984&nolog=1
Log:
fixed the error code for a non-terminal component of a path name not existing
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/pvfs_resolve.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_resolve.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_resolve.c 2004-10-15 01:37:06 UTC (rev 2983)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_resolve.c 2004-10-15 05:40:13 UTC (rev 2984)
@@ -140,7 +140,7 @@
if (!de) {
if (i < num_components-1) {
closedir(dir);
- return NT_STATUS_OBJECT_NAME_NOT_FOUND;
+ return NT_STATUS_OBJECT_PATH_NOT_FOUND;
}
} else {
components[i] = talloc_strdup(name, de->d_name);
@@ -271,7 +271,6 @@
PVFS_RESOLVE_NO_WILDCARD = wildcards are considered illegal characters
PVFS_RESOLVE_STREAMS = stream names are allowed
- TODO: add reserved name checking (for things like LPT1)
TODO: ../ collapsing, and outside share checking
*/
NTSTATUS pvfs_resolve_name(struct pvfs_state *pvfs, TALLOC_CTX *mem_ctx,
More information about the samba-cvs
mailing list