I figured out why it’s work without adding a loop , because of the function
ldap_search support using an array of base DNs you can read more about it on
http://php.net/manual/en/function.ldap-search.php
Thank you for your answer
I know but i tested the code and it’s worked perfectly that’s weird but true ,you can test it and tell me the result .
Kind regards
Hi
I tried something and it’s seems the multiples base dns work to me can you check on it
https://github.com/haoundz/wpDirAuth
Kind regards
Henda Aoun
junior programmer
Montreal