Dear all,

I am trying to instal courire-imap with auth with our Sun Active Directory 
server. On my Email server, I built courier-imap with openldpa , then configure 
it auth with ldap, but when I run authtest, I always get the error as below:

authdaemond: [ID 702911 mail.debug] received userid lookup request: xxx
 authdaemond: [ID 702911 mail.debug] authldap: trying this module
 authdaemond: [ID 702911 mail.debug] selected ldap protocol version 3
authdaemond: [ID 702911 mail.debug] binding to LDAP server as DN 
'cn=Manager,dc=XXX,dc=com,dc=au'
 authdaemond: [ID 702911 mail.error] ldap_simple_bind_s failed: Can't contact 
LDAP server
 authdaemond: [ID 702911 mail.debug] selected ldap protocol version 3
 authdaemond: [ID 702911 mail.debug] binding to LDAP server as DN 
'cn=Manager,dc=XXX,dc=com,dc=au'
 authdaemond: [ID 702911 mail.error] ldap_simple_bind_s failed: Can't contact 
LDAP server
 authdaemond: [ID 702911 mail.debug] authldap: TEMPFAIL - no more modules will 
be tried


My authldaprc configure as below:
------------------------------------------------------------------------------------------------------------------
 LDAP_URI                ldap://ldap.XXX.com.au
 LDAP_PROTOCOL_VERSION   3
 LDAP_BASEDN             dc=XXX, dc=com, dc=au
 LDAP_BINDDN             cn=Manager,dc=XXX,dc=com,dc=au
 LDAP_BINDPW             mypassword
 LDAP_TIMEOUT            5
 LDAP_AUTHBIND           1      
 LDAP_MAIL               mail   
 LDAP_FILTER             (objectClass=inetOrgPerson)
 LDAP_HOMEDIR            homeDirectory
 LDAP_MAILDIR            mailbox     
 LDAP_FULLNAME           cn
 LDAP_CRYPTPW            userPassword
 LDAP_UID                uidNumber
 LDAP_GID                gidNumber
-------------------------------------------------------------------------

Any idea for this error?

Thanks.

Weiting Chen
 
_________________________________________________________________
用手机MSN聊天写邮件看空间,无限沟通,分享精彩!
http://mobile.msn.com.cn/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to