Bug 28714 - Es gibt zwei UCR Variablen ldap/server/addition und ldap/server/additional wieso?
Es gibt zwei UCR Variablen ldap/server/addition und ldap/server/additional wi...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCR
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.2
Assigned To: Philipp Hahn
Lukas Walter
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-09 11:43 CEST by rolandb
Modified: 2013-11-19 06:43 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Remove duplicate description of ldap/server/additional (1.82 KB, patch)
2012-10-09 12:08 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rolandb 2012-10-09 11:43:27 CEST
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
Comment 1 Philipp Hahn univentionstaff 2012-10-09 12:08:03 CEST
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.
Comment 2 Philipp Hahn univentionstaff 2012-10-09 12:08:28 CEST
Created attachment 4698 [details]
Remove duplicate description of ldap/server/additional
Comment 3 Arvid Requate univentionstaff 2012-10-09 15:42:22 CEST
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
Comment 4 Philipp Hahn univentionstaff 2013-09-20 10:22:59 CEST
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
Comment 5 Lukas Walter univentionstaff 2013-09-20 13:37:30 CEST
ok: description removed
ok: not used in function comments anymore
ok: changelog 3.2
Comment 6 Stefan Gohmann univentionstaff 2013-11-19 06:43:03 CET
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".