> hi there, i have some problems browsing the addressbook > LDAP directory on an exchange mailserver (in internal domain gs.spc). > > when i browse the squirrelmail addressbook on LDAP server it > replies: > > Your search failed with the following error(s): > [LDAP: Users] Can't contact LDAP server > > i have no problem browsing LDAP with simple authentication : > > ldapsearch -x -D "cn=connector,cn=users,dc=gs,dc=spc" -W > > but if i try: > > ldapsearch -D "cn=connector,cn=users,dc=gs,dc=spc" -W > > gives me: > > SASL/GSSAPI authentication started > ldap_sasl_interactive_bind_s: Local error (-2) > additional info: SASL(-1): generic failure: GSSAPI Error: > Miscellaneous failure (Credential cache is empty) > > Any idea about getting the things working on the webmail? > my LDAP conf on config.php is: > > [ldap] command (?=help) > l > 0. my.firewall.it > base: dc=gs,dc=spc > port: 389 > name: LDAP: Users > binddn: cn=connector,cn=users,dc=gs,dc=spc > bindpw: mypassword > > Thanks! ;) How about setting bind protocol to 3 in SquirrelMail LDAP address book configuration? Other option 1. Download test_ldap.phps from SquirrelMail source repository http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/trunk/squirrelmail/contrib/test_ldap.phps?view=log 2. Rename it to test_ldap.php 3. set $ldap_host, $ldap_basedn, $ldap_binddn and $ldap_bindpw according to your setup 4. set $ldap_v3bind to true 5. execute script by opening it in your browser. 6. If connection fails, set $ldap_limit_scope to true. 7. Show results of test script ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users