hola estoy instalando un servidor de mail con autenticacion via ldap , el problema que tengo es que no me autentica , he configurado el archivo authdaemonrc
para que autentique con ldap
authmodulelist="authldap authpam"
y el archivo authldaprc con los datos de mi servidor openldap :
##NAME: LDAP_PROTOCOL_VERSION:0
#
# Which version of LDAP protocol to use
LDAP_PROTOCOL_VERSION 3
##NAME: LDAP_BASEDN:0
#
# Look for authentication here:
LDAP_BASEDN ou=People,o=allegra, c=com
##NAME: LDAP_BINDDN:0
#
# You may or may not need to specify the following. Because you've got
# a password here, authldaprc should not be world-readable!!!
LDAP_BINDDN ou=Postfix, o=allegra, c=com
LDAP_BINDPW {CRYPT}g/GwsXtG9rPSY
##NAME: LDAP_TIMEOUT:0
#
# Timeout for LDAP search and connection
LDAP_TIMEOUT 5
##NAME: LDAP_AUTHBIND:0
#
# Define this to have the ldap server authenticate passwords. If LDAP_AUTHBIND
# the password is validated by rebinding with the supplied userid and password.
# If rebind succeeds, this is considered to be an authenticated request. This
# does not support CRAM-MD5 authentication, which requires clearPassword.
# Additionally, if LDAP_AUTHBIND is 1 then password changes are done under
# the credentials of the user themselves, not LDAP_BINDDN/BINDPW
#
# LDAP_AUTHBIND 1
##NAME: LDAP_MAIL:0
#
# Here's the field on which we query
LDAP_MAIL mail
##NAME: LDAP_FILTER:0
#
# This LDAP filter will be ANDed with the query for the field defined above
# in LDAP_MAIL. So if you are querying for mail, and you have LDAP_FILTER
# defined to be "(objectClass=CourierMailAccount)" the query that is performed
# will be "(&(objectClass=CourierMailAccount)(mail=<someAcco unt>))"
#
LDAP_FILTER (!(quota=-1))
##NAME: LDAP_DOMAIN:0
#
# The following default domain will be appended, if not explicitly specified.
#
LDAP_DOMAIN allegra.com
##NAME: LDAP_GLOB_IDS:0
#
# The following two variables can be used to set everybody's uid and gid.
# This is convenient if your LDAP specifies a bunch of virtual mail accounts
# The values can be usernames or userids:
#
LDAP_GLOB_UID vmail
LDAP_GLOB_GID vmail
##NAME: LDAP_HOMEDIR:0
#
# We will retrieve the following attributes
#
# The HOMEDIR attribute MUST exist, and we MUST be able to chdir to it
LDAP_HOMEDIR homeDirectory
-----------------------------------------------------
y cuando por telnet quiero pobrar el correo :
telnet allegra.com 110
despues de poner usuario y pass me tira este error
-ERR Temporary problem, please try again later
Connection closed by foreign host.
y el mail.log me dice
Mar 3 15:44:18 ad03 authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
Mar 3 15:44:18 ad03 authdaemond: ldap_simple_bind_s failed: Can't contact LDAP server
Mar 3 15:44:18 ad03 courierpop3login: LOGIN FAILED, [email protected], ip=[::ffff:127.0.0.1]
segui este tutorial http://bulmalug.net/impresion.phtml?nIdNoticia=2013
el servidor ldap esta arriba porque por phpldamadmin puedar dar de alta usuarios y mas.
desde ya muchas gracias