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