Sorry for my english but I need help.
I don't know if all that I do is correct. No, I know I do a mistake but I don't know where.
- I connect with administrator/root
- I active LDAP in config_inc.php
- I restart Apache
- I creat a new user
- Mantis show 3 warning and create the user
- I logout
- try connection with user/password of domain : Your account may be disabled or blocked or the username/password you entered is incorrect.
When I modify anything on parameters for LDAP, I obtain an ERROR #1400
I don't know why and where search ... No log, no error, nothing
thanks for your attention
config_inc.php
Code: Select all
<?php
$g_hostname = "server2";
$g_db_type = "mssql";
$g_database_name = "bugtracker";
$g_db_username = "mantis";
$g_db_password = "mantis";
$g_login_method=LDAP;
$g_ldap_server="ldap://server3.abc.ad.job.com/";
$g_ldap_port=389;
$g_ldap_root_dn="DC=abc,DC=ad,DC=job,DC=com";
$g_ldap_bind_dn = "CN=Family name\, name,OU=Town,OU=Users,OU=Town Hub,DC=abc,DC=ad,DC=boulot,DC=com";
$g_ldap_bind_passwd = "password";
$g_use_ldap_email = OFF;
$g_ldap_uid_field = "sAMAccountName";
$ldap_protocol_version=3;
$g_smtp_host="fr-smtp.abc.ad.job.com";
$g_validate_email = OFF;
?>
Code: Select all
SYSTEM WARNING: ldap_search() [function.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
Server 1 : Windows Server 2003
Mantis : 1.1.0
Apache 2.0.*
PHP 5.2.5
Server 2 : Windows Server 2000
SQL Server 2000
Server 3 : Windows Server 2003 ( AD )
Server 4 : Windows Server 2000 Exchange