Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LDAP filter by CN name, starts with

We have a naming convention for Active Directory groups and want to access them with an LDAP query and filter, e.g.

AppX User
AppX Author
AppX Publisher

I'm trying to write a filter but can't seem to get anything back.. looks a bit like this:

(CN=AppX *,OU=Security Groups,OU=Group Functions,DC=blah,DC=blah,DC=com)

Is it possible to query groups by name and wildcard like this?

like image 659
misteraidan Avatar asked Oct 31 '13 06:10

misteraidan


1 Answers

Try using (&(cn=AppX*)(objectclass=Group))

like image 103
Kirill Kovalenko Avatar answered Oct 02 '22 03:10

Kirill Kovalenko