I can not auth to ADS (windows 2003 and 2008) with mantis
get this errors on the login page:
SYSTEM WARNING: ldap_search(): Search: Operations error
SYSTEM WARNING: ldap_get_entries(): supplied argument is not a valid ldap
result resource
SYSTEM WARNING: ldap_free_result(): supplied argument is not a valid ldap
result resource
1. cd /srv/www/htdocs
2. tar xvfz mantis-1.2.0a2.tar.gz
3. mv mantis-1.2.0a2 mantis
4. mysql
mysql> create database mantis12;
mysql> exit
5. open Browser to http://<ip-address-from-system>/mantis [^]
6. configure (admin)
7. open with browser http://<ip-address-from-system>/mantis [^]
8. vi /srv/www/htdocs/mantis/config_inc.php
add:
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'mantis12';
$g_db_username = 'mantis';
$g_db_password = 'password';
$g_login_method = LDAP;
$g_ldap_server = 'ldap://server.domain.zzz/';
$g_ldap_port = '389';
$g_ldap_root_dn = 'DC=domain,DC=zzz';
$g_ldap_organization = ''; # e.g.
'(organizationname=*Traffic)'
$g_ldap_uid_field = 'sAMAccountName'; # Use
'sAMAccountName' for Active Directory
$g_ldap_bind_dn = '[EMAIL PROTECTED]';
$g_ldap_bind_passwd = 'password';
$g_use_ldap_email = 'OFF'; # Should we send to the LDAP
email address or what MySql tells us
# The LDAP Protocol Version, if 0, then the protocol version is not set.
$g_ldap_protocol_version = 3;
$g_allow_signup = 'OFF';
$g_use_ldap_email = 'OFF';
$g_lost_password_feature = 'OFF';
?>
phpldapview:
---------------
config/config.php
$ldapservers->SetValue($i,'server','host','192.168.1.69');
$ldapservers->SetValue($i,'server','name','server.domain.zzz');
$ldapservers->SetValue($i,'server','port','389');
$ldapservers->SetValue($i,'login','dn','[EMAIL PROTECTED]');
$ldapservers->SetValue($i,'login','pass','password');
works fine
ldapsearch -x -b "DC=DOMAIN,DC=ZZZ" -D "CN=LDAPVIEWUSER,ou=Service
Accounts,ou=City,dc=DOMAIN,dc=ZZZ" -w "password" -u "sAMAccountName" -h
server.domain.zzz
works fine
What did i wrong ?
thanks
--
Sensationsangebot verlängert: GMX FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K1308T4569a
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help