ctypes wrapping libpam.so on FreeBSD 6.1 - Python Bus Error
Ganesan Rajagopal
rganesan at myrealbox.com
Thu Jul 13 08:37:13 EDT 2006
>>>>> "Martin" == Martin P Hellwig <mhellwig at xs4all.nl> writes:
> Now according to OpenPAM documentation all sessions start with pam_start().
> According to the man page it should contain this:
> pam_start(const char *service, const char *user,
> const struct pam_conv *pam_conv, pam_handle_t **pamh)
Note that pam_conv is a structure. Passing a string 'PAM_PROMPT_ECHO_ON' and
not passing a pointer for getting the pam_handle_t are both candidates to
cause a crash.
Ganesan
--
Ganesan Rajagopal
More information about the Python-list
mailing list