[PATCH] Basic Ldb unittests involving nTSecurityDescriptor

Zahari Zahariev zahari.zahariev at postpath.com
Thu Aug 13 06:07:51 MDT 2009

Hello Samba4,

These are some unittest that prove whether ldb.modify_ldif() or 
ldb.add_ldif() works correctly with nTSecurityDescriptor attributes.

After Andrew's fix a week ago almost everything works fine. The problem 
I found while preparing these tests is where you have a descriptor like 
"O:DUG:DUD:PAI(A;;RPWP;;;AU)S:PAI" and you want to pass it in BASE64 
format in a ldif either to ldb.modify_ldif() or db.add_ldif() -- the 
result is that nTSecurityDescriptor attribute disappears.

Tests are prepared against Windows 2003 AD Server.



More information about the samba-technical mailing list