On Wed, 2010-08-04 at 11:07 -0500, C. Bensend wrote:
So it's either
NUL username NUL password
or
username NUL username NUL password
It's username then password.
What about the NUL characters in the middle? Those are important.
Should I try the straight dovecot package instead of the postgresql flavor? I'm not *using* PostgreSQL to authenticate, but it could cause an issue I guess...
I doubt that makes a difference.
One more thing - I ktraced the dovecot processes, and caught the failure:
24165 dovecot-auth RET write 9 24165 dovecot-auth CALL read(0xd,0x8550e034,0x2000) 24165 dovecot-auth PSIG SIGCHLD caught handler=0x1c02a8f0 mask=0x0 24165 dovecot-auth RET read -1 errno 4 Interrupted system call 24165 dovecot-auth CALL write(0x8,0xcfbbfa77,0x1) 24165 dovecot-auth GIO fd 8 wrote 1 bytes "\0"
Does that help at all?
That code is OpenBSD's auth_userokay() call in libc. I don't know if its behavior is correct or not.