Mantis on Linux with LDAP authentication against a Win2k3 DC
Posted: 01 Jun 2007, 18:44
Hello!
I have been reading the documentation of Mantis for the last week and so far I am only getting lost in it regarding the proper configuration for setting up the authentication's mechanism of Mantis with a Windows server 2003 Domain Controller.
My current setup is as followed :
Mantis is installed on a Linux Redhat ES 4 server running on Apache. That server already got Samba configured with the authentication against our domain controller which is running, Windows server 2003 (through pam.d).
The installation of Mantis is running fine, I have setup an administrator account on the local DB of Mantis on that linux server. Now all I want is for the users of the office to be able to log into Mantis using their credential coming from the Domain Controller. I have tried a lot of different setup regarding the config_inc.php file but alas, to no avail so far.
I am wondering first of all, does anybody have successfully setup a similiar environnement of mantis? (i.e. : Mantis on a linux server with authentication against a Windows 2K3 DC). Don't tell me that it is working fine on your windows server only, I am not interested in that. Again, a lot of people don't understand that setup, Mantis is on a Linux server and I want the authentication to be done against a Windows 2003 Domain Controler.
And if yes, what is the problem with my setup in config_inc.php? Here's my config file with the server name and our domain name changed :
Thank you in advances for any useful advices!
PS: forgot to mention that I am running Mantis 1.0.7 on Apache 2.0. Also I already have Apache authentication working against the same Win2k3 DC.
DGhost
I have been reading the documentation of Mantis for the last week and so far I am only getting lost in it regarding the proper configuration for setting up the authentication's mechanism of Mantis with a Windows server 2003 Domain Controller.
My current setup is as followed :
Mantis is installed on a Linux Redhat ES 4 server running on Apache. That server already got Samba configured with the authentication against our domain controller which is running, Windows server 2003 (through pam.d).
The installation of Mantis is running fine, I have setup an administrator account on the local DB of Mantis on that linux server. Now all I want is for the users of the office to be able to log into Mantis using their credential coming from the Domain Controller. I have tried a lot of different setup regarding the config_inc.php file but alas, to no avail so far.
I am wondering first of all, does anybody have successfully setup a similiar environnement of mantis? (i.e. : Mantis on a linux server with authentication against a Windows 2K3 DC). Don't tell me that it is working fine on your windows server only, I am not interested in that. Again, a lot of people don't understand that setup, Mantis is on a Linux server and I want the authentication to be done against a Windows 2003 Domain Controler.
And if yes, what is the problem with my setup in config_inc.php? Here's my config file with the server name and our domain name changed :
I am not specifying the LDAP port since I am using the default one. Also after reading for 10 times in a row the web page regarding the configuration for the authentication mechanism -http://www.mantisbt.org/manual/manual.c ... cation.php. I am wondering what is the $g_ldap_uid_field = 'sAMAccountName'; This account name doesn't mean anything to me. I mean, do we have to enter the name of an actual existing account? Or is this line more related to Novell LDAP? I have tried with the 'cn' as per the suggestion in a message on that same web page. If I can make it work, I would definitively be posting a HOW TO for this specific setup since I didn't find anything helpful so far.$g_login_method = 'LDAP';
$g_ldap_server = 'ldaps://servername.domain.local/';
$g_ldap_root_dn = 'dc=domain, dc=local';
$g_ldap_uid_field = 'cn';
$g_use_ldap_email = 'OFF';
$g_ldap_bind_dn = 'ou=Users, dc=domain, dc=local';
$g_ldap_protocol_version = 3;
Thank you in advances for any useful advices!
PS: forgot to mention that I am running Mantis 1.0.7 on Apache 2.0. Also I already have Apache authentication working against the same Win2k3 DC.
DGhost