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. Advertisements

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:
    680
  2. Frederic Jolliton

    Thread not working correctly under FreeBSD

    Frederic Jolliton, Oct 23, 2003, in forum: Python
    Replies:
    4
    Views:
    473
    Frederic Jolliton
    Oct 24, 2003
  3. Diez B. Roggisch

    pam on debian

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

    Python backend binding to PAM, NSS or pppd

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

    PAM authentication?

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

    PAM issue related to ix86 machin

    jkwagh, May 30, 2007, in forum: C Programming
    Replies:
    3
    Views:
    498
    blufox
    May 30, 2007
  7. Replies:
    0
    Views:
    354
  8. Chris AtLee

    Help with PAM and ctypes

    Chris AtLee, Jun 7, 2007, in forum: Python
    Replies:
    3
    Views:
    452
    Lenard Lindstrom
    Jun 15, 2007
Loading...