|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Turba and LDAP problems : Read Failure : (0) SuccessHello everybody !
Here's my first post here, and I have problems :) Hope someone can help... I have problems with my turba setup, configuring to use a LDAP Address Book. Here are the symptoms : When I search my Address Book for something existing, it works : 2009-11-04T10:23:14.030291+00:00 www HORDE[14535]: [turba] LDAP query by Turba_Driver_ldap::_search(): user = julien@..., root = ou=Shared Address Book,dc=gormotte,dc=info (ldap); filter = "(&(cn=*gor*))"; attributes = "dn, uid, cn, mail, sn, organizationname, businesscategory, telephonenumber, homepostaladdress, homephone, mobile, description"; deref = "0" ; sizelimit = 0 [pid 14535 on line 191 of "/usr/local/www/horde/turba/lib/Driver/ldap.php"] 2009-11-04T10:23:14.214605+00:00 www HORDE[14535]: [turba] Max memory usage: 8650752 bytes [pid 14535 on line 339 of "/usr/local/www/horde/lib/Horde/Registry.php"] I have my result, it's ok. I can add contacts, too (nothing in the logs, for this, only a message with max memory usage) But, when searching for something that does not exists : 2009-11-04T10:26:31.023995+00:00 www HORDE[14537]: [turba] LDAP query by Turba_Driver_ldap::_search(): user = julien@..., root = ou=Address Book,uid=julien,ou=People,dc=gormotte,dc=info (ldap); filter = "(&(cn=*oiaehl*))"; attributes = "dn, uid, cn, mail, sn, organizationname, businesscategory, homepostaladdress, homephone, mobile, description"; deref = "0" ; sizelimit = 0 [pid 14537 on line 191 of "/usr/local/www/horde/turba/lib/Driver/ldap.php"] 2009-11-04T10:26:31.029961+00:00 www HORDE[14537]: [turba] Échec de lecture : (0) Success [pid 14537 on line 176 of "/usr/local/www/horde/lib/Horde/Notification.php"] (Just in case, Échec de lecture means Read failure) In the interface, It says : Échec de lecture : (0) Success which means Read Error : 0 success Meanwhile, the LDAP server says : 2009-11-04T10:29:56.103590+00:00 ldap slapd[44417]: conn=111 fd=16 ACCEPT from IP=10.0.0.3:56019 (IP=0.0.0.0:389) 2009-11-04T10:29:56.104244+00:00 ldap slapd[44417]: conn=111 op=0 BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" method=128 2009-11-04T10:29:56.104829+00:00 ldap slapd[44417]: conn=111 op=0 BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" mech=SIMPLE ssf=0 2009-11-04T10:29:56.106199+00:00 ldap slapd[44417]: conn=111 op=0 RESULT tag=97 err=0 text= 2009-11-04T10:29:56.107910+00:00 ldap slapd[44417]: conn=112 fd=19 ACCEPT from IP=10.0.0.3:19615 (IP=0.0.0.0:389) 2009-11-04T10:29:56.108218+00:00 ldap slapd[44417]: conn=112 op=0 BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" method=128 2009-11-04T10:29:56.108521+00:00 ldap slapd[44417]: conn=112 op=0 BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" mech=SIMPLE ssf=0 2009-11-04T10:29:56.108813+00:00 ldap slapd[44417]: conn=112 op=0 RESULT tag=97 err=0 text= 2009-11-04T10:29:56.123744+00:00 ldap slapd[44417]: conn=111 op=1 SRCH base="ou=Address Book,uid=julien,ou=People,dc=gormotte,dc=info" scope=1 deref=0 filter="(&(cn=*oiaehl*))" 2009-11-04T10:29:56.124717+00:00 ldap slapd[44417]: conn=111 op=1 SRCH attr=dn uid cn mail sn organizationname businesscategory homepostaladdress homephone mobile description 2009-11-04T10:29:56.125312+00:00 ldap slapd[44417]: conn=111 op=1 SEARCH RESULT tag=101 err=0 nentries=0 text= 2009-11-04T10:29:56.172056+00:00 ldap slapd[44417]: conn=111 op=2 UNBIND 2009-11-04T10:29:56.172627+00:00 ldap slapd[44417]: conn=111 fd=16 closed 2009-11-04T10:29:56.173115+00:00 ldap slapd[44417]: conn=112 op=1 UNBIND 2009-11-04T10:29:56.173835+00:00 ldap slapd[44417]: conn=112 fd=19 closed Here is my source.php configuration section : 432 $_ldap_uid = Auth::getBareAuth(); 433 $_ldap_basedn = 'dc=gormotte,dc=info'; 434 $cfgSources['user_ldap'] = array( 435 'title' => _("Annuaire Personnel"), 436 'type' => 'ldap', 437 'params' => array( 438 'server' => 'ldap', 439 'tls' => false, 440 'root' => 'ou=Address Book,' . 'uid=' . $_ldap_uid . ',ou=People,' . $_ldap_basedn, 441 'bind_dn' => 'uid=' . $_ldap_uid . ',ou=People,' . $_ldap_basedn, 442 'bind_password' => Auth::getCredential('password'), 443 'dn' => array('uid'), 444 'objectclass' => array('top', 445 'person', 446 'inetOrgPerson', 447 'organizationalPerson'), 448 'scope' => 'one', 449 'charset' => 'utf-8', 450 'version' => 3 451 ), 452 'map' => array( 453 '__key' => 'dn', 454 '__uid' => 'uid', 455 // From horde.schema: 456 // '__type' => 'turbaType', 457 // '__members' => 'turbaMembers', 458 'name' => 'cn', 459 'email' => 'mail', 460 'lastname' => 'sn', 461 'company' => 'organizationname', 462 'businessCategory' => 'businesscategory', 463 'homeAddress' => 'homepostaladdress', 464 'homePhone' => 'homephone', 465 'cellPhone' => 'mobile', 466 'notes' => 'description', 467 ), 468 'search' => array( 469 'name', 470 'email', 471 'businessCategory', 472 'homePhone', 473 'workPhone', 474 'cellPhone', 475 'homeAddress' 476 ), 477 'strict' => array( 478 'dn', 479 ), 480 'approximate' => array( 481 'cn', 482 ), 483 'export' => true, 484 'browse' => true, 485 ); There is also a second entry for another address book, but with exactly the same setup (the first is the personal one, and the second a shared one) Any help would be very appreciated :) Julien Gormotte ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- Turba mailing list - Join the hunt: http://horde.org/bounties/#turba Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: turba-unsubscribe@... |
|
|
Re: Turba and LDAP problems : Read Failure : (0) Success From DIMP, there is something to add contacts in the Address Book to
(in message reading, add new contact), it does not work too... And adding contacts via turba is ok. I forgot to precise my versions, too : I use FreeBSD 8.0 nginx 0.7.62 PHP 5.2.11 openldap-server-2.4.19 And for horde : Horde 3.3.5 IMP 4.3.5 DIMP 1.1.3 turba 2.3.2 Julien Julien Gormotte <julien@...> a écrit : > Hello everybody ! > > Here's my first post here, and I have problems :) Hope someone can help... > > I have problems with my turba setup, configuring to use a LDAP Address Book. > Here are the symptoms : > When I search my Address Book for something existing, it works : > 2009-11-04T10:23:14.030291+00:00 www HORDE[14535]: [turba] LDAP > query by Turba_Driver_ldap::_search(): user = julien@..., > root = ou=Shared Address Book,dc=gormotte,dc=info (ldap); filter = > "(&(cn=*gor*))"; attributes = "dn, uid, cn, mail, sn, > organizationname, businesscategory, telephonenumber, > homepostaladdress, homephone, mobile, description"; deref = "0" ; > sizelimit = 0 [pid 14535 on line 191 of > "/usr/local/www/horde/turba/lib/Driver/ldap.php"] > 2009-11-04T10:23:14.214605+00:00 www HORDE[14535]: [turba] Max > memory usage: 8650752 bytes [pid 14535 on line 339 of > "/usr/local/www/horde/lib/Horde/Registry.php"] > > I have my result, it's ok. > I can add contacts, too (nothing in the logs, for this, only a > message with max memory usage) > > But, when searching for something that does not exists : > 2009-11-04T10:26:31.023995+00:00 www HORDE[14537]: [turba] LDAP > query by Turba_Driver_ldap::_search(): user = julien@..., > root = ou=Address Book,uid=julien,ou=People,dc=gormotte,dc=info > (ldap); filter = "(&(cn=*oiaehl*))"; attributes = "dn, uid, cn, > mail, sn, organizationname, businesscategory, homepostaladdress, > homephone, mobile, description"; deref = "0" ; sizelimit = 0 [pid > 14537 on line 191 of "/usr/local/www/horde/turba/lib/Driver/ldap.php"] > 2009-11-04T10:26:31.029961+00:00 www HORDE[14537]: [turba] Échec de > lecture : (0) Success [pid 14537 on line 176 of > "/usr/local/www/horde/lib/Horde/Notification.php"] > (Just in case, Échec de lecture means Read failure) > In the interface, It says : > Échec de lecture : (0) Success > which means Read Error : 0 success > > Meanwhile, the LDAP server says : > 2009-11-04T10:29:56.103590+00:00 ldap slapd[44417]: conn=111 fd=16 > ACCEPT from IP=10.0.0.3:56019 (IP=0.0.0.0:389) > 2009-11-04T10:29:56.104244+00:00 ldap slapd[44417]: conn=111 op=0 > BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" method=128 > 2009-11-04T10:29:56.104829+00:00 ldap slapd[44417]: conn=111 op=0 > BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" mech=SIMPLE ssf=0 > 2009-11-04T10:29:56.106199+00:00 ldap slapd[44417]: conn=111 op=0 > RESULT tag=97 err=0 text= > 2009-11-04T10:29:56.107910+00:00 ldap slapd[44417]: conn=112 fd=19 > ACCEPT from IP=10.0.0.3:19615 (IP=0.0.0.0:389) > 2009-11-04T10:29:56.108218+00:00 ldap slapd[44417]: conn=112 op=0 > BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" method=128 > 2009-11-04T10:29:56.108521+00:00 ldap slapd[44417]: conn=112 op=0 > BIND dn="uid=julien,ou=People,dc=gormotte,dc=info" mech=SIMPLE ssf=0 > 2009-11-04T10:29:56.108813+00:00 ldap slapd[44417]: conn=112 op=0 > RESULT tag=97 err=0 text= > 2009-11-04T10:29:56.123744+00:00 ldap slapd[44417]: conn=111 op=1 > SRCH base="ou=Address Book,uid=julien,ou=People,dc=gormotte,dc=info" > scope=1 deref=0 filter="(&(cn=*oiaehl*))" > 2009-11-04T10:29:56.124717+00:00 ldap slapd[44417]: conn=111 op=1 > SRCH attr=dn uid cn mail sn organizationname businesscategory > homepostaladdress homephone mobile description > 2009-11-04T10:29:56.125312+00:00 ldap slapd[44417]: conn=111 op=1 > SEARCH RESULT tag=101 err=0 nentries=0 text= > 2009-11-04T10:29:56.172056+00:00 ldap slapd[44417]: conn=111 op=2 UNBIND > 2009-11-04T10:29:56.172627+00:00 ldap slapd[44417]: conn=111 fd=16 closed > 2009-11-04T10:29:56.173115+00:00 ldap slapd[44417]: conn=112 op=1 UNBIND > 2009-11-04T10:29:56.173835+00:00 ldap slapd[44417]: conn=112 fd=19 closed > > Here is my source.php configuration section : > 432 $_ldap_uid = Auth::getBareAuth(); > 433 $_ldap_basedn = 'dc=gormotte,dc=info'; > 434 $cfgSources['user_ldap'] = array( > 435 'title' => _("Annuaire Personnel"), > 436 'type' => 'ldap', > 437 'params' => array( > 438 'server' => 'ldap', > 439 'tls' => false, > 440 'root' => 'ou=Address Book,' . 'uid=' . > $_ldap_uid . ',ou=People,' . $_ldap_basedn, > 441 'bind_dn' => 'uid=' . $_ldap_uid . > ',ou=People,' . $_ldap_basedn, > 442 'bind_password' => Auth::getCredential('password'), > 443 'dn' => array('uid'), > 444 'objectclass' => array('top', > 445 'person', > 446 'inetOrgPerson', > 447 'organizationalPerson'), > 448 'scope' => 'one', > 449 'charset' => 'utf-8', > 450 'version' => 3 > 451 ), > 452 'map' => array( > 453 '__key' => 'dn', > 454 '__uid' => 'uid', > 455 // From horde.schema: > 456 // '__type' => 'turbaType', > 457 // '__members' => 'turbaMembers', > 458 'name' => 'cn', > 459 'email' => 'mail', > 460 'lastname' => 'sn', > 461 'company' => 'organizationname', > 462 'businessCategory' => 'businesscategory', > 463 'homeAddress' => 'homepostaladdress', > 464 'homePhone' => 'homephone', > 465 'cellPhone' => 'mobile', > 466 'notes' => 'description', > 467 ), > 468 'search' => array( > 469 'name', > 470 'email', > 471 'businessCategory', > 472 'homePhone', > 473 'workPhone', > 474 'cellPhone', > 475 'homeAddress' > 476 ), > 477 'strict' => array( > 478 'dn', > 479 ), > 480 'approximate' => array( > 481 'cn', > 482 ), > 483 'export' => true, > 484 'browse' => true, > 485 ); > > There is also a second entry for another address book, but with > exactly the same setup (the first is the personal one, and the > second a shared one) > > Any help would be very appreciated :) > > Julien Gormotte > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > -- > Turba mailing list - Join the hunt: http://horde.org/bounties/#turba > Frequently Asked Questions: http://horde.org/faq/ > To unsubscribe, mail: turba-unsubscribe@... > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- Turba mailing list - Join the hunt: http://horde.org/bounties/#turba Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: turba-unsubscribe@... |
| Free embeddable forum powered by Nabble | Forum Help |