Navigation

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

    OpenLDAP = AUTH_FAILED

    OpenVPN
    1
    1
    1893
    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.
    • X
      xarlygt last edited by

      Hi everybody,

      I am testing this configuration:

      OpenLDAP –-- PFSense+OpenVPN

      I have configured external OpenLDAP in User Manager and it binds correctly and I get successful in Authentication test:
      User: XXXX authenticated successfully.
      This user is a member of these groups:

      With wrong user/pass it says Authentication failed.

      Then I configure OpenVPN very straightforward, in User Auth mode, no certs, using OpenLDAP and Local Database for authentication (I created one local user for debugging purposes only). Summary:

      User Auth [LDAP, LOCAL]
      Tun
      1194 UDP
      No TLS
      2048
      AES 128
      LZO

      Then, trying to connect with local pfsense user I can connect but with LDAP user I get

      AUTH: Received control message: AUTH_FAILED
      SIGUSR1[soft,auth-failure] received, process restarting

      And in Logs

      pfSense openvpn: server1.php: ERROR! Could not bind to server LDAP (Can't contact LDAP server).
      pfSense openvpn: server1.php: ERROR! Could not bind to server LDAP.
      pfSense openvpn: user 'XXXXXX' could not authenticate.

      What is annoying because it can bind with Diagnostic->Authentication… It says user correct or incorrect at least

      Any idea?

      Thank you very much

      1 Reply Last reply Reply Quote 0
      • First post
        Last post