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

Re: Integrating Pam



>>> Wayne Cuddy wrote
> I have built an extension module for Python which is a wrapper around some of
> the PAM library.  When trying to use the library from python I get no error
> message when doing a 'pam_start' but strange error messages show up the
> /var/log/message file which are not present when I build and use a stand alone
> executable.  My python extension module is a shared library which does not
> need to be linked with python so I have only linked it with pam & pam_misc. I
> am using pam-0.59.  Here are my error messages.  Similar messages show up no
> matter which service I try to use.
> 
> May 17 23:07:21 wayne pam[576]: unable to 
> dlopen(/lib/security/pam_listfile.so)
> May 17 23:07:21 wayne pam[576]: [dlerror: /lib/security/pam_listfile.so: 
> undefined symbol: pam_get_item]


This may be too obvious, but do you have read access to the .so files? 

Try running truss/strace/ktrace over your program, and see what's happening...

Anthony



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