I have LDAP/AD authentication working for agents and customers, however, my users are spread in country containers and therefore i need to search the whole tree.
for filtering, i need to filter based on (&(objectClass=user)(!(objectClass=computer))) but this doesn't seem to work.
Is it possible to filter on multiple criteria such as the above?
cheers
AD/LDAP authentication - filters
Moderator: crythias
-
- Znuny ninja
- Posts: 1029
- Joined: 13 Apr 2009, 12:26
- Znuny Version: 6.0.13
- Real Name: Wolfgang Fürtbauer
- Company: PBS Logitek GmbH
- Location: Pinsdorf
Re: AD/LDAP authentication - filters
I'm using the following filter to get only objects with e-mail addresses
Code: Select all
'(&(objectclass=user)(mail=*))'
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting