Ruby/PAM not working on FreeBSD

Discussion in 'Ruby' started by Ben Schumacher, Feb 3, 2004.

  1. 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
     
    Ben Schumacher, Feb 3, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    547
  2. Diez B. Roggisch

    pam on debian

    Diez B. Roggisch, Apr 7, 2004, in forum: Python
    Replies:
    0
    Views:
    363
    Diez B. Roggisch
    Apr 7, 2004
  3. Heiko Wundram

    Python backend binding to PAM, NSS or pppd

    Heiko Wundram, Apr 7, 2005, in forum: Python
    Replies:
    3
    Views:
    676
    Gerald Klix
    Apr 7, 2005
  4. Gary Wilson Jr

    PAM authentication?

    Gary Wilson Jr, May 24, 2005, in forum: Python
    Replies:
    1
    Views:
    444
    Diez Roggisch
    May 24, 2005
  5. jkwagh

    PAM issue related to ix86 machin

    jkwagh, May 30, 2007, in forum: C Programming
    Replies:
    3
    Views:
    333
    blufox
    May 30, 2007
Loading...

Share This Page