歡迎您光臨本站 註冊首頁

不羅嗦 testsaslauthd 出現 0: NO "authentication failed" 怎麼解決

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

不羅嗦 testsaslauthd 出現 0: NO "authentication failed" 怎麼解決

查了很久文檔

資料庫正確 數據未用password() 加密

# testsaslauthd -u zhang -p 123456 -s /usr/local/openvpn/sbin/openvpn
0: NO "authentication failed"


# cat /etc/pam.d/openvpn
auth sufficient pam_mysql.so user=vpn passwd=nokpemzw host=localhost db=vpn \
table=vpnuser usercolumn=name passwdcolumn=password \
where=active=1 sqllog=0 crypt=0
account required pam_mysql.so user=vpn passwd=nokpemzw host=localhost db=vpn \
table=vpnuser usercolumn=name passwdcolumn=password \
where=active=1 sqllog=0 crypt=0
《解決方案》

ok 解決了 host換成了ip地址
《解決方案》

查了很久文檔

資料庫正確 數據未用password() 加密

# testsaslauthd -u zhang -p ...
zhangyulei0312 發表於 2010-07-06 17:23 http://bbs2.chinaunix.net/images/common/back.gif


     格式問題

[火星人 ] 不羅嗦 testsaslauthd 出現 0: NO "authentication failed" 怎麼解決已經有1066次圍觀

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