Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenVPN + PAM + FreeRADIUS authenticating problem (from sticky)

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 1 Posters 2.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      atrox
      last edited by

      Hello.

      I'm trying to get OpenVPN working with openvpn-auth-ldap.so plugin. I've pkg_add'ed the plugin, but I get the same error:

      Thu Sep 11 11:38:55 2008 OpenVPN 2.0.6 i386-portbld-freebsd6.2 [SSL] [LZO] built on Sep 13 2007
      Thu Sep 11 11:38:55 2008 PLUGIN_INIT: could not load plugin shared object /usr/local/lib/openvpn-auth-ldap.so: Service unavailable: Too many links (errno=31)
      Thu Sep 11 11:38:55 2008 Exiting
      

      My OpenVPN should be the "correct version" though. Is it safe to just upgrade OpenVPN anyway (I've got other, "plain" openvpn running as another instance) with "pkg_add -r"?

      1 Reply Last reply Reply Quote 0
      • A
        atrox
        last edited by

        I think I found the problem:

        # ldd /usr/local/lib/openvpn-auth-ldap.so                                                                                 
        /usr/local/lib/openvpn-auth-ldap.so:                                                                                      
                libldap-2.3.so.2 => /usr/local/lib/libldap-2.3.so.2 (0x2817b000)                                                  
                liblber-2.3.so.2 => /usr/local/lib/liblber-2.3.so.2 (0x281a9000)                                                  
                libobjc.so.2 => not found (0x0)                                                                                   
                libpthread.so.2 => /lib/libpthread.so.2 (0x281b4000)                                                              
                libssl.so.4 => /usr/lib/libssl.so.4 (0x281d9000)                                                                  
                libcrypto.so.4 => /lib/libcrypto.so.4 (0x28207000)
        

        So I'll just look for the package for the right version of FreeBSD :)

        1 Reply Last reply Reply Quote 0
        • A
          atrox
          last edited by

          It seems it can't be resolved that way, because libobjc.so.2 does exists on every other FreeBSD-6.2 - it's in base system. Why is it missing in pfSense? How should I get it?

          1 Reply Last reply Reply Quote 0
          • A
            atrox
            last edited by

            I just copied /usr/lib/libobjc.so.2 from another FreeBSD-6.2, but it doesn't resolve the issue - still getting "Service unavailable: Too many links (errno=31)" :(

            1 Reply Last reply Reply Quote 0
            • A
              atrox
              last edited by

              OK, the plugin started working when I added OpenVPN from package.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.