Hi all,
I need some step by step procedure to customize mantis with LDAP. preferred if OpenLDAP. I promise that I will help you in writing a good documentation for that part and if possible for the whole in my free time.
Please help me and I will help you in customizing this beautiful tool.
bye with regards,
Vijay Manohar Rao Gujja
Customizing mantis with LDAP
Moderators: Developer, Contributor
LDAP Help
If your openLDAP is up and running the only thing you have to play with is the config_inc.php file (Mantis Configuration file, located under Mantis directory or on Fedora under /etc/mantis directory).
Add a entry similar with this (I used a CA eTrust LDAP so my setting are a little bit diferent) to you config_inc.php file:
#############################
# Mantis LDAP Settings
#############################
# SET UP the Login Method
$g_login_method = LDAP;
$g_ldap_server = 'ldap://localhost:389';
$g_ldap_root_dn = 'ou=Staff,o=MYHOST,c=com';
$g_ldap_organization = '';
$g_ldap_uid_field = 'uid';
$g_ldap_bind_dn ='cn=lduser,ou=Staff,o=MYHOST,c=com';
$g_ldap_bind_passwd = 'secret_password';
This works fine for my LDAP, If you have problems, just keep in mind that config_inc.php is the only place you can change these setings.
Good luck,
Gabriel
Add a entry similar with this (I used a CA eTrust LDAP so my setting are a little bit diferent) to you config_inc.php file:
#############################
# Mantis LDAP Settings
#############################
# SET UP the Login Method
$g_login_method = LDAP;
$g_ldap_server = 'ldap://localhost:389';
$g_ldap_root_dn = 'ou=Staff,o=MYHOST,c=com';
$g_ldap_organization = '';
$g_ldap_uid_field = 'uid';
$g_ldap_bind_dn ='cn=lduser,ou=Staff,o=MYHOST,c=com';
$g_ldap_bind_passwd = 'secret_password';
This works fine for my LDAP, If you have problems, just keep in mind that config_inc.php is the only place you can change these setings.
Good luck,
Gabriel
Gabriel
-
- Posts: 2
- Joined: 12 Jun 2009, 06:29
Re: Customizing mantis with LDAP
Hi,
Can you tell me what is wrong when this error comes
APPLICATION ERROR #1404
LDAP Extension Not Loaded.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
I followed as advised in http://www.mantisbt.org/forums/viewtopic.php?f=2&t=6073 but could not solve my requirement. I am not using OpenLDAP
Can you tell me what is wrong when this error comes
APPLICATION ERROR #1404
LDAP Extension Not Loaded.
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
I followed as advised in http://www.mantisbt.org/forums/viewtopic.php?f=2&t=6073 but could not solve my requirement. I am not using OpenLDAP
Re: Customizing mantis with LDAP
You have to load (enable) LDAP extension in your php.ini.
Regards,
matejp
Regards,
matejp
Re: Customizing mantis with LDAP
You have to enable (load) extension in PHP. To do this open file php.ini in your PHP directory and enable extension LDAP.