Univention Bugzilla – Bug 47246
Missing LDAP attribute option lang-
Last modified: 2019-03-15 22:18:09 CET
Definition of attribute option "entry-" in 30univention-ldap-server_head kicks out default attribute option "lang-". The slapd.conf manual page describes this behaviour: "attributeoptions [option-name]... Define tagging attribute options or option tag/range prefixes. Options must not end with `-', prefixes must end with `-'. The `lang-' prefix is predefined. If you use the attributeoptions directive, `lang-' will no longer be defined and you must specify it explicitly if you want it defined." Trying to import LDIF with attribute options "lang-de" ends up with error "wrong attribute type". ldap_modify: Undefined attribute type (17) additional info: description;lang-de: unrecognized option
Created attachment 9577 [details] attributeoptions-lang.patch Thanks for the report.
(In reply to Arvid Requate from comment #1) > Created attachment 9577 [details] > attributeoptions-lang.patch > > Thanks for the report. The patch is working for me.
univention-ldap.yaml 8ebb271a742ac88a2041be308fd2f9043bb66924 univention-ldap ce96dfaee7b141f34dc68ae8ede3dbaaeb4c9a66 Added new UCR variable "ldap/attributeoptions" to configure attributeoptions in slapd.conf. New default is "entry-" "lang-". @bochmann@eva.mpg.de you probably want to revert that 30univention-ldap-server_head change before the univention-ldap-server update, or you will not get the updated version of this template file (as we do not overwrite modified config files during package updates).
Ok. > univention-ldap.yaml 8ebb271a742ac88a2041be308fd2f9043bb66924 Has not been pushed, I've added a advisory.
<http://errata.software-univention.de/ucs/4.3/156.html>