openvpn pam認證用戶名,求救

火星人 @ 2014-03-04 , reply:0
←手機掃碼閱讀

openvpn pam認證用戶名,求救

Nov 19 03:05:20 vpn sendmail: unable to qualify my own domain name (vpn) -- using short name
Nov 19 03:05:20 vpn sendmail: unable to qualify my own domain name (vpn) -- using short name
Nov 19 03:05:20 vpn sendmail: unable to qualify my own domain name (vpn) -- using short name
Nov 19 09:03:35 vpn openvpn: in openpam_load_module(): no /usr/local/lib/pam_mysql.so found
Nov 19 09:05:45 vpn openvpn: in openpam_load_module(): no /usr/local/lib/pam_mysql.so found
Nov 19 10:18:06 vpn openvpn: in openpam_load_module(): no /usr/local/lib/pam_mysql.so found
Nov 19 10:27:52 vpn openvpn: in openpam_load_module(): no /usr/local/lib/pam_mysql.so found

以上是/var/log/messages的日誌

testsaslauthd -u test -p test -s openvpn

是沒有問題的。但就是OPENVPN不能認證。

問下,可能是哪些問題。
《解決方案》

no /usr/local/lib/pam_mysql.so found
包沒安裝? 還是路徑有錯?
《解決方案》

嘿嘿,建議寫個PHP來實現,用PAM太費勁了,我都後悔了
《解決方案》

記得老大寫過一個PHP的,不知道在那看到過!




[火星人 via ] openvpn pam認證用戶名,求救已經有363次圍觀

http://www.coctec.com/docs/service/show-post-26021.html