Page 1 of 1

how to intregate LADP

Posted: 11 Oct 2017, 14:28
by himel2017
Hello

How are u everybody ? i want to setup LDAP to my mansit site, but it not working, pls see attached and help me.

$g_login_method = LDAP;
$g_ldap_protocol_version = 3;
$g_ldap_server = 'ldap://ldap.example.net/';
$g_ldap_port = '389';
$g_ldap_root_dn = 'OU=Service Users & Groups,DC=example,DC=net';
$g_ldap_uid_field = 'sAMAccountName';
$g_use_ldap_email = ON;
$g_ldap_bind_dn = 'CN=LDAP Admin,OU=Service Users & Groups,DC=example,DC=net';
$g_ldap_bind_passwd = 'aa****';



Thanks

Re: how to intregate LADP

Posted: 14 Dec 2017, 10:12
by rkarmann
Hi there,

Have you enabled the log ?

In your config_inc.php file :

Code: Select all

$g_log_level = LOG_LDAP;
$g_log_destination = 'file:/var/www/log/mantisbt.log'; <-- make sure you have rights to write on the server
It might be easier to find out what's wrong with the LDAP by enabling logging.