使用 phpldapadmin 服务器验证 Moodle

Authenticating Moodle using phpldapadmin server

我正在使用 Moodle 2.7,我已经为 users.I 启用了 LDAP 身份验证,有一个 phpldapadmin(openldap) 服务器,其 DNS 为 cn=admin,dc=demoldap,dc=org 我已经创建了很多DN 中的用户帐户。

当我尝试在 Moodle 中使用这些用户帐户登录时,出现以下错误

"The user account "user1" is not available on this site"

但是我在 openldap.please 中有 user1 的帐户可以帮助我解决这个问题 issue.where 我应该在我的服务器中创建我的用户帐户吗?以及如何在 moodle 中进行身份验证。

确保“管理身份验证:”页面上的 "Prevent account creation when authenticating (authpreventaccountcreation)" 选项设置为 false(允许新帐户)。

但是,如果您在用户身上遇到此错误,moodle 中已经存在该错误,请检查 LDAP 身份验证插件设置。