Python and Samba and LDAP and ntSecurityDescriptor

Jelmer Vernooij jelmer at
Wed Feb 25 02:31:42 MST 2009

On Wed, 2009-02-25 at 17:48 +1100, Andrew Bartlett wrote:
> On Mon, 2009-02-23 at 13:42 +0200, Zahari Zahariev wrote:
> > This is the unittest file that can verity my point. It tests in case that ndr_unpack() works fine and in case it exits with an error:
> This patch to pidl fixes it to continue further against Win2k3.  
> The problem is that security_descriptor contains relative pointers,
> which are incompatible with ndr_pull_struct_blob_all (which the
> ndr_unpack() routine calls)
> Now, we should fix PIDL to make them compatible, but in the meantime
> this patch adds a hack to PIDL to let you continue.
> Jelmer:  Is this hack too disgusting to live?
This seems ok, because it only adds the _all call in case of relative
pointer calls. +1


Jelmer Vernooij <jelmer at> -
Jabber: jelmer at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list