Sometimes I want to return an NTSTATUS from VFS functions that do not return an NTSTATUS ...

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Aug 7 10:58:10 MDT 2013


On Wed, Aug 07, 2013 at 06:24:18AM -0700, Richard Sharpe wrote:
> On Tue, Aug 6, 2013 at 11:41 PM, Volker Lendecke
> <Volker.Lendecke at sernet.de> wrote:
> > On Tue, Aug 06, 2013 at 06:31:52PM -0700, Richard Sharpe wrote:
> >> Hi folks,
> >>
> >> It sure would be nice if all of the VFS functions returned an NTSTATUS.
> >
> > What is your current case? Initially, the VFS was designed
> > around the posix style syscall interface. It has certainly
> > grown way beyond this.
> 
> I wanted to return NT_STATUS_PATH_NOT_COVERED from SMB_VFS_MKDIR ...

Ok, I think I need to understand the use case from an a bit
higher level. You want to DFS-redirect clients to other
servers when creating subdirectories?

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list