[PATCH] Setting nTSecurityDescriptor via LDAP fails
Stefan (metze) Metzmacher
metze at samba.org
Fri Mar 20 11:42:19 GMT 2009
Hi Jelmer,
why does PyObject_AsMessageElement() copy the string for one case but
not for the multiple value case.
Also why doesn't it use a->syntax->ldif_read_fn() as
PyObject_FromLdbValue() also uses a->syntax->ldif_write_fn().
I wonder why we only handle ldif correctly in samba.Ldb and not in
the LDB.Ldb class.
metze
> I am sending again the patch for nTSecurityDescriptor bug with LDAP
> (null character '\0' issue in the middle of object property value).
>
> Hope it is OK now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090320/29c8cb37/signature.bin
More information about the samba-technical
mailing list