Bug 53541 - UDM locking is done with ldap connection from user, which cannot see every object
Summary: UDM locking is done with ldap connection from user, which cannot see every ob...
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-02 12:04 CEST by Florian Best
Modified: 2025-08-25 11:18 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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):
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 Florian Best univentionstaff 2021-07-02 12:04:20 CEST
The locking of attributes (e.g. to check the uniqueness of uid/uidNumber/gidNumber/etc.) is currently done with the permissions of the user doing the operation.

If there are ACL's which prevent reading any user/group/etc object the ldap search checking for uniqueness will fail and therefore UDM allows to use a unique attribute twice.

In general modifications are done with Domain Admin account, which see everything.

In UCS@school each school user and each machine-account is limited to its own school, other objects are therefore hidden.

We should:
1. additionally to UDM try to use the unique constraint in the slapd.conf
2. do the lock() searches with cn=admin (not cn=machine$!)
3. probably we should also do the lock() modifications with cn=admin, so that we don't always need to specify extra LDAP ACL's for this use case (e.g. in UCS@school or multi-tenant scenarios) !?!
Comment 2 Florian Best univentionstaff 2025-08-25 11:18:51 CEST
With ABAC activated in UDM this is done with admin privileges.