Ruby/PAM not working on FreeBSD

B

Ben Schumacher

Has anybody been able to get Ruby/PAM working on FreeBSD? I'm using
FreeBSD v4.2, ruby 1.6.8 and ruby-pam 1.5.1 (both from the ports
collection). When I use the sample scripts provided to test it, I get
various errors in my /var/log/messages:

Feb 3 13:15:23 hiro ruby: unable to dlopen(/usr/lib/pam_skey.so)
Feb 3 13:15:23 hiro ruby: [dlerror: /usr/lib/pam_skey.so: Undefined
symbol "pam_get_pass"]
Feb 3 13:15:23 hiro ruby: adding faulty module: /usr/lib/pam_skey.so
Feb 3 13:15:23 hiro ruby: unable to dlopen(/usr/lib/pam_unix.so)
Feb 3 13:15:23 hiro ruby: [dlerror: /usr/lib/pam_unix.so: Undefined
symbol "pam_get_item"]
Feb 3 13:15:23 hiro ruby: adding faulty module: /usr/lib/pam_unix.so
Feb 3 13:15:23 hiro ruby: unable to dlopen(/usr/lib/pam_permit.so)
Feb 3 13:15:23 hiro ruby: [dlerror: /usr/lib/pam_permit.so: Undefined
symbol "pam_set_item"]
Feb 3 13:15:23 hiro ruby: adding faulty module: /usr/lib/pam_permit.so

I suppose the next logical step would be to try to write some C that
would use PAM, to make sure its not just a problem on my box, but if
that does work, then I'll be back where I'm at now. Does anybody have
any insight?

Thanks in advance.

Ben Schumacher
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top