This is the second machine now and I don't know what's causing the problem
and I need help.
Users, both virtual and real cannot authenticate through pop. I'm using
vmailmgr's checkvpw with pop3. Here's an strace from one of the pop
sessions:
[root@ert /root]# strace -p 23134
select(1, [0], NULL, NULL, {1165, 960000}) = 1 (in [0], left {1156,
90000})
read(0, "USER test\r\n", 128) = 14
select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0})
write(1, "+OK \r\n", 6) = 6
select(1, [0], NULL, NULL, {1200, 0}) = 1 (in [0], left {1195, 160000})
read(0, "PASS testing\r\n", 128) = 15
fcntl(1, F_GETFL) = 0x2 (flags O_RDWR)
close(2) = 0
fcntl(1, F_DUPFD, 2) = 2
close(3) = -1 EBADF (Bad file descriptor)
pipe([3, 4]) = 0
fork() = 23155
close(3) = 0
write(4, "test\testing\0<23134.927645"..., 53) = 53
close(4) = 0
--- SIGCHLD (Child exited) ---
wait4(23155, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 23155
select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0})
write(1, "-ERR authorization failed\r\n", 27) = 27
_exit(1) = ?
The password is definitely set correctly. This is a system with shadow
using pam'd md5 hash as well. I cannot figure it out. There's other
machines with identical setups working fine.
Thanks.