LDAP Users - Custom start URL not working

CMK version: Checkmk Enterprise Edition 2.2.0p32

Hi - I have a group of users that gets imported via LDAP. As part of the LDAP config I have used the custom attribute option to set a specific start URL to display:
image

But when a user logs in they just get the default dashboard.

When I view the user settings the Start URL option is blank and not configurable:

image

I have tested the start URL with a non LDAP user and it works perfectly.

Any ideas?

Hi,

The Group you specified, is it part of the path in Groups base DN:

Because if not, I guess that is the reason it’s not working.

Thanks for the reply. The group is in the path.

It is working for the setting ‘Roles’ where I set them to be a normal monitoring user using the same group. But for the custom user attributes it just doesnt work.

The test runs fine. Very odd!

Did this ever work for you? If so, when?

No. I gave up in the end and manually set the path on each user since the number of users was small and I needed it done urgently.

It feels like a bug so I figured I try it again after some updates.

Just had this exact issue and resolved it.

For the Roles, the field is asking for a Group DN - something like “CN=Group Name I Want,OU=Group Container,DC=corp,DC=test,DC=local”

For the Groups to custom user attribute it is asking for a Group CN - so for that DN, the CN would be “Group Name I Want”. Don’t even include the leading CN - only the actual group name.

I see in your screenshot you have a Group DN in that field, not a CN. Changing it to a CN should fix it.

Additionally, after you save & test, the changes don’t happen until the next scheduled LDAP sync interval (default is 5 minutes), so wait after you apply your changes to see if they’re working.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.