|
|
I am trying to get pam authentication configured, but I'm having an
issue with the plugin module. OpenVPN keeps generating this error:
[root@openvpn ~]# /etc/init.d/openvpn restart
Shutting down openvpn: [ OK ]
Starting openvpn: AUTH-PAM: BACKGROUND: could not load PAM lib
libpam.so: libpam.so: cannot open shared object file: No such file or
directory
[FAILED]
May 6 12:01:30 openvpn openvpn[3856]: OpenVPN 2.0 i386-redhat-linux
[SSL] [LZO] [EPOLL] built on Apr 30 2005
May 6 12:01:30 openvpn openvpn[3856]: WARNING: --keepalive option is
missing from server config
May 6 12:01:30 openvpn openvpn[3856]: PLUGIN_INIT: POST
/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so 'login'
intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
May 6 12:01:30 openvpn openvpn[3856]: PLUGIN_INIT: plugin
initialization function failed:
/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so
May 6 12:01:30 openvpn openvpn[3856]: Exiting
May 6 12:01:30 openvpn openvpn: failed
###########################################################
My server.conf file:
port 1194
dev tap
tls-server
dh dh1024.pem
ca ca.crt
cert server.crt
key server.key
plugin /usr/share/openvpn/plugin/lib/openvpn-auth-pam.so login
client-disconnect ./logoff.sh
up ./openvpn.up
mode server
duplicate-cn
ifconfig 172.16.80.1 255.255.255.0
ifconfig-pool 172.16.80.100 172.16.80.200 255.255.255.0 # IP range for
OpenVPN clients
mtu-test
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ping 10
ping-restart 120
push "ping 10"
push "ping-restart 60"
push "dhcp-option DOMAIN na1.ad.group" # push the DNS
domain suffix
push "dhcp-option DNS 192.168.100.6 192.168.100.8" # push
primary DNS entry to the openvpn clients.
push "dhcp-option WINS 192.168.100.6 192.168.100.8" # push
primary WINS entry to the openvpn clients.
push "route 192.168.100.0 255.255.255.0 172.16.80.1" # add route to to
protected network
comp-lzo
status-version 2
status openvpn-status.log
verb 3
########################################################################
####
Any insight into this issue would be much appreciated. Thanks!
- JB
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-05/msg00075.html on line 251
Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2005-05/msg00075.html on line 251
|