[Samba] Re: python bindings api
Brett A. Funderburg
brettf at deepfile.com
Thu May 29 13:25:59 GMT 2003
On Thu, 2003-05-22 at 18:31, Tim Potter wrote:
> On Wed, May 21, 2003 at 05:48:11PM -0500, Brett A. Funderburg wrote:
>
> [...]
>
> > secdesc = cnn.query_secdesc(fnum)
> >
> > Which raises the error:
> >
> > prs_mem_get: reading data of size 2 would overrun buffer.
> > Failed to parse secdesc
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > RuntimeError: query_secdesc failed
>
> This looks like a problem in Samba's unmarshalling of security
> descriptors. I'd be interested in seeing a debug level 10 log of what
> is happening here. Add 'debug level = 10' to your smb.conf file to
> get this.
I'm happy to send this to you. Where will the output go?
>
>
> As an historical note, the python smb module is more of an experiment that
> anything particularly useful at the moment. I was initially using it to
> write some tests for a security descriptor project I was working on.
> I've only implemented the bare minimum number of calls required to get
> and set security descriptors on a file share.
>
What do you think it needs in order to be production quality? I might be
interested in lending a hand here.
brett
More information about the samba
mailing list