My Community Dashboard

  • OpenVPN Auth error - openvpn: pam_unix(openvpn:auth)

    Hi,

    Having troubles connecting OpenVPN clients to the server. I am getting AUTH_FAILED error.
    I see some conversations on this topic, but no solutions.

    My situation:

    - ClearOS7.2 Business
    - Generated 20 users
    - Samba installed
    - OpenVPN installed
    - OpenVPN client installed following the ClearOS tutorial (config and keys copied to client, connecting from remote location, asked for password, then AUTH_FAILED error)

    Client side log:
    ...
    Mon Oct 09 11:06:40 2017 MANAGEMENT: >STATE:1507540000,GET_CONFIG,,,,,,
    Mon Oct 09 11:06:40 2017 SENT CONTROL [clearos72.ravel.hr]: 'PUSH_REQUEST' (status=1)
    Mon Oct 09 11:06:40 2017 AUTH: Received control message: AUTH_FAILED
    Mon Oct 09 11:06:40 2017 SIGUSR1[soft,auth-failure] received, process restarting
    Mon Oct 09 11:06:40 2017 MANAGEMENT: >STATE:1507540000,RECONNECTING,auth-failure,,,,,
    Mon Oct 09 11:06:40 2017 Restart pause, 5 second(s)
    Mon Oct 09 11:06:53 2017 MANAGEMENT: Client disconnected
    Mon Oct 09 11:06:53 2017 ERROR: could not read Auth username/password/ok/string from management interface
    Mon Oct 09 11:06:53 2017 Exiting due to fatal error

    Server side log:
    Oct 9 13:09:21 clearos72 openvpn: pam_unix(openvpn:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=bfranc
    Oct 9 13:09:21 clearos72 openvpn: pam_ldap(openvpn:auth): Authentication failure; user=bfranc

    Automatic OpenVPN settings used, no modifications made.
    Users login into web gui successfully (download VPN config and keys) and connect to samba shared drives successfully.

    Can You help with this issue?

    Regards to all!