Ldap plugin : filter to allow only specific group to login ?
-
Hi
I' setting up the Ldap plugin on my XOCE.
My conf seems to be OK, but i can't figure out how i can filter only user from specific group to login and refuse other.
My conf for now
Uri : ldap://s-ad.domain.net:389
base : OU=company,DC=domain,DC=net
credential : account used to connect to Active Directoryuserfilter : my problem
Id attribut : sAMAccountNameif i put userfiler : &(sAMAccountName={{name}})
every user in my company can login
if i put (&(sAMAccountName={{name}})(memberOf=CN="XCP Admin"))
no one can login, even users member of "XCP Admin" group.How can i set filter to allow only users of this group to be able to login ?
-
@Chico008 Seems like you're duplicating your inquiries. As I suggested in the previous thread, I think your
memberOfis missing the full DN of the group.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login