Note: You are currently viewing documentation for Moodle 3.4. Up-to-date documentation for the latest stable version of Moodle is likely available here: Authentication.

Authentication: Difference between revisions

From MoodleDocs
(1.8 link update)
Line 1: Line 1:
There are various ways of managing user '''authentication''':
There are various ways of managing user '''authentication''':


:[[Email-based authentication]]
*[[Manual accounts]]
:[[Manual accounts only]]
*[[No login]]
:[[No authentication]]
*[[Email-based authentication|Email-based self-registration]]
:[[PAM (Pluggable Authentication Modules)]]
*[[CAS server (SSO)]]
:[[Shibboleth]]
*[[External database]]
:[[Use a CAS server (SSO)]]
*[[FirstClass authentication|FirstClass server]]
:[[Use a POP3 server]]
*[[IMAP authentication|IMAP server]]
:[[LDAP authentication|Use an LDAP server]]
*[[LDAP authentication|LDAP server]]
:[[NTLM authentication|Use NTLM/Integrated Authentication (3rd party plugin)]]
*[[Moodle Network authentication]]
*[[NNTP authentication|NNTP server]]
*[[No authentication]]
*[[PAM (Pluggable Authentication Modules)]]
*[[POP3 server]]
*[[RADIUS authentication|RADIUS server]]
*[[Shibboleth]]
*[[NTLM authentication|NTLM/Integrated Authentication (3rd party plugin)]]


==Locking Profile Fields==
==Locking profile fields==
To prevent users from altering some fields (e.g. students changing profile information to inappropriate or misleading information, the site administrator can lock profile fields.
To prevent users from altering some fields (e.g. students changing profile information to inappropriate or misleading information, the site administrator can lock profile fields.


Line 21: Line 28:


If you are using a mixture of authentication types (such as IMAP and manual), then the fields you lock in the authentication options will only apply to the type of authentication indicated by the drop down box at the top of the screen.  Remember to test the field locking by logging in with the proper type of account!  If you test with a manual account but have set the field locking to apply to IMAP accounts, you will not be able to tell if it worked!
If you are using a mixture of authentication types (such as IMAP and manual), then the fields you lock in the authentication options will only apply to the type of authentication indicated by the drop down box at the top of the screen.  Remember to test the field locking by logging in with the proper type of account!  If you test with a manual account but have set the field locking to apply to IMAP accounts, you will not be able to tell if it worked!
==Customising the login page==
Depending upon the authentication method (i.e. not applicable for email authentication) login instructions may be easily added. Alternatively, an alternate login URL may be added - please check the Using Moodle discussion [http://moodle.org/mod/forum/discuss.php?d=26629 Customising the log in page] for further details.


==See also==
==See also==
Line 30: Line 33:
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum
*[http://moodle.org/mod/forum/view.php?id=42 Using Moodle: User authentication] forum


[[Category:Administrator|Admin/auth]]
[[Category:Authentication]]
[[Category:Authentication|Admin/auth]]


[[fr:Authentification]]
[[fr:Authentification]]

Revision as of 19:51, 16 April 2007

There are various ways of managing user authentication:

Locking profile fields

To prevent users from altering some fields (e.g. students changing profile information to inappropriate or misleading information, the site administrator can lock profile fields.

Data Mapping Options

  • These fields are optional. You can choose to pre-fill some Moodle user fields with information from the LDAP fields that you specify here. If you leave these fields blank, then nothing will be transferred from LDAP and Moodle defaults will be used instead. In either case, the user will be able to edit all of these fields after they log in.
  • Update local: If enabled, the field will be updated (from external auth) every time the user logs in or there is a user synchronization. Fields set to update locally should be locked.
  • Lock value: If enabled, will prevent Moodle users and admins from editing the field directly. Use this option if you are maintaining this data in the external auth system.
  • Update external: If enabled, the external auth will be updated when the user record is updated. Fields should be unlocked to allow edits. Note: Updating external LDAP data requires that you set binddn and bindpw to a bind-user with editing privileges to all the user records. It currently does not preserve multi-valued attributes, and will remove extra values on update.

If you are using a mixture of authentication types (such as IMAP and manual), then the fields you lock in the authentication options will only apply to the type of authentication indicated by the drop down box at the top of the screen. Remember to test the field locking by logging in with the proper type of account! If you test with a manual account but have set the field locking to apply to IMAP accounts, you will not be able to tell if it worked!

See also