mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
![]() It contains also experimental auth_get_userinfo() function, what is not used by moodle yet. If you like to try it, create following $CFG variables to /config.php or directly to config-table and activate ldap authentication from admin-configuration page. $CFG->ldap_bind_dn "If your like to use bind-user to search users, specify it here. Someting like 'cn=ldapuser,ou=public,o=org'" $CFG->ldap_bind_pw "Password for bind-user." $CFG->ldap_contexts "List of contexts where users are located. Separate different contexts with ';'. Something like 'ou=users,o=org; ou=other,o=org'" $CFG->ldap_host_url "Specify LDAP host in URL-form like 'ldap://ldap.myorg.com/' or 'ldaps//ldap.myorg.com/' "; $CFG->ldap_search_sub "Put value <> 0 if you like to search users from subcontexts."; $CFG->ldap_user_attribute "What attribute is used to name/search users. Usually 'cn'. "; More configuration optios are coming. This version is tested against Novell E-Directory without SSL and it works fine. |
||
---|---|---|
.. | ||
ldap | ||
none | ||
README |
This directory contains authentication modules. Each of these modules describes a different way to check that a user has provided a correct - username, and - password. Even when external forms of authentication are being used, Moodle still maintains the internal "user" table with all the associated information about that user such as name, email address and so on. The active method is set by the admin on the Configuration page. email - authentication by email (DEFAULT METHOD) - user fills out form with email address - email sent to user with link - user clicks on link in email to confirm - user account is created - user can log in none - no authentication at all .. very insecure!! - user logs in using ANY username and password - if the username doesn't already exist then a new account is created - when user tries to access a course they are forced to set up their account details ldap - Uses an external LDAP server