Ldap no entries found for extended forest catalog on AD

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
hk83
Posts: 1
Joined: 22 Jun 2015, 02:44

Ldap no entries found for extended forest catalog on AD

Post by hk83 »

Dear all,

Mantis Version: 12.2.17
OS: Centos 6

Recently my company asked me to let Mantis work with the Extended Catalog forest (On Active Directory) so in short we have multiple domain connected via Trust relationships and they want to log in directly from any domain to mantis.
So as everything worked for one domain with the ldap authentication with AD, i changed the port 389 to 3268 on the config_inc.php and also i removed the root dn to let the search go everywhere and not in only one domain
The result show that he don't find the name on any research who are out of the primary domain ( The one use as ldap server.)

Here my config right now:

Code: Select all

$g_login_method = LDAP;
$g_ldap_server			= 'hostname.mydomain.com:3268';
$g_ldap_root_dn			= '';
$g_ldap_organization	= '';
$g_ldap_uid_field		= 'sAMAccountName';
$g_ldap_realname_field  = 'displayname';
$g_ldap_bind_dn			= 'ldapmantis@mydomain.com';
$g_ldap_bind_passwd		= 'ldappass';
$g_use_ldap_email		= ON;
$g_use_ldap_realname	= ON;
$g_ldap_protocol_version = 3;
$g_ldap_follow_referrals = OFF;
$g_ldap_simulation_file_path = '';
$g_log_level = LOG_LDAP;
#$g_log_destination=file:c:\mantisbt\Logs\mantis.log;
$g_log_destination='file:/var/log/mantisbt.log';

Notes: Ive tried many times to change the ldap server like ldap://192.90.1.100/3268 / ldap://hostname.mydomain.com:3268/ all address did the same result.
In the mantis ldap log here what i get:

ldap Binding to LDAP server
ldap Attempting connection to LDAP URI 'hostname.mydomain.com:3268'.
ldap Connection accepted by LDAP server
ldap Setting LDAP protocol version to 3
ldap Attempting bind to ldap server with username and password
ldap Bind to ldap server successful
ldap Searching for (&(sAMAccountName=dummytest))
ldap No matching entries found
ldap Unbinding from LDAP server
ldap Authentication failed
-------------------------------

If anyone can help me about the search on extended forest catalog if it work in Mantis and totally supported or simply doesn't not work.
Should a create a group of user for Mantis or an OU with all Mantis user to have a better direction via root dn or organization ?

Thanks in advance for any help.

Best regards,
ranjon_dip
Posts: 1
Joined: 06 Jul 2015, 07:13

Re: Ldap no entries found for extended forest catalog on AD

Post by ranjon_dip »

Hi,
I am also having same issue. Please, let me know if anybody have a solution.
Here is my Log:
*************************************************************************************************************
2015-07-06 09:40 CEST ldap Binding to LDAP server
2015-07-06 09:40 CEST ldap Attempting connection to LDAP URI 'ldap://xxx.xxx.xxx.xxx/'.
2015-07-06 09:40 CEST ldap Connection accepted by LDAP server
2015-07-06 09:40 CEST ldap Attempting bind to ldap server with username and password
2015-07-06 09:40 CEST ldap Bind to ldap server successful
2015-07-06 09:40 CEST ldap Searching for (&(sAMAccountName=xxxxxx.xxx))
2015-07-06 09:40 CEST ldap No matching entries found
2015-07-06 09:40 CEST ldap Unbinding from LDAP server
2015-07-06 09:40 CEST ldap Authentication failed
*************************************************************************************************************
Thanks in advance
Post Reply