Univention Bugzilla – Bug 50597
[O365] univention-office365 App doesn't add LDAP-Indices yet
Last modified: 2019-12-16 18:16:13 CET
The univention-office365 App doesn't add LDAP-Indices yet. My attempts failed, because this causes the Joinscript to abort, unless we stop the slapd-Server first and restart it afterwards. We need to discuss if we want this: if [ -x /usr/share/univention-ldap/ldap_setup_index ]; then » /usr/share/univention-ldap/ldap_setup_index \ » » --add-eq univentionOffice365Enabled \ » » --add-eq univentionOffice365ADConnectionAlias \ » » --add-pres univentionOffice365ADConnectionAlias || die fi
in which cases are these attributes included in search filters?
According to my quick search both are used mainly in the method "add_ldap_members_to_azure_group". There are other occurances in the code but either during migration (where we check that univentionOffice365ADConnectionAlias is not present) or in the filters of the listener modules, which are not used for any actual LDAP searches.
(In reply to Arvid Requate from comment #2) > According to my quick search both are used mainly in the method > "add_ldap_members_to_azure_group". For which use case is this method called?
> > According to my quick search both are used mainly in the method > > "add_ldap_members_to_azure_group". > > For which use case is this method called? In case a customer has manually activated the UCR variable office365/groups/sync the index would get used in the method "add_ldap_members_to_azure_group" which gets called from the "create_group" function.