Code: Select all
/var/www/faq/config/ldap.phpCode: Select all
<?php
$PMF_LDAP["ldap_server"] = 'domain.com';
$PMF_LDAP["ldap_port"] = 389;
$PMF_LDAP["ldap_user"] = 'cn=username,cn=serviceaccounts,dc=domain,dc=com';
$PMF_LDAP["ldap_password"] = 'Passw0rd';
$PMF_LDAP["ldap_base"] = 'dc=domain,dc=com';Obviously I'm not looking for specifics to my environment, but I need to know if "ldap_server" is looking for 'servername.domain.com' or just 'domain.com'. DNS is setup correctly and the domain.com pings from the OS level (Ubuntu 11.10).
Also, if I have LDAP enabled, do I need to add users before it will authenticate them from Active Directory or do the users just log in and phpMyFAQ lets them in if they are users of the domain?
Thank you!