we already have compiled from source openvpn in solaris 10 SPARC
Everything are working OK Now with certificate authentication
However, it's not working when enable authenticate with username and password using PAM plugin
This is the log
Apr 10 17:26:31 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 VERIFY OK: depth=0, C=US, ST=CA, L=SanFrancisco, O=Fort-Funston, OU=changeme, CN=client1, name=changeme, emailAddress=
mail@host.domain
Apr 10 17:26:32 hcm-121 openvpn[632]: [ID 427199 daemon.error]
pam_dial_auth: terminal-device not specifiedby login, returning Error in underlying service module.
Apr 10 17:26:32 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 PLUGIN_CALL: POST /usr/local/openvpn/lib/openvpn/plugins/openvpn-plugin-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=1
Apr 10 17:26:32 hcm-121 openvpn[636]: [ID 583609 daemon.warning] 113.173.1.2:53219 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /usr/local/openvpn/lib/openvpn/plugins/openvpn-plugin-auth-pam.so
Apr 10 17:26:32 hcm-121 openvpn[636]: [ID 583609 daemon.error] 113.173.1.2:53219 TLS Auth Error: Auth Username/Password verification failed for peer
Apr 10 17:26:32 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Apr 10 17:26:32 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 [client1] Peer Connection Initiated with [AF_INET]113.173.1.2:53219
Apr 10 17:26:34 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 PUSH: Received control message: 'PUSH_REQUEST'
Apr 10 17:26:34 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 Delayed exit in 5 seconds
Apr 10 17:26:34 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 SENT CONTROL [client1]: 'AUTH_FAILED' (status=1)
Apr 10 17:26:39 hcm-121 openvpn[636]: [ID 583609 daemon.notice] 113.173.1.2:53219 SIGTERM[soft,delayed-exit] received, client-instance exiting
And server.conf
plugin /usr/local/openvpn/lib/openvpn/plugins/openvpn-plugin-auth-pam.so login
I think that PAM is not working correctly
Anyone help me please!