AD/LDAP authentication - filters

Moderator: crythias

Locked
gwaitsi
Znuny newbie
Posts: 17
Joined: 09 Feb 2011, 15:46
Znuny Version: 3.05

AD/LDAP authentication - filters

Post by gwaitsi »

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
Wolfgangf
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

Post by Wolfgangf »

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
Locked