PDA

View Full Version : Another PAM programming problem



blooddrunk
July 4th, 2008, 01:54 PM
I am writing a PAM application, but I can't get it to prompt anything to the user. For example, when I try to authenticate I can't because it returns PAM_AUTH_ERR without even asking for password. How can I get PAM to show me the conversation that is going on and prompt for stuff it needs?

blooddrunk
July 4th, 2008, 03:01 PM
Anyone?

ghostdog74
July 4th, 2008, 03:27 PM
how are you writing it, what language ? show some code

blooddrunk
July 4th, 2008, 03:46 PM
well, it is in C. Currently, the code is nothing more than the examples that can be found in the Application Writer Guide and Internet. I just want some tips on the conversation and authentication functions, because I can't really get them to work even after reading hundreds of web pages and guides