Been using phpmyfaq for quite awhile now, I've made my own themes for it and everything -- but I have not yet played with the LDAP support, and wouldn't you know it.. the time has come for me to figure it out.
I am not, however, very familiar with active directory and so I am unsure how to proceed with getting it to function properly.
My problem I think lies in the ldap_base declaration in dataldap.php, I'm not sure what to put in there. I've been able to determine that all of the other settings are correct, as I get connection errors when I change any one of the other values to an incorrect one -- I'm almost certain that my problem lies in the ldap_base section.
I've tried 'DC=domain, DC=com' but get this error when I try to use any part of the FAQ, I think I'm not understanding what the DN should be.
Code: Select all
Warning: ldap_search() [function.ldap-search]: Search: Operations error in C:\wamp\htdocs\faq\inc\ldap.php on line 89
Warning: ldap_first_entry(): supplied argument is not a valid ldap result resource in C:\wamp\htdocs\faq\inc\ldap.php on line 90
Warning: ldap_get_values(): supplied argument is not a valid ldap result entry resource in C:\wamp\htdocs\faq\inc\ldap.php on line 91
Warning: ldap_search() [function.ldap-search]: Search: Operations error in C:\wamp\htdocs\faq\inc\ldap.php on line 110
Warning: ldap_first_entry(): supplied argument is not a valid ldap result resource in C:\wamp\htdocs\faq\inc\ldap.php on line 111
Warning: ldap_get_values(): supplied argument is not a valid ldap result entry resource in C:\wamp\htdocs\faq\inc\ldap.php on line 112