Bug 53422 - UMC ACL processing fails if group contains invalid user DN
UMC ACL processing fails if group contains invalid user DN
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-08 15:08 CEST by Ingo Steuwer
Modified: 2021-06-08 16:54 CEST (History)
2 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 Ingo Steuwer univentionstaff 2021-06-08 15:08:33 CEST
Steps to reproduce:

- add a valid "User A" to "Domain Admins"
- add a non existing DN as user to "Domain Admins"
- Login in UMC as "User A"

You'll have an empty UMC, seems like the ACL processing fails due to the invalid User DN. It can be fixed by removing the non existing DN on the command line.
Comment 1 Florian Best univentionstaff 2021-06-08 16:21:58 CEST
Can you provide univention-management-console-server.log ?
Comment 2 Ingo Steuwer univentionstaff 2021-06-08 16:47:49 CEST
(In reply to Florian Best from comment #1)
> Can you provide univention-management-console-server.log ?

Nothing special, this is a session which failed (I replaced the customer DN):

08.06.21 11:20:03.097  MODULE      ( PROCESS ) : Setting auth type to u'SAML'
08.06.21 11:20:03.778  MODULE      ( PROCESS ) : Setting auth type to u'SAML'
08.06.21 11:20:04.484  MODULE      ( PROCESS ) : Setting auth type to u'SAML'
08.06.21 11:20:05.741  MAIN        ( PROCESS ) : LDAP bind for user '<DN>'.
08.06.21 11:20:06.016  MAIN        ( WARN    ) : SAML binddn does not match: '<lower case DN>' != '<DN>'

Actually there should be a second session for a different user, but I don't see any log entry for that.
Comment 3 Florian Best univentionstaff 2021-06-08 16:54:13 CEST
I can't reproduce this in UCS 5.0:
udm users/user create --set username=testA --set password=univention --set lastname=foo --append groups='cn=Domain Admins,cn=groups,l=school,l=dev' --position cn=users,l=school,l=dev
and copied uniqueMember,memberUid in "cn=Domain Admins" changing testA→testB.
After UMC login with testA everything in UMC works.