Page 1 of 1

Mantis 1.08 - Can not authentication in LDAP mode

Posted: 16 Jul 2007, 02:51
by goldentiger
Dear,

I am using mantis ver 1.08. I have already set up for using LDAP, my configuration as follow:

# --- login method ----------------
$g_login_method = LDAP;
# --- using openldap -------------
$g_ldap_server = 'domain.com';
$g_ldap_port ='389';
$g_ldap_root_dn = 'cn=Users,dc=domain,dc=com';
$g_ldap_organization = ''; # e.g. '(organizationname=*Traffic)'
$g_ldap_uid_field = 'sAMAccountName'; # Use 'sAMAccountName' for Active Directory
$g_ldap_bind_dn = 'username';
$g_ldap_bind_passwd = 'password';
$g_use_ldap_email = ON; # Should we send to the LDAP email address or what MySql tells us
$g_ldap_protocol_version = 3;

I can connect to LDAP but it seem that i can't login mantis.

Please help me!

Thanks!

Posted: 03 Aug 2007, 20:01
by Bijesz
Hi,

The problem in your setup should be here:
$g_ldap_server = 'domain.com';

If that's really the setup you should use servername.domain.com.

How do you know if the ldap connection was ok?