Foreman LDAP filter with POSIX group membership

Hello Foreman community,

I have trouble understanding how to use the LDAP filter to restrict auth to user being member of a single group.

My LDAP

is like this

dn: uid=username,ou=Users,dc=corp,dc=com
uid: username

dn: cn=groupname,ou=Groups,dc=corp,dc=com
cn: groupname
memberUid: username
memberUid: username2

Can you help me with this ? Thanks a lot.

Hi there,

Any hint would be greatly appreciated…

Thanks !