Hello,
Please let me know how I can troubleshoot this - driving me crazy!
I have the following dovecot-ldap.conf file:
hosts = ldap.ucmerced.edu
dn=cn=natsciadmin,ou=Special Users,dc=ucmerced,dc=edu
dnpass=********
ldap_version = 3
base = ou=People,dc=ucmerced,dc=edu deref = never
scope = subtree
user_attrs = uid
user_filter = (&(ou=Natural Sciences)(organizationalStatus=active)(uid=%u))
pass_attrs = uid=user,userPassword=password
pass_filter = (&(ou=Natural Sciences)(organizationalStatus=active)(uid=%u))
default_pass_scheme = CRYPT
I am getting the following errors in my log for my test user:
Mar 7 11:09:44 malaga dovecot: auth(default): LDAP: binding failed (dn
cn=natsciadmin,ou=Special Users,dc=ucmerced,dc=edu): No such object
Mar 7 11:10:26 malaga dovecot: auth(default): client in: AUTH 1
PLAIN service=IMAP secured lip=169.236.129.236 rip=169.236.128.182
Mar 7 11:10:26 malaga dovecot: auth(default): client out: CONT 1
Mar 7 11:10:26 malaga dovecot: auth(default): client in: CONT 1
AGpub3JyaXMAQSR0cjAxZGtpbGxlcg==
Mar 7 11:10:28 malaga dovecot: auth(default):
pam(jnorris,169.236.128.182): pam_authenticate() failed: Authentication
failure
Mar 7 11:10:28 malaga dovecot: auth(default):
passwd(jnorris,169.236.128.182): password mismatch
Mar 7 11:10:28 malaga dovecot: auth(default):
ldap(jnorris,169.236.128.182): pass search:
base=ou=People,dc=ucmerced,dc=edu scope=subtree filter=(&(ou=Natural
Sciences)(organizationalStatus=active)(uid=jnorris)) fields=uid,userPassword
Mar 7 11:10:28 malaga dovecot: auth(default): LDAP: binding failed (dn
cn=natsciadmin,ou=Special Users,dc=ucmerced,dc=edu): No such object
Mar 7 11:10:30 malaga dovecot: auth(default): client out: FAIL 1
user=jnorris temp
Mar 7 11:10:30 malaga dovecot: auth(default): client in: AUTH 2
PLAIN service=IMAP secured lip=169.236.129.236
rip=169.236.128.182 resp=AGpub3JyaXMAQSR0cjAxZGtpbGxlcg==
-- Cell: 209.201.3410 Desk: 209.228.4576 email: jnorris@ucmerced.edu
#Joseph Norris (Linux/Apache/Mysql/Perl - what else is there?) print @c=map chr $_+100,(6,17,15,16,-68,-3,10,11, 16,4,1, 14,-68,12,1,14,8, -68,4,-3,-1,7,1,14,-68, -26,11,15,1,12, 4,-68,-22,11,14,14,5,15,-90);