Use group LDAP with mantis 1.2.0rc1

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
samtgr
Posts: 3
Joined: 29 Oct 2009, 16:05

Use group LDAP with mantis 1.2.0rc1

Post by samtgr »

Hi,
I've installed mantis v1.2.0rc1 and connected to ldap but i have 2 questions :
1. Do i have to create user in mantis before? without creation it on the DB of mantis, it won't to log in and create it implicitely.
2. Can i configure mantis to use ldap group, so i will be able to define the users that have rights to connect to mantis?

Thanks in advance for your help.
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Use group LDAP with mantis 1.2.0rc1

Post by vboctor »

1. The auto-creation of users in MantisBT on first login was added in 1.2.0rc2.
2. The second one is not currently supported, but it is planned for the future.
http://www.mantisbt.org/bugs/view.php?id=9124
http://www.mantisbt.org/bugs/view.php?id=3444
http://www.mantisbt.org/wiki/doku.php?i ... issue:3444

I suggest you contribute your comments to the appropriate bugs.
Migrate your MantisBT to the MantisHub Cloud
samtgr
Posts: 3
Joined: 29 Oct 2009, 16:05

Re: Use group LDAP with mantis 1.2.0rc1

Post by samtgr »

Thanks for reply.
For the first question, the auto creation won't work for me. I have to create the user before or enable sign up.
Here is my config_inc.php.

$g_login_method = LDAP;

/**************************
* MantisBT LDAP Settings *
**************************/

$g_ldap_server = 'ldap://xxxxxxxxxx/';
$g_ldap_port = 389;
$g_ldap_protocol_version = 3;
$g_ldap_root_dn = 'DC=XXXX,DC=XXXX';
/*$g_ldap_group_dn = 'cn=xxxx,cn=xxxx, DC=xxxx,DC=xxxx';*/
/*$g_ldap_organization = '(&(uid=%v)(objectclass=inetOrgPerson))';*/
$g_ldap_uid_field = 'uid';
$g_ldap_bind_dn = 'uid=mantisbind, cn=xxxx, DC=xxxx,DC=xxxx';
$g_ldap_bind_passwd = 'mantisbind';
$g_use_ldap_email = OFF;


thanks in advance.
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Use group LDAP with mantis 1.2.0rc1

Post by vboctor »

Did you upgrade to 1.2.0rc2?
Migrate your MantisBT to the MantisHub Cloud
samtgr
Posts: 3
Joined: 29 Oct 2009, 16:05

Re: Use group LDAP with mantis 1.2.0rc1

Post by samtgr »

No, should i? I think that this version is not recommended for production environnement.
Other question, what about using DB oracle? I won't work for me? i activate oci8 and it still not working. I use Oracle cleint 10.2
and i've created my schema on oracle 10.1 under AIX.

Thanks for your support.
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Re: Use group LDAP with mantis 1.2.0rc1

Post by vboctor »

There has been a lot of LDAP fixes in the 1.2.x branch. I would suggest you do one of the following options:

1. Help out with getting 1.2.x trunk to install on Oracle without issues and hence you can use it (at least when it is out).

2. Checkout the LDAP related fixes and port them back to the 1.1.x release that you are using.
Migrate your MantisBT to the MantisHub Cloud
Post Reply