#1 2022-11-15 20:03:52

greg johnston
Member
Registered: 2022-09-10

LDAP Filter challenge

our AD tree contains OU's for each office, which contains OU's for Users at that location. How can I create a filter referencing several user OU's
The "&" does not appear to be an option .
Also tried removing some entities   e.g (&(cn=*template)

Offline

#2 2022-11-17 12:06:11

eduardo
Administrator
Registered: 2016-11-01
Website

Re: LDAP Filter challenge

Hi greg johnston,

you can escape the & character with &, so you can enter:
(&(objectclass=user)(samacccountname=*))

can you pls confirm? we will update our documentation to make this clear.

Regards,
Eduardo

Offline

#3 2022-11-25 23:32:46

greg johnston
Member
Registered: 2022-09-10

Re: LDAP Filter challenge

Thanks, that's resolved now

Offline

#4 2022-12-27 14:16:28

eduardo
Administrator
Registered: 2016-11-01
Website

Re: LDAP Filter challenge

Hi greg johnston,

note that if you include your filter in a CDATA block, as here: https://github.com/infofabrik/reportser … cf#L23-L27
you can use your & characters normally. The same with <, >, etc.

Although the link above is for the next 4.5.0 version, this works with previous versions too. We tested with 4.4.0.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB