LDAP
Posted: Thu May 27, 2010 12:46 am
I promise I'm coming to the end of my questions!
Now that I have the FAQ running the way I want, I'd like to use LDAP to integrate our exising Windows Server 2003 Active Directory.
On my Linux box I'm running Ubuntu 10.04 (but will use 9.0 when I reinstall for ease of Webmin installation). I ran sudo apt-get install php5-ldap, and then did the phpmyfaq setup.
During setup, I entered, then verified in the ldap.php file the following values..
"ldap_server" = IP of my Windows 2003 server
"ldap_port" = 389
"ldap_user" = hotspot\administrator
"ldap_password = password
"ldap_base" = dc=servername, dc=domainname
I then activated the LDAP option in config.
when I attempt to use a domain account to login, I get the following debug information.
phpMyFAQ warning [2]: ldap_search(): Search: No such object in Ldap.php on line 167
phpMyFAQ warning [2]: ldap_first_entry() expects parameter 2 to be resource, boolean given in Ldap.php on line 174
phpMyFAQ warning [2]: ldap_get_values() expects parameter 2 to be resource, null given in Ldap.php on line 181
But, once I've enabled LDAP, I get the same messages when attempting to use a non-domain user account as well. For domain accounts, should I use the Domain\User form? Or if it were working, would just the domain user account be sufficent? Example... Domain\user or just user?
My problem could very well be on the Windows side or the Linux side... but any advice is appreciated.
Now that I have the FAQ running the way I want, I'd like to use LDAP to integrate our exising Windows Server 2003 Active Directory.
On my Linux box I'm running Ubuntu 10.04 (but will use 9.0 when I reinstall for ease of Webmin installation). I ran sudo apt-get install php5-ldap, and then did the phpmyfaq setup.
During setup, I entered, then verified in the ldap.php file the following values..
"ldap_server" = IP of my Windows 2003 server
"ldap_port" = 389
"ldap_user" = hotspot\administrator
"ldap_password = password
"ldap_base" = dc=servername, dc=domainname
I then activated the LDAP option in config.
when I attempt to use a domain account to login, I get the following debug information.
phpMyFAQ warning [2]: ldap_search(): Search: No such object in Ldap.php on line 167
phpMyFAQ warning [2]: ldap_first_entry() expects parameter 2 to be resource, boolean given in Ldap.php on line 174
phpMyFAQ warning [2]: ldap_get_values() expects parameter 2 to be resource, null given in Ldap.php on line 181
But, once I've enabled LDAP, I get the same messages when attempting to use a non-domain user account as well. For domain accounts, should I use the Domain\User form? Or if it were working, would just the domain user account be sufficent? Example... Domain\user or just user?
My problem could very well be on the Windows side or the Linux side... but any advice is appreciated.