配置pam时出错: 401 Unauthorized Could not authenticate using provided credentials

来源:互联网 发布:淘宝店铺怎么虚拟发货 编辑:程序博客网 时间:2024/05/16 10:58

认证失败,应该检查相关的配置文件如eauth.conf等的缩进有没有问题。注意每个不同元素都需要有缩进,最好找一个正确的配置文档看一下



[root@YZSJHL19-71 ~]# curl -k https://10.4.19.71:8000/login -H “Accept: application/x-yaml” -d username=’10.4.19.71′ -d password=’123.com’ -d eauth=’pam’

401 Unauthorized

#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}

#traceback {
color: red;
}

401 Unauthorized
Could not authenticate using provided credentials

Powered by CherryPy 3.2.2


0 0
原创粉丝点击