Question

In PHP, my filter: (&(objectClass=*)(memberOf=CN=MyGroup,...))

This returns 3 entries.

In AD Explorer, it returns 8 entries - which is correct.

Why would it work properly in AD Explorer, but not in PHP?

Was it helpful?

Solution

I just need to broaden the search DN.

For instance, I was using a similar DN: OU=A,OU=B,OU=C,DC=D,DC=E,DC=F

It turns out that the missing users were in a different DN, by broadening it more, it worked: OU=C,DC=D,DC=E,DC=F

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top