1 Reply
What have you tried so far/what's not working?
You want something like
(&(objectClass=person)(memberOf=uid=mygroup,ou=groups,DC=example,DC=com))
Does it also have a user name variable that you need to put in the filter?
Right, so you can have (&(|(uid={input})(mail={input}))(objectClas=...
You need the input as well
Combine both of my messages
That should do the trick
Of course, replace mygroup and the DC values with the actual values
You shouldn't have to escape it