10 May
2011
10 May
'11
6:13 p.m.
On 11.5.2011, at 1.10, Steven King wrote:
Turning on auth debugging
May 10 18:09:22 auth(default): Info: shadow(mjb,69.2.98.5): lookup May 10 18:09:22 auth(default): Info: shadow(mjb,69.2.98.5): unknown user
These messages suggest that the auth mechanisms can't find the user. Though the user clearly exists in both /etc/passwd and /etc/shadow.
getspnam() doesn't see the user existing. There are 3 possibilies that I can think of:
the user truely doesn't exist in there
the file can't be opened due to auth process being run without root privileges (default in v2.0) - dovecot -n output would show this
SELinux or similar preventing Dovecot from accessing /etc/shdadow