I've been trying to activate mantis authentication over LDAP (mantis V1.1.8, LDAP 2.4.9 on ubuntu server 8.04) but I've been quite unsuccessful
here is my config_inc.php, LDAP section
Code: Select all
#############################
# Mantis LDAP Settings
#############################
# look in README.LDAP for details
# --- using openldap -------------
$g_ldap_server = 'ldap://127.0.0.1:389/';
#$g_ldap_port = '';
$g_ldap_root_dn = 'ou=Users,dc=agews,dc=com';
$g_ldap_organization = ''; # e.g. '(organizationname=*Traffic)'
$g_ldap_uid_field = 'uid'; # Use 'sAMAccountName' for Active Directory
$g_ldap_bind_dn = 'cn=admin,dc=agews,dc=com';
$g_ldap_bind_passwd = 'svp2admin';
$g_use_ldap_email = OFF; # Should we send to the LDAP email address or what MySql tells us
# The LDAP Protocol Version, if 0, then the protocol version is not set.
$g_ldap_protocol_version = 3;
# --- login method ----------------
# CRYPT or PLAIN or MD5 or LDAP or BASIC_AUTH
# You can simply change this at will. Mantis will try to figure out how the passwords were encrypted.
$g_login_method = LDAP;
If I try an ldapsearch using those parameters all works fine. If also noticed that in login.php there is no case that handles the LDAP login method
Any help will be greatly appreciated!