Moodle  2.2.1
http://www.collinsharper.com
auth Namespace Reference

Detailed Description

CAS user sync script.

This script is meant to be called from a cronjob to sync moodle with the CAS backend in those setups where the CAS backend acts as 'master'.

Sample cron entry: # 5 minutes past 4am 5 4 * * * $sudo -u www-data /usr/bin/php /var/www/moodle/auth/cas/cli/sync_users.php

Notes:

  • it is required to use the web server account when executing PHP CLI scripts
  • you need to change the "www-data" to match the apache user account
  • use "su" if "sudo" not available
  • If you have a large number of users, you may want to raise the memory limits by passing -d momory_limit=256M
  • For debugging & better logging, you are encouraged to use in the command line: -d log_errors=1 -d error_reporting=E_ALL -d display_errors=0 -d html_errors=0

Performance notes: We have optimized it as best as we could for PostgreSQL and MySQL, with 27K students we have seen this take 10 minutes.

CAS

Version details

cas

Author:
Martin Dougiamas
Jerome GUTIERREZ
Iñaky Arenaza http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Authentication Plugin: External Database Authentication

Checks against an external database.

db

Author:
Martin Dougiamas http://www.gnu.org/copyleft/gpl.html GNU Public License

Extdb user sync script.

This script is meant to be called from a system cronjob to sync moodle user accounts with external database. It is required when using internal passwords (== passwords not defined in external database).

Sample cron entry: # 5 minutes past 4am 5 4 * * * $sudo -u www-data /usr/bin/php /var/www/moodle/auth/db/cli/sync_users.php

Notes:

  • it is required to use the web server account when executing PHP CLI scripts
  • you need to change the "www-data" to match the apache user account
  • use "su" if "sudo" not available
  • If you have a large number of users, you may want to raise the memory limits by passing -d memory_limit=256M
  • For debugging & better logging, you are encouraged to use in the command line: -d log_errors=1 -d error_reporting=E_ALL -d display_errors=0 -d html_errors=0

Performance notes: + The code is simpler, but not as optimized as its LDAP counterpart.

db

Version details

db

Version details

email

Version details

fc

Version details

imap

CAS user sync script.

This script is meant to be called from a cronjob to sync moodle with the LDAP backend in those setups where the LDAP backend acts as 'master'.

Sample cron entry: # 5 minutes past 4am 5 4 * * * $sudo -u www-data /usr/bin/php /var/www/moodle/auth/ldap/cli/sync_users.php

Notes:

  • it is required to use the web server account when executing PHP CLI scripts
  • you need to change the "www-data" to match the apache user account
  • use "su" if "sudo" not available
  • If you have a large number of users, you may want to raise the memory limits by passing -d momory_limit=256M
  • For debugging & better logging, you are encouraged to use in the command line: -d log_errors=1 -d error_reporting=E_ALL -d display_errors=0 -d html_errors=0
  • If you have a large number of users, you may want to raise the memory limits by passing -d momory_limit=256M
  • For debugging & better logging, you are encouraged to use in the command line: -d log_errors=1 -d error_reporting=E_ALL -d display_errors=0 -d html_errors=0

Performance notes: We have optimized it as best as we could for PostgreSQL and MySQL, with 27K students we have seen this take 10 minutes.

ldap

Version details

ldap

Author:
Martin Dougiamas
Iñaky Arenaza http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Authentication Plugin: Manual Authentication Just does a simple check against the moodle database.

manual

Manual authentication plugin.

manual

Manual authentication plugin upgrade code

manual

Manual authentication plugin version information

manual

Keeps track of upgrades to the auth_mnet plugin

mnet

Manual authentication plugin version information

mnet

Version information

nntp

Version information

nologin

Version information

none

Version information

pam

Version information

pop3

Version information

radius

Version information

shibboleth

Author:
Martin Dougiamas
Lukas Haemmerle http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Version information

webservice

Strings for component 'auth', language 'en', branch 'MOODLE_20_STABLE'

 All Data Structures Namespaces Files Functions Variables Enumerations