Bug 57713 - Different numbers of users depending on the type of license used
Summary: Different numbers of users depending on the type of license used
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: License
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-9-errata
Assignee: Iván.Delgado
QA Contact: Felix Botner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-30 16:47 CET by Jan-Luca Kiok
Modified: 2024-11-06 18:15 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.069
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): License
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Luca Kiok univentionstaff 2024-10-30 16:47:06 CET
Depending on the type of license currently used the license check either counts or does not count in system accounts.

Using a license with an unlimited amount of users all users are counted, with a user-limit only users relevant for this limit are list.
This is confusing because one would use the counting mechanism to determine which limit of users is actually needed, so in both cases only the relevant amount of users should be listed.

Example:

```
root@ucs-master1:~# univention-license-check Base DN: dc=test,dc=me
...
Users:                      35 of unlimited... OK
...
root@ucs-master1:~# univention-license-import 35-user.license ...
Replaced license.
root@ucs-master1:~# univention-license-check Base DN: dc=test,dc=me
...
Users:                      32 of        35... OK 
```
Comment 2 Felix Botner univentionstaff 2024-11-05 13:17:18 CET
5.0-9 9a6aebfa 82644388

Successful build
Package: univention-directory-manager-modules
Version: 15.0.28-6
Branch: 5.0-0
Scope: errata5.0-9

5.1-0 e9fb9d76

Successful build
Package: univention-directory-manager-modules
Version: 16.0.28
Branch: 5.1-0

5.2-0 94e99ef2

Successful build
Package: univention-directory-manager-modules
Version: 17.0.23
Branch: 5.2-0
Comment 3 Felix Botner univentionstaff 2024-11-06 11:16:59 CET
Tests look good.