Univention Bugzilla – Bug 50790
Sort Class Lists To Have Identical Results
Last modified: 2023-10-26 12:21:22 CEST
When generating class lists the content of the "class" field is derived from OpenLDAP. Due to the nature of OpenLDAP the result of the query can differ depending on which server we execute the query. ===================================== root@ucs1:~# univention-ldapsearch "(&(univentionObjectType=groups/group)(memberUid=studentid))" dn | ldapsearch-wrapper | egrep ^dn: | grep klassen | head -2 ) dn: cn=schule1-10b,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs dn: cn=schule1-10c,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs ===================================== root@ucs2:~# univention-ldapsearch "(&(univentionObjectType=groups/group)(memberUid=studentid))" dn | ldapsearch-wrapper | egrep ^dn: | grep klassen | head -2 ) dn: cn=schule1-10c,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs dn: cn=schule1-10b,cn=klassen,cn=schueler,cn=groups,ou=schule1,dc=schulen,dc=ucs ===================================== Not having the concept of a "main class" we should at least consider to have the output consistent and independent of the server we are querying...