[Dovecot] newbie question dovecot and ldap
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);
Joseph Norris, on 3/7/2008 4:55 PM, said the following:
Please let me know how I can troubleshoot this - driving me crazy!
Well, first, it would help if you would provide at least a few clues about your system...
Dovecot version? OS/platform/version? Dovecot -n output?
This is kind of standard info you should provide when asking for help on any software...
--
Best regards,
Charles
Sorry about that:
Redhat 5.0
base_dir: /var/run/dovecot/ protocols: imap imaps listen: *:143 login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login login_greeting_capability: yes login_process_size: 64 mail_location: maildir:~/Maildir auth default: mechanisms: plain login username_format: %Lu verbose: yes debug: yes debug_passwords: yes passdb: driver: pam passdb: driver: passwd passdb: driver: ldap args: /etc/dovecot-ldap.conf userdb: driver: passwd
Linux 2.6.18-53.1.13.el5 #1 SMP Mon Feb 11 13:27:27 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Do you need more than this?
Charles Marcus wrote:
Joseph Norris, on 3/7/2008 4:55 PM, said the following:
Please let me know how I can troubleshoot this - driving me crazy!
Well, first, it would help if you would provide at least a few clues about your system...
Dovecot version? OS/platform/version? Dovecot -n output?
This is kind of standard info you should provide when asking for help on any software...
-- 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);
Hi,
It looks like that this user does not exist: "LDAP: binding failed (dn cn=natsciadmin,ou=Special Users,dc=ucmerced,dc=edu): No such object "
Try to bind with Manager (if you have such user), just to be sure!
Regards,
Fábio Catunda!
Joseph Norris escreveu:
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==
participants (3)
-
"Fábio M. Catunda"
-
Charles Marcus
-
Joseph Norris