LDAP configuration
Posted: 04 Aug 2016, 18:01
I browsed through previous posts in this forums about LDAP but had no success when looking for a fix to my error.
# --- AD Auth ---
$g_login_method = LDAP;
$g_ldap_server = 'ldap://xxxx.domain.com/';
$g_ldap_root_dn = "DC=domain,DC=com";
$g_ldap_bind_dn = "CN=Service Mantis,OU=IT Accounts,OU=Misc,DC=xxxx,DC=domain,DC=com";
$g_ldap_bind_passwd ="*****";
$g_ldap_organization = "";
$g_ldap_protocol_version = 3;
$g_ldap_uid_field = "sAMAccountName";
When I use this configuration I get a LDAP Server Connection Failed. (APPLICATION ERROR #1401). I can't locate errors in logs either.
# --- Logging ---
$g_log_level = LOG_LDAP | LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/var/log/mantis.log';
mantis.log remains empty
I'm running version 1.3.0
# --- AD Auth ---
$g_login_method = LDAP;
$g_ldap_server = 'ldap://xxxx.domain.com/';
$g_ldap_root_dn = "DC=domain,DC=com";
$g_ldap_bind_dn = "CN=Service Mantis,OU=IT Accounts,OU=Misc,DC=xxxx,DC=domain,DC=com";
$g_ldap_bind_passwd ="*****";
$g_ldap_organization = "";
$g_ldap_protocol_version = 3;
$g_ldap_uid_field = "sAMAccountName";
When I use this configuration I get a LDAP Server Connection Failed. (APPLICATION ERROR #1401). I can't locate errors in logs either.
# --- Logging ---
$g_log_level = LOG_LDAP | LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/var/log/mantis.log';
mantis.log remains empty
I'm running version 1.3.0