LDAP Configuration.

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
harpreet_singh
Posts: 14
Joined: 08 Nov 2005, 16:36
Location: Singapore
Contact:

LDAP Configuration.

Post 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
harpreet_singh
Posts: 14
Joined: 08 Nov 2005, 16:36
Location: Singapore
Contact:

Re: LDAP Configuration.

Post by harpreet_singh »

Dear All,

May I have any update on this issue.

With Regards.
Harpreet Singh
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: LDAP Configuration.

Post 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)
Please use Search before posting and read the Manual
harpreet_singh
Posts: 14
Joined: 08 Nov 2005, 16:36
Location: Singapore
Contact:

Re: LDAP Configuration.

Post 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
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: LDAP Configuration.

Post by atrol »

Please use Search before posting and read the Manual
billnelson5

Re: LDAP Configuration.

Post 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.
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: LDAP Configuration.

Post 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
Please use Search before posting and read the Manual
Post Reply