chap:ERROR:& control:Cleartext-Password是验证所必需的

时间:2015-11-12 13:52:02

标签: ldap freeradius

freeradius + openldap的问题

我收到错误:

chap: ERROR: &control:Cleartext-Password is required for authentication

1 个答案:

答案 0 :(得分:0)

如果您使用OpenLDAP进行身份验证,则CHAP将无法运行。密码需要以明文形式发送给OpenLDAP,以及您使用的密码来自密码,而不是密码本身。

如果您在OpenLDAP中有明文版本的密码,则应该在authorize中调用ldap模块,并将其映射到控件:Cleartext-Password属性。然后调用PAP模块。