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
質問
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?
解決
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