Hi,
We have Mantis installed for many years using Basic Access, but we want to upgrade to the last version using LDAP access.
The question is to know if Mantis may have the two different access, by LDAP for the internal company users and basic or HTML for customers.
Also to know if we can add users from two different domains with trust relationship.
Thanks in advanced.
Enrique
LDAP Access
Moderators: Developer, Contributor
Re: LDAP Access
Where you able to make LDAP work? We are moving from basic access to ldap and could really use some examples or pointers.
Re: LDAP Access - please help
I've added these paramaters to my config_inc.php in order to get LDAP working.
$g_login_method = LDAP;
$g_ldap_server = 'dev-ldapad-internal-ep****';
$g_ldap_root_dn = 'DC=DEVT3,DC=NET';
I'm receiving
APPLICATION ERROR #1404
LDAP Extension Not Loaded.
What does that mean?
0 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\ldap_api.php 62 - - trigger_error <string>'1404', <integer>256
1 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\ldap_api.php 374 - - ldap_connect_bind -
2 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\ldap_api.php 344 - - ldap_authenticate_by_username <string>'administrator', <string>'root'
3 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\authentication_api.php 762 - - ldap_authenticate <integer>1, <string>'root'
4 D:\Applications\IssueTracker\IssueTracker_wwwroot\login_page.php 150 - - auth_does_password_match <integer>1, <string>'root'
$g_login_method = LDAP;
$g_ldap_server = 'dev-ldapad-internal-ep****';
$g_ldap_root_dn = 'DC=DEVT3,DC=NET';
I'm receiving
APPLICATION ERROR #1404
LDAP Extension Not Loaded.
What does that mean?
0 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\ldap_api.php 62 - - trigger_error <string>'1404', <integer>256
1 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\ldap_api.php 374 - - ldap_connect_bind -
2 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\ldap_api.php 344 - - ldap_authenticate_by_username <string>'administrator', <string>'root'
3 D:\Applications\IssueTracker\IssueTracker_wwwroot\core\authentication_api.php 762 - - ldap_authenticate <integer>1, <string>'root'
4 D:\Applications\IssueTracker\IssueTracker_wwwroot\login_page.php 150 - - auth_does_password_match <integer>1, <string>'root'
Re: LDAP Access
See "Optional extensions" at https://www.mantisbt.org/docs/master/en ... s.software
You have to install the PHP LDAP extension on your server.
You have to install the PHP LDAP extension on your server.
Re: LDAP Access
Well we got that to work. However LDAP access is returning 'ldap_search() Operations error in ...\core\ldap_api.php' line 378
This is what we have for ldap settings.
$g_login_method = LDAP;
$g_ldap_server = 'ldap://prod-****;
$g_ldap_root_dn = 'OU=Users,DC=US,DC=BANK-DNS,DC=COM';
$g_ldap_organization = '';
$g_ldap_portcol_version = 3;
$g_ldap_follow_referrals = ON;
$g_ldap_bind_dn = '';
$g_ldap_uid_field = 'uid';
$g_ldap_realname_field = 'cn';
$g_ldap_use_starttls = OFF;
$g_show_detailed_errors=ON;
$g_ldap_uid_field = 'sxxxxx';
This is what we have for ldap settings.
$g_login_method = LDAP;
$g_ldap_server = 'ldap://prod-****;
$g_ldap_root_dn = 'OU=Users,DC=US,DC=BANK-DNS,DC=COM';
$g_ldap_organization = '';
$g_ldap_portcol_version = 3;
$g_ldap_follow_referrals = ON;
$g_ldap_bind_dn = '';
$g_ldap_uid_field = 'uid';
$g_ldap_realname_field = 'cn';
$g_ldap_use_starttls = OFF;
$g_show_detailed_errors=ON;
$g_ldap_uid_field = 'sxxxxx';
Re: LDAP Access
We figured out how to get ldap to work. We needed to use a service account and password. LDAP is working now for us. Thanks everyone for you help.