2008年3月7日 星期五

How to Setup Mantis Bug Tracker LDAP on Ubuntu 7.10

Mantis LDAP

Reference: http://forums.mantisbt.org/viewtopic.php?f=3&t=3149&p=9914#p8944

/var/www/bugs/config_inc.php


# --- database variables ---------

# set these values to match your setup
$g_hostname = "localhost";
$g_db_username = "root";
$g_db_password = "p@ssw0rd_here";
$g_database_name = "bugtracker";
$g_db_type = "mysql";

# --- email variables -------------
$g_administrator_email = 'joechiang@phalanxbiotech.com';
$g_webmaster_email = 'joechiang@phalanxbiotech.com';

# the "From: " field in emails
$g_from_email = 'noreply@phalanxbiotech.com';

# the return address for bounced mail
$g_return_path_email = 'joechiang@phalanxbiotech.com';

# --- file upload settings --------
# This is the master setting to disable *all* file uploading functionality
#
# The default value is ON but you must make sure file uploading is enabled
# in PHP as well. You may need to add "file_uploads = TRUE" to your php.ini.
$g_allow_file_upload = ON;


# --- smtp service email variables -------------
$g_phpMailer_method = 2;
$g_smtp_host = 'mail.phalanxbiotech.com';
$g_smtp_username = 'joechiang';
$g_smtp_password = 'joechiang';
?>

/var/www/bugs/core/config_api.php

#LDAP connectivity
$g_login_method = LDAP;
$g_ldap_server = 'ldap://172.20.11.117';
#$g_ldap_port = '389';
$g_ldap_root_dn = 'ou=People, dc=minerva, dc=local';
#$g_ldap_organization = 'Phalanx Biotech';
#$g_ldap_uid_field = 'sAMAccountName';
#$g_use_ldap_email = 'ON';
$g_ldap_bind_dn = 'cn=admin, dc=minerva, dc=local';
$g_ldap_bind_passwd = 'p@ssw0rd_here';
$g_ldap_protocol_version = 3;

沒有留言: