On Tue, 6 Apr 2004, Mike Iles wrote:
>Hi Andreas,
>Binc IMAP seems able to deal with the checkpw program because I'm now
>getting past the authentication stage, but I'm curious to know why
>checkpw doesn't seem to work when I call it directly.
>I ran strace on it and have attached the output. Line 21 shows the
>password being read from the input and line 92 shows the password being
>read from ~/Maildir/.password. I'm curious to know what else can be
>deduced from this log.

Did you run the printf test as a regular user? If so, then the setgroups()
call getting permission denied would probably have caused the fault. Only
root is allowed to call setgroups().

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."

Reply via email to