Do a VFS_CONNECT in pysmbd

Andrew Bartlett abartlet at samba.org
Fri Dec 14 15:49:23 MST 2012


On Fri, 2012-12-14 at 14:13 +0100, Volker Lendecke wrote:
> On Fri, Dec 14, 2012 at 10:48:39PM +1100, Andrew Bartlett wrote:
> > I've updated my branch, trying to make at least some progress here.
> > 
> > The updated branch tries a VFS connect when the share is specified by
> > the python caller.  So far this is done for the sysvol case, and so we
> > remove the warnings that were issued during provision under 'make
> > test'. 
> > 
> > If we change the code (as the old branch does) to accept a VFS connect
> > on [globals] then we can always do a VFS connect, but for now it
> > continues to fake up the connection in the default (unspecified) case.
> > 
> > https://git.samba.org/abartlet/samba.git/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/vfs-connect-3
> > 
> > Volker,
> > 
> > I know you have some strong feelings on this.  Is this incremental
> > progress helpful?
> 
> Yes, thanks a lot. This is definitely a step in the
> direction I had in mind.

Thank you very much.

>From here, my plan is to improve the python interface (move to making
the service argument a named argument), and add an optional --service
argument to the 'samba-tool ntacl get/set' commands.  

I'll be back to the list when I have some more work done here.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list