[MASOCH-L] Problema Courier + LDAP

patrick patrick_rsl at yahoo.com.br
Tue Apr 15 08:35:10 -03 2008


Olá pessoaal...
Não estou conseguindo fazer o courier autentica com ldap....

Aí vai meus confs:


#/etc/courier/authdaemonrc

authmodulelist="authldap"
authmodulelistorig="authldap"
daemons=5
version=""
authdaemonvar=/var/run/courier/authdaemon
MAILDIRPATH=Maildir
DEBUG_LOGIN=2
DEFAULTOPTIONS=""

#/etc/courier/authldaprc

LDAP_URI                ldaps://192.168.0.8
LDAP_PROTOCOL_VERSION   3
LDAP_BASEDN             o=patrick
LDAP_BINDDN             cn=admin, o=patrick
LDAP_BINDPW             teste
LDAP_TIMEOUT            15
LDAP_MAIL               mail
LDAP_FILTER             
(&(objectClass=qmailUser)(|(mail=%U@%d)(mailAlternateAddress=%U@%d)))
LDAP_GLOB_UID           240
LDAP_GLOB_GID           240
LDAP_HOMEDIR            homeDirectory
LDAP_MAILDIR            mailbox
LDAP_FULLNAME           cn
LDAP_CLEARPW            clearPassword
LDAP_CRYPTPW            userPassword
LDAP_DEREF              never
LDAP_TLS                0


E aparece o seguinte erro no log quando tento conecta:

Apr 15 08:31:05 notepatrick courierpop3login: Connection, 
ip=[::ffff:192.168.0.8]
Apr 15 08:31:07 notepatrick authdaemond: received auth request, 
service=pop3, authtype=login
Apr 15 08:31:07 notepatrick authdaemond: authldap: trying this module
Apr 15 08:31:07 notepatrick authdaemond: selected ldap protocol version 3
Apr 15 08:31:07 notepatrick authdaemond: binding to LDAP server as DN 
'cn=admin, o=patrick', password 'teste'
Apr 15 08:31:07 notepatrick authdaemond: ldap_simple_bind_s failed: 
Can't contact LDAP server
Apr 15 08:31:07 notepatrick authdaemond: authldap: TEMPFAIL - no more 
modules will be tried
Apr 15 08:31:07 notepatrick courierpop3login: LOGIN FAILED, 
user=sadam at patrick.com.br, ip=[::ffff:192.168.0.8]
Apr 15 08:31:07 notepatrick courierpop3login: authentication error: 
Input/output error


Alguém ai tem alguma idéia de como resolver isso?


PaTricK




More information about the masoch-l mailing list