Hi All,
I have a question… Hopefully its an easy one to anwser.
I have setup my env to use LDAP authentication. However i would like to further filter to not allow all ldap users to login but enforce that the user exists and belong to at least one listed security group…
hosts:
- myldap.blah:636
bind_dn: "CN=......com"
password: "*********"
userbase: "OU=Users,*****,DC=com"
**usersearch: '(SAMACCOUNTNAME={0})'**
username_attribute: "SAMACCOUNTNAME"
With the highlight text above… How to i do an advanced filter where samaccountname={0} and member of sec group before allowing login?
regards,
Tim
PS. Sorry newbie! if this is a silly question.