The definition of the 'People' group is:
Within ldap:///o=domain.com,dc=domain,dc=com
, where the attribute Employeenumber
is present (Employeenumber=*
), and the attribute InetUserStatus
has the value active
(InetUserStatus=active
).
So, if you want to exclude someone, you need and attribute to match, and the value to exclude and construct the LDAP search filter that matches this, and update the filter (&(Employeenumber=*)(InetUserStatus=active))
to correspond to this.
so, if they were Employeenumber
55
, then you don't want them in the list, so the condition for this is !(Employeenumber=55)
, so you need to plug this into the selection condition as:
(&(&(Employeenumber=*)(InetUserStatus=active))(!(Employeenumber=55)))
If you wanted to filter a second user (e.g. Employeenumber
99
as well, then it becomes:
(&(&(&(Employeenumber=*)(InetUserStatus=active))(!(Employeenumber=55)))(!(Employeenumber=99)))
You can see how this will get very complicated very quickly.