[Dovecot] newbie question dovecot and ldap

"Fábio M. Catunda" fcatunda at contactnet.com.br
Sun Mar 9 16:21:43 EET 2008


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==
>



More information about the dovecot mailing list