Re: Help with PAM and ctypes

2007-06-15 Thread Lenard Lindstrom
Chris AtLee wrote: On Jun 11, 6:01 pm, Lenard Lindstrom [EMAIL PROTECTED] wrote: [snip snip snip] if __name__ == __main__: import getpass, os, sys @conv_func def my_conv(nMessages, messages, pResponse, appData): # Create an array of nMessages response objects #

Re: Help with PAM and ctypes

2007-06-14 Thread Chris AtLee
On Jun 11, 6:01 pm, Lenard Lindstrom [EMAIL PROTECTED] wrote: [snip snip snip] if __name__ == __main__: import getpass, os, sys @conv_func def my_conv(nMessages, messages, pResponse, appData): # Create an array of nMessages response objects # Does r get

Re: Help with PAM and ctypes

2007-06-11 Thread Lenard Lindstrom
Chris AtLee wrote: Sorry for the repeat post...I'm not sure if my first post (on May 30th) went through or not. I've been trying to write a PAM module using ctypes. In the conversation function (my_conv in the script below), you're passed in a pam_response** pointer. You're supposed to

Help with PAM and ctypes

2007-06-07 Thread Chris AtLee
Sorry for the repeat post...I'm not sure if my first post (on May 30th) went through or not. I've been trying to write a PAM module using ctypes. In the conversation function (my_conv in the script below), you're passed in a pam_response** pointer. You're supposed to allocate an array of