Hi people!!
I'm having problems when trying to connect thru LDAP. MySQL auth is OK.
$g_login_method = LDAP;
$g_ldap_server = 'ldap://ldap.degesys.net/';
$g_ldap_port = '389';
$g_ldap_root_dn =
'ou=empleados,ou=people,dc=degesys,dc=com';
$g_ldap_organization = ''; # e.g.
'(organizationname=*Traffic)'
$g_ldap_uid_field = 'uid'; # Use 'sAMAccountName'
for Active Directory
$g_ldap_bind_dn = 'uid=proxyuser,cn=config';
$g_ldap_bind_passwd = 'passwd';
$g_use_ldap_email = ON; # Should we send to the
LDAP email address or what MySql tells us
$g_ldap_protocol_version = 0;
When I try to connect LDAP log writes:
[17/Apr/2007:15:28:58 +0200] conn=7837 fd=245 slot=245 connection
from 10.10.3.185 to 10.10.3.185
[17/Apr/2007:15:28:58 +0200] conn=7837 op=0 BIND
dn="uid=proxyuser,cn=config" method=128 version=2
[17/Apr/2007:15:28:58 +0200] conn=7837 op=0 RESULT err=0 tag=97
nentries=0 etime=0 dn="uid=proxyuser,cn=config"
[17/Apr/2007:15:28:58 +0200] conn=7837 op=1 SRCH
base="ou=empleados,ou=people,dc=degesys,dc=com" scope=2
filter="(&(uid=administrator))" attrs="uid dn"
[17/Apr/2007:15:28:58 +0200] conn=7837 op=1 RESULT err=0 tag=101
nentries=0 etime=0
[17/Apr/2007:15:28:58 +0200] conn=7837 op=2 UNBIND
[17/Apr/2007:15:28:58 +0200] conn=7837 op=2 fd=245 closed - U1
I don't know why is lloking for uid=administrator when I tried with
another username... By other hand user administrator is on DB
Mantis SQL debug:
3 total queries executed.
3 unique queries executed.
1 0.0003 SELECT config_id, user_id, project_id, type, value,
access_reqd FROM mantis_config_table
2 0.0004 SELECT id FROM mantis_user_table WHERE username='administrator'
3 0.0003 SELECT * FROM mantis_user_table WHERE id='3'
Why Mantis is asking to DB when should ask to LDAP?
Thans in advance
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help