Trying to connect to a Active Directory using LDAP
Posted: 27 Sep 2008, 05:00
I am trying to link up my active directory with mantis using LDAP. Both servers are windows 2003 but the web server is running Apache. I have installed PHP LDAP extention and I am getting the following error:
APPLICATION ERROR #1401
LDAP Server Connection Failed
This is the code that i have inside the config_inc.php file.
$g_allow_signup = ON;
$g_return_path_email = '<<webmaster@opelikaschools.com>>';
$g_administrator_email = '<<webmaster@opelikaschools.com>>';
$g_webmaster_email = '<<webmaster@opelikaschools.com>>';
$g_from_email = '<<webmaster@opelikaschools.com>>';
$g_ldap_server = '<<ldap://mail.opelikaschools.com>>';
$g_ldap_port = '389';
$g_ldap_root_dn = '<<OU=ad,DC=opelikaschools,DC=com>>';
$g_ldap_organization = '???';
$g_ladp_uid_field = 'sAMAccountName';
$g_ldap_bind_dn = '<<???>>';
$g_ldap_bind_passwd = '???';
$g_ldap_protocol_version = 3;
$g_use_ldap_email = OFF;
$g_login_method = LDAP;
$g_use_ldap_realname = ON;
$g_ldap_realname_field = 'cn';
?>
What is going on. I have also placed three question marks in some of the areas I am not sure what the values are suppost to be. I am currently using version 1.1.2
APPLICATION ERROR #1401
LDAP Server Connection Failed
This is the code that i have inside the config_inc.php file.
$g_allow_signup = ON;
$g_return_path_email = '<<webmaster@opelikaschools.com>>';
$g_administrator_email = '<<webmaster@opelikaschools.com>>';
$g_webmaster_email = '<<webmaster@opelikaschools.com>>';
$g_from_email = '<<webmaster@opelikaschools.com>>';
$g_ldap_server = '<<ldap://mail.opelikaschools.com>>';
$g_ldap_port = '389';
$g_ldap_root_dn = '<<OU=ad,DC=opelikaschools,DC=com>>';
$g_ldap_organization = '???';
$g_ladp_uid_field = 'sAMAccountName';
$g_ldap_bind_dn = '<<???>>';
$g_ldap_bind_passwd = '???';
$g_ldap_protocol_version = 3;
$g_use_ldap_email = OFF;
$g_login_method = LDAP;
$g_use_ldap_realname = ON;
$g_ldap_realname_field = 'cn';
?>
What is going on. I have also placed three question marks in some of the areas I am not sure what the values are suppost to be. I am currently using version 1.1.2