Q re POSIX->NT->POSIX error mapping
Jeremy Allison
jra at samba.org
Mon Jan 25 19:15:55 MST 2010
On Sat, Jan 23, 2010 at 11:09:24AM +0100, Volker Lendecke wrote:
> On Fri, Jan 22, 2010 at 05:21:16PM -0500, Green, Paul wrote:
> > With our patch:
> >
> > { ENOSYS, ERRDOS, ERReasnotsupported,
> > NT_STATUS_EAS_NOT_SUPPORTED },
> >
> > we get ENOTSUPP sent to sftp, which is what we want and need.
>
> To me this looks wrong, this seems to be special-casing any
> ENOSYS into something ea-specific to essentially work around
> a Linux cifsfs bug.
Yes, this is wrong. The client needs to map NT_STATUS_NOT_SUPPORTED
to ENOSYS. Client bug (IMHO). Paul, can you raise this in the Samba
bugzilla to get the Linux CIFSFS client code fixed ?
Jeremy.
More information about the samba-technical
mailing list