Univention Bugzilla – Bug 34117
FFPU: LDAP base is not shown in license dialog
Last modified: 2014-05-14 11:41:04 CEST
The LDAP base is not shown in the license dialog if a FFPU license is installed. The LDAP base should always be shown.
If that is ever changes, the wording of the release notes has to be adapted, as the currently read <http://jenkins.knut.univention.de:8080/view/Doku/job/UCS-3.2-1%20Release%20Notes/lastSuccessfulBuild/artifact/webroot/release-notes-3.2-1-en.html#relnotes:usage>: > The license status can be verified ... If Free for personal use edition is listed under LDAP base, this version is in use.
This is not only a display issue in umc-udm. license.baseDN is 'Free for personal use edition', even when you ask univention-ldapsearch! After changing the free license, a lot of code has to be adapted. umc-udm-chain: It comes from univention-license-tools (C code!) is passed to univention-directory-manager-modules and then used by univention-management-console-module-udm
> After changing the free license, a lot of code has to be adapted. > umc-udm-chain: To clarify: the packages all check if license.baseDN == 'Free for personal use edition' (or some strcmp). So just changing the license is not enough
(In reply to Dirk Wiesenthal from comment #2) > It comes from > univention-license-tools (C code!) > is passed to > univention-directory-manager-modules > and then used by > univention-management-console-module-udm Only the frontend code should display the real base. Everything else can be untouched.
(In reply to Stefan Gohmann from comment #4) > Only the frontend code should display the real base. Everything else can be > untouched. Okay. Fixed in univention-management-console-module-udm 4.0.97-18.437.201402251040 Added a new line (the license dialog is an HTML template which does not really support something like "if (licenseInfo.ffpu) {}":, so I have to add the line also for non-FFPU. License type: UCS License (or Free for personal use edition) LDAP Base is used from ucr.get('ldap/base') in the FFPU case.
LDAP base is now shown in license dialog with FFPU license
http://errata.univention.de/ucs/3.2/65.html