Skip to content

Changed licenses processing for ad_mu

Created by: balcirakpeter

-Reason: There is a new attribute in which users main licenses are stored. That means, we do not need to compute licenses in ad_mu send script anymore. -Change: Both gen and send scripts were simplified. Instead of creating multiple files for roles and licences, gen script is creating for this purpose just one file ad_mu_groups_licenses.ldif. As for the other ous ldif files, ldif file for licenses contains all licence groups with their members. In adition, the msDS-cloudExtensionAttribute2 is also filled in gen script and added to ad_mu.ldif Whole code which computed actual main licenses was erased from send part. Every member is aded/removed to/from AD licence group by his membership in particular licence group from ad_mu_groups_licenses.ldif. Code which computed the msDS-cloudExtensionAttribute2 was also erased, because it is filled in gen script. -Result: Gen script was tested on small group structures and it seems to print correct results. Send script can be compiled but it is not tested on real data yet.

Merge request reports