LDAP problems

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
m.janssen
Posts: 15
Joined: 18 Jan 2018, 06:33

LDAP problems

Post by m.janssen »

Hello

i have problems with the LDAP connection. We have a Windows 2012R2 domain (intern.domäne.de). There is a OU Users, with the OU Administratoren (cn=administratoren,cn=users,dc=intern,dc=domäne,dc=de).
We have also an OU abcd in the OU Users (cn=abcd,cn=users,dc=intern,dc=domäne,dc=de). I dont have a connection to the active directory. When I tryed to login, I see only a blank side.
I used this config_inc.php and the attached ldap_api. I want the users in the OU abcd have acces to MantisBT. And which ldap user is mantis admin? Can anyone help me to connect whith ldap? I use Mantis 2.10.0.

$g_login_method = LDAP;
$g_ldap_server='pvshb-ads-dc01.intern.domäne.de';
$g_ldap_port='389';
$g_ldap_root_dn='dc=intern,dc=domäne,dc=de';
$g_ldap_organization='ou=abcd,ou=User,dc=intern,dc=domäne,dc=de';
$g_ldap_uid_field='sAMAccountName';
$g_ldap_bind_dn='CN=ldap,ou=Administratoren,ou=User,dc=intern,dc=domäne,dc=de';
$g_ldap_bind_passwd='*******';
$g_use_ldap_email=ON;
$g_use_ldap_realname=ON;
$g_ldap_protocol_version=3;



Thangs

MJ
Attachments
ldap_api.zip
(1.61 KiB) Downloaded 139 times
mushu
Posts: 349
Joined: 04 Jan 2017, 17:41

Re: LDAP problems

Post by mushu »

Have you tried the AdLogin plugin yet? I currently use it on Windows Server 2012 R2 with MantisBT 2.7.0 and it works great. You just have to modify the core requirement in the plugin from "1.2.0" to "1.3.0" and it will install and run just fine.

https://mantisbt.org/bugs/file_download ... 3&type=bug
Post Reply