Univention Bugzilla – Bug 56158
Improve feedback for LDAP base
Last modified: 2023-06-19 14:46:27 CEST
USS prints some *generic* error message in UMC; it should be more specific which part is invalid. #: umc/python/setup/__init__.py:430 msgid "" "The LDAP base may neither contain blanks nor any special characters. Its " "structure needs to consist of at least two relative distinguished names " "(RDN) which may only use the attribute tags 'dc', 'cn', 'c', 'o', or 'l' (e." "g., dc=test,dc=net)." msgstr "" "Die LDAP-Basis darf weder Leer- noch Sonderzeichen enthalten. Ihre Struktur " "muss aus mindestens zwei Relative Distinguished Names (RDN) bestehen, die " "eines der Attribut-Tags 'dc', 'cn', 'c', 'o', or 'l' verwenden (z.B. dc=test," "dc=net)." #: usr/share/univention-system-setup/www/ApplianceWizard.js:218 msgid "" "Invalid LDAP base!<br/>The LDAP base may neither contain blanks nor any " "special characters. Its structure needs to consist of at least two relative " "distinguished names (RDN) with attribute tags 'dc', 'cn', 'c', 'o', or 'l' " "(e.g., dc=test,dc=net)." msgstr "" "Ungültige LDAP-Basis!<br/>Die LDAP-Basis darf weder Leer- noch Sonderzeichen" " enthalten. Ihre Struktur muss aus mindestens zwei Relative Distinguished " "Names (RDN) bestehen, die eines der Attribut-Tags 'dc', 'cn', 'c', 'o', or " "'l' verwenden (z.B. dc=test,dc=net)." See umc/python/setup/util.py:884 for is_ldap_base # univention-ldapsearch -xLLLo ldif-wrap=no -s base -b cn=Subschema + -E mv='(attributeTypes=c)' dn: cn=Subschema attributeTypes: ( 2.5.4.6 NAME ( 'c' 'countryName' ) DESC 'RFC4519: two-letter ISO-3166 country code' SUP name SYNTAX 1.3.6.1.4.1.1466.115.121.1.11 SINGLE-VALUE ) https://docs.ldap.com/specs/rfc4517.txt 3.3.4. Country String