Mantis 1.08 - Can not authentication in LDAP mode

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
goldentiger
Posts: 4
Joined: 11 Jul 2007, 08:42

Mantis 1.08 - Can not authentication in LDAP mode

Post 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!
Bijesz
Posts: 4
Joined: 03 Aug 2007, 19:56

Post 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?
Post Reply