Re: Calling PAM from within an SO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Valence wrote:
> 
> My program loads a shared lib (.so) that then calls pam_start, etc.
> pam_start succeeds, but when I call pam_authenticate it fails with
> error "Module is unknown".
> 
> Same exact code works when linked into the main program (i.e., not in
> the .so).  Is there anything special about using pam from within a
> .so?

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pam/Linux-PAM/dynamic/pam.c?rev=1.1&content-type=text/vnd.viewcvs-markup

Feedback appreciated.

Cheers

Andrew





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux