since I put the "chroot attribute", i get in my server (when a client trie to connect) :
Code: Select all
Wed May 23 16:41:44 2012 us=69473 xx.xx.xx.xx:36345 TLS Auth Error: user-pass-verify script failed to execute: test.sh
Wed May 23 16:41:44 2012 us=69584 xx.xx.xx.xx:36345 TLS Auth Error: Auth Username/Password verification failed for peer
server.conf :
Code: Select all
..
chroot jail
user nobody
group nogroup
username-as-common-name
plugin /usr/lib/openvpn/openvpn-auth-pam.so openvpn
script-security 2
auth-user-pass-verify /etc/openvpn/test.sh via-env

any ideas?
thanks!! (sorry for bad english)
PS : openvpn 2.0 - linux squeeze