Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have setup my Ubuntu 13.4 machine with LDAP authentication. However when I try to send email, I am getting the following message:

 auth: pam_unix(dovecot:account): account has expired (account expired)
Sep  3 19:05:03  auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=XXXX rhost=::1  user=XXXX

Really not sure where to start... I can id and id and that works fine.

Can anyone provide some guidance?


# /etc/nsswitch.conf
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

# passwd:         compat
# pre_auth-client-config # passwd: files ldap
passwd: files ldap
# group:          compat
# pre_auth-client-config # group: files ldap
group: files ldap
# shadow:         compat
#shadow: files ldap
# pre_auth-client-config # shadow: compat
shadow: files ldap

#eprhosts:          files dns
files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

# netgroup:       nis
# pre_auth-client-config # netgroup: nis
netgroup: nis
share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.