Bug 34117 - FFPU: LDAP base is not shown in license dialog
FFPU: LDAP base is not shown in license dialog
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 enhancement (vote)
: UCS 3.2-1-errata
Assigned To: Dirk Wiesenthal
Drees Dormann
:
Depends on:
Blocks: 34743
  Show dependency treegraph
 
Reported: 2014-02-13 11:53 CET by Stefan Gohmann
Modified: 2014-05-14 11:41 CEST (History)
5 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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2014-02-13 11:53:09 CET
The LDAP base is not shown in the license dialog if a FFPU license is installed. The LDAP base should always be shown.
Comment 1 Philipp Hahn univentionstaff 2014-02-14 19:39:06 CET
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.
Comment 2 Dirk Wiesenthal univentionstaff 2014-02-24 18:09:08 CET
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
Comment 3 Dirk Wiesenthal univentionstaff 2014-02-24 18:13:51 CET
> 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
Comment 4 Stefan Gohmann univentionstaff 2014-02-24 18:58:35 CET
(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.
Comment 5 Dirk Wiesenthal univentionstaff 2014-02-25 11:16:04 CET
(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.
Comment 6 Drees Dormann univentionstaff 2014-02-26 13:08:09 CET
LDAP base is now shown in license dialog with FFPU license
Comment 7 Janek Walkenhorst univentionstaff 2014-02-27 12:58:40 CET
http://errata.univention.de/ucs/3.2/65.html