search for: ldb_control_provision_oid

Displaying 1 result from an estimated 1 matches for "ldb_control_provision_oid".

2014 Feb 04
1
How to change objectSid?
Hi, I'm trying to modify the objectSid of a group using python-ldap. I've found that I need a server control to do it but doesn't work. The code that I'm using: modlist = [ (ldap.MOD_REPLACE, 'objectSid', s3sid_packed) ] LDB_CONTROL_PROVISION_OID = "1.3.6.1.4.1.7165.4.3.16" LDB_CONTROL_RELAX_OID = "1.3.6.1.4.1.4203.666.5.12" controls = [ LDAPControl(LDB_CONTROL_PROVISION_OID, criticality=0), LDAPControl(LDB_CONTROL_RELAX_OID, criticality=0) ] s4ldap.modify_ext_s(s4dn, modlist, serv...