Hi, I'm using courier-imap-1.2.3 with openldap-2.0.11 and my system goes on,
my problem is that when I upgrade to a mayor version of courier-imap the
system doesn't work.
For example with courier-imap-1.3.8.2:
authldaprc:
LDAP_SERVER my.ldap.com
LDAP_PORT 389
LDAP_BASEDN ou=mail, o=system
LDAP_BINDDN cn=admin, ou=users, ou=administrative, o=system
LDAP_BINDPW password
LDAP_TIMEOUT 10
LDAP_MAIL mailID
LDAP_DOMAIN default.com
LDAP_HOMEDIR mailMessageStore
LDAP_CLEARPW mailPassword (or LDAP_CRYPTPW mailPassword)
With:
authldaplib.c:#define DEBUG_LDAP 1
#telnet localhost 110
Trying 127.0.0.1...
Connected to goa.
Escape character is '^]'.
+OK Hello there.
user us...@domain.com
+OK Password required.
pass userpassword
-ERR Login failed.
In /var/log/messages:
Jul 2 18:58:14 goa authdaemond.ldap: Hostname: my.ldap.com:389
Jul 2 18:58:14 goa authdaemond.ldap: UID: 0
Jul 2 18:58:14 goa authdaemond.ldap: GID: 0
Jul 2 18:58:14 goa authdaemond.ldap: ldapconnect end
Jul 2 18:58:14 goa authdaemond.ldap: BindDn: cn=admin, ou=users,
ou=administrative, o=system
BindPw: password
Jul 2 18:58:14 goa authdaemond.ldap: Nombre de resulat: 1
Jul 2 18:58:14 goa authdaemond.ldap: DN: mailID=us...@domain.com,
ou=domain.com, ou=mail, o=system
Jul 2 18:58:14 goa authdaemond.ldap: after ldap_first_entry
Jul 2 18:58:14 goa authdaemond.ldap: copy_value mailMessageStore:
/mailbox1/us...@domain.com/
Jul 2 18:58:14 goa authdaemond.ldap: copy_value mailMessageStore:
/mailbox1/us...@domain.com/
Jul 2 18:58:14 goa authdaemond.ldap: copy_value mailPassword: kkHqcCGBfH9Oc
In /var/log/maillog:
Jul 2 18:57:46 goa pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul 2 18:58:08 goa pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1]
I probe with a local filesystem for mailbox and with LDAP_CLEARPW and
doesn't not work over mayor version than 1.2.3.
Any idea?
Thanks.
JM