Patch: Convert SMB_VFS_REALPATH to returning an NTSTATUS
realrichardsharpe at gmail.com
Tue Apr 7 18:27:05 MDT 2015
Attached is a patch for discussion.
On several occasions now I have wanted to return
NT_STATUS_PATH_NOT_COVERED from VFS functions like SMB_VFS_REALPATH
and SMB_VFS_STAT because these are called really early in the
processing of requests to do with file.
The alternative is to do something like:
#define EPATHNOTCOVERED 1000
and then add a mapping to the error mapping functions, which is fuggly.
This seems like a better approach.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19966 bytes
Desc: not available
More information about the samba-technical