On Thu, 01 Feb 2001 22:43:54 GMT, Sam Varshavchik wrote:
> > I only want to use authpam for the time being, however, if I put it in
> > /usr/local/share/sqwebmail/authmodulelist as the only authentication
> > method it fails to login. On the other hand, if I put it in
> > /usr/local/share/sqwebmail/authdaemonrc in the authmodulelist option
> > and place authdaemon in the authmodulelist file it works. Maybe I
> > didn't explain it very well.
>
> You explained exactly how it's supposed to work.
So I can't authenticate without authdaemon? If that's not the case,
any idea why it's not working then? For the time being I don't want to
use authdaemon but just authpam. Here are the results of the authtest
program:
[root@catania authlib]# ./authtest -s webmail -m authdaemon andy sqwebmail
Authenticated: module authdaemon
Home directory: /home/andy
UID/GID: 500/500
AUTHADDR=andy
AUTHFULLNAME=Andy Bradford
[root@catania authlib]# ./authtest -s webmail -m authpam andy sqwebmail
Authentication FAILED!
The only authentication module listed in authdaemonrc is authpam... I
have attached to the authdaemond with strace as well as using strace to
follow authtest, but there don't seem to be any problems.
Excuse my ignorance if this is not possible. :-) All the documentation
seems to indicate otherwise---I believe it is possible. It's almost as
if authpam is being used differently by the authdaemond.
Thanks for your help.
Andy
p.s. I could send along the strace, but I don't know know if that would
help. I wish I had more time to debug this properly. :-)