Hello, people !
I'm trying to configure the Courier-imap with ldap to authenticate against
Active Directory 2003 but I had some problems.
The login in Active directory is a number, not the usual nickname, because
here, in my company, the field login is the registration of the user in the
enterprise.
So, the user must connect with your ID that is different of the LHS of the
"email".
Example: login: 014425
name: Marco Moraes
mail : [EMAIL PROTECTED]
Can someone tell me what is wrong ?
Thanks,
Marco Túlio O. de Moraes
*# vi /etc/courier/authldaprc :
LDAP_URI ldap://192.168.1.1
LDAP_SERVER 192.168.1.1
LDAP_PORT 389
LDAP_PROTOCOL_VERSION 3
LDAP_BASEDN dc=domain, dc=com
LDAP_BINDDN cn=user,ou=internet,dc=domain,dc=com
LDAP_BINDPW password123
LDAP_TIMEOUT 60
LDAP_AUTHBIND 1
LDAP_HOMEDIR '/var/vmail'
LDAP_MAILDIR CONCAT("/var/vmail/",mail)
LDAP_MAIL sAMAccountName
LDAP_FILTER (objectclass=*)
LDAP_FULLNAME displayName
LDAP_CLEARPW userPassword
LDAP_GLOB_UID 5000
LDAP_GLOB_GID 5000
*
# vi /etc/courier/authdameonrc
*authmodulelist="authldap"
authmodulelistorig="authldap authcustom authpipe"
daemons=5
authdaemonvar=/var/run/courier/authdaemon
DEBUG_LOGIN=2
DEFAULTOPTIONS=""
LOGGEROPTS=""
*
# authtest 014425
*Authentication FAILED: Input/output error*
# tail -f /var/log/mail.log
*
authdaemond: authldap: trying this module
authdaemond: selected ldap protocol version 3
authdaemond: binding to LDAP server as DN
'cn=user,ou=internet,dc=domain,dc=com', password 'password123'
authdaemond: using search filter: (&(objectclass=*)(sAMAccountName=014425))
authdaemond: ldap_search_st() failed
authdaemond: authldap: TEMPFAIL - no more modules will be tried
*
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users