Re: pam support in sasl2 (solved)

2002-12-13 Thread Matt Selsky
I found the problem with doing PAM auth against saslauthd. My local pam authentication module passed a NULL appdata_ptr to the conversation function. We have fixed our pam to pass this pointer correctly and now PAM auth works :-) Sorry for all the trouble. I looked through the old sasl 1.5.28

Re: pam support in sasl2

2002-12-11 Thread Matt Selsky
This patch to auth_pam.c allows me to authenticate using pam and saslauthd. The sasl pam code seems to try to use the PAM_SILENT flag to tell the pam module that it doesn't need to prompt for the password. I don't think this is standard, but I could be wrong. Anyways, I'm told that pam code ne

pam support in sasl2

2002-12-11 Thread Matt Selsky
I have been using sasl-1.5.27 with sendmail-8.12.3 (using PAM authentication and the PLAIN mechanism). Now I'm trying to get sasl-2 going since I'm trying to set up a cyrus-imapd installation. However, I've noticed some differences in the PAM support. I built sasl2 with PAM support and withou