Univention Bugzilla – Bug 28714
Es gibt zwei UCR Variablen ldap/server/addition und ldap/server/additional wieso?
Last modified: 2013-11-19 06:43:03 CET
Hallo zusammen Warum gibt es zwei Variablen? ldap/server/addition: server-01.intra ldap/server/additional: <empty> Wieso wird diese Variable nur bei ucr set ldap/server/addition="server-01.intra" Setting ldap/server/addition Multifile: /etc/postfix/main.cf File: /etc/libnss-ldap.conf File: /etc/krb5.conf File: /etc/pam_ldap.conf File: /etc/ldap/ldap.conf Multifile: /etc/postfix/master.cf ucr set ldap/server/additional="server-01.intra" Create ldap/server/additional Multifile: /etc/postfix/main.cf File: /etc/imapd/imapd.conf File: /etc/libnss-ldap.conf File: /etc/krb5.conf File: /etc/pam_ldap.conf File: /etc/ldap/ldap.conf Multifile: /etc/postfix/master.cf mfg, Roland
Die UCR-Variable ldap/server/additional wird in management/univention-ldap/debian/univention-ldap-client.univention-config-registry-variables zwar beschrieben, aber nirgendwo benutzt. Dadurch wird sei bei einem "ucr search" gefunden. Korrekt ist ldap/server/addition.
Created attachment 4698 [details] Remove duplicate description of ldap/server/additional
Die Variablen-Registrierungen in den template info-Dateien werden als Substring-Match ausgewertet, das könnte man in einen exact match ändern: root@master50:~# ucr set ldap/server/additionaldings=foo Create ldap/server/additionaldings Multifile: /etc/postfix/main.cf File: /etc/libnss-ldap.conf File: /etc/krb5.conf File: /etc/pam_ldap.conf File: /etc/ldap/ldap.conf Multifile: /etc/postfix/master.cf
ldap/server/additional was already removed by Bug #24507. Two comments for functions still mentioned the removed UCRV, which was updated by Bug #24507. r44267 | Bug #28714: Fix ldap/server/addition in function comment r44268 | Bug #28714: Fix ldap/server/addition in function comment univention-lib_3.0.17-1.176.201309201019
ok: description removed ok: not used in function comments anymore ok: changelog 3.2
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".