Univention Bugzilla – Bug 53192
mXRecord aAAARecord cNAMERecord sRVRecord tXTRecord nSRecord not indexed
Last modified: 2021-05-25 16:00:35 CEST
mXRecord aAAARecord cNAMERecord sRVRecord tXTRecord nSRecord not indexed Apr 29 10:27:38 ucs-2888 slapd[15731]: <= mdb_presence_candidates: (aAAARecord) not indexed Apr 29 10:27:38 ucs-2888 slapd[15731]: <= mdb_presence_candidates: (mXRecord) not indexed Apr 29 10:27:38 ucs-2888 slapd[15731]: <= mdb_presence_candidates: (cNAMERecord) not indexed Apr 29 10:27:38 ucs-2888 slapd[15731]: <= mdb_presence_candidates: (sRVRecord) not indexed Apr 29 10:27:38 ucs-2888 slapd[15731]: <= mdb_presence_candidates: (tXTRecord) not indexed Apr 29 10:27:38 ucs-2888 slapd[15731]: <= mdb_presence_candidates: (nSRecord) not indexed https://hutten.knut.univention.de/mediawiki/index.php/Produkttests_UCS_5.0_LDAP#LDAP-Indizes_aktualisieren How to reproduce: Open the dns umc module
* For this one it would probably reduce performance: management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py: searchResult = self.lo.searchDn(u'(&(|(objectClass=univentionDomainController)(objectClass=univentionMemberServer))(univentionService=S4 Connector)(|(aRecord=*)(aAAARecord=*)))') * For the lookup in the UDM Module dns/txt_record it may increase performance: def unmapped_lookup_filter(cls): return univention.admin.filter.conjunction('&', [ univention.admin.filter.expression('objectClass', 'dNSZone'), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('relativeDomainName', '@')]), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('zoneName', '*.in-addr.arpa', escape=False)]), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('cNAMERecord', '*', escape=False)]), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('sRVRecord', '*', escape=False)]), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('aRecord', '*', escape=False)]), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('aAAARecord', '*', escape=False)]), univention.admin.filter.conjunction('!', [univention.admin.filter.expression('mXRecord', '*', escape=False)]), univention.admin.filter.expression('tXTRecord', '*', escape=False) ]) So I've added them to the default list of attributes indexed for presence: aa0545f0ab | Add presence indices for some DNS attributes Package: univention-ldap Version: 16.0.7-3A~5.0.0.202105111516 Branch: ucs_5.0-0
OK: aa0545f0ab OK: ucr get ldap/index/pres | tr , '\n' | sort | grep Record OK: journalctl -u slapd.service | grep _candidate | cut -d' ' -f 7- | sort -u FIXED: changelog-5.0-0.xml [5.0-0] a85caa6c91 fixup! Bug #53192: Add presence indices for some DNS attributes doc/changelog/changelog-5.0-0.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) FYI: attributes are only indexed for new installations, NOT on upgrade.
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".