Page 1 of 1

LDAP Configuration.

Posted: 16 Sep 2011, 02:37
by harpreet_singh
Dear All,

May be this is a outdated question.
But I need your help on this request.

I got the requirement for configure our Mantis Server with LDAP.
May I know what are the configurations are required. Please advise Step by step.

Here is our working Setup Details.

OS = Red Hat Enterprise Linux ES release 4
PHP = php –version, PHP 4.3.9 (cgi) (built: Apr 26 2005 05:43:59)
APACHE = httpd –v, Server version: Apache/2.0.52
MYSQL = 4.1.10a
Mantis = 1.1.7

I noticed our php configuration is not compiled with LDAP Option.

<<@ctlmantis:/usr/local/php> more config.nice
#! /bin/sh
#
# Created by configure

'./configure' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-mysql' \
'--prefix=/usr/local/apache2/php' \
'--with-config-file-path=/usr/local/apache2/php' \
'--enable-force-cgi-redirect' \
'--disable-cgi' \
'--with-zlib' \
'--with-gettext' \
'--with-gdbm' \
'--with-gd=//usr/local/apache2/GD' \
"$@"
>>

May I know can I just do like ./configure --with-ldap or I have to re-configure the whole apache.
Taking the advantage of re-compiling, what other options I can use for Mantis.

Advance Thanks for your replies.

Harpreet

Re: LDAP Configuration.

Posted: 20 Sep 2011, 13:04
by harpreet_singh
Dear All,

May I have any update on this issue.

With Regards.
Harpreet Singh

Re: LDAP Configuration.

Posted: 22 Sep 2011, 11:34
by atrol
harpreet_singh wrote: Here is our working Setup Details.

OS = Red Hat Enterprise Linux ES release 4
PHP = php –version, PHP 4.3.9 (cgi) (built: Apr 26 2005 05:43:59)
APACHE = httpd –v, Server version: Apache/2.0.52
MYSQL = 4.1.10a
Mantis = 1.1.7
Quite old environment
As a first step I would try to use a newer PHP (5.x)

Re: LDAP Configuration.

Posted: 22 Sep 2011, 12:54
by harpreet_singh
Hi,

I am ready to do the upgrade of PHP.

Please advise what are the options I should choose to compile the php/apache to make it work.

Regards
Harpreet

Re: LDAP Configuration.

Posted: 22 Sep 2011, 14:00
by atrol

Re: LDAP Configuration.

Posted: 07 Oct 2011, 15:26
by billnelson5
Hi-

I'm not sure if this is the proper place to post this. Please let me know if I should create a new topic. Here goes...

I am currently using Mantis 1.1.7 on Windows 2008 server. We have existing mantis accounts, that were created using the mantis interface with login_method=MD5. We also have 1000+ issues entered into the system.

We've been asked to switch to LDAP for single sign on functionality. To test and accomodate this, I copied our existing mantis database and code,then I installed the php ldap extension, and set login_method=LDAP in the config_defaults_inc.php file. It works just fine and uses LDAP to authenticate new accounts. The problem is that it will not authenticate the existing mantis accounts. Existing account login attempts fail with the message, "Your account may be disabled or blocked or the username/password you entered is incorrect."

Does anyone know how I would set up mantis to use LDAP, and maintain pre-existing accounts and issue assignments? In the meantime I will upgrade to the latest version of mantis and try again.

Thanks in advance.

Re: LDAP Configuration.

Posted: 07 Oct 2011, 16:08
by atrol
billnelson5, I recommend to use another place to get support for LDAP related issues.
The MantisBT core developers with knowledge of LDAP are infrequently following the forum.
Use the mantisbt-help IRC channel irc://irc.freenode.net/mantisbt-help or the mantisbt-help mailing list https://lists.sourceforge.net/lists/lis ... tisbt-help
Maybe user dregad or aother developer will listen and try to give you support