Cyrus SASL Hack: Always pass authentication for one host

2008-12-18 Thread ram
I am trying to write a hack into pam and always pass authentication for a particular host So I modified pam_mysql.c , but the issue is for cyrus I am always getting rhost as null This is what I put in pam_mysql.c PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh, int flags,

Re: Cyrus SASL Hack: Always pass authentication for one host

2008-12-18 Thread Dan White
ram wrote: I am trying to write a hack into pam and always pass authentication for a particular host So I modified pam_mysql.c , but the issue is for cyrus I am always getting rhost as null This is what I put in pam_mysql.c PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh,

Re: Cyrus SASL Hack: Always pass authentication for one host

2008-12-18 Thread Andreas Winkelmann
Am Donnerstag 18 Dezember 2008 15:19:23 schrieb ram: I am trying to write a hack into pam and always pass authentication for a particular host So I modified pam_mysql.c , but the issue is for cyrus I am always getting rhost as null This is what I put in pam_mysql.c PAM_EXTERN int