209 Commits

Author SHA1 Message Date
martinlanghoff
13e8d6e46f auth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set
Previous operation was update all moodle fields from the external database
during each login & sync ignoring this setting. Now if this setting is
'oncreation' then the field is only copied once (on creation of user).
2006-09-28 01:05:10 +00:00
mjollnir_
7d49253f40 Here's a little patch for auth/ldap/lib.php... just stops some
errors from popping up.
Credit: Alastair Pharo <alastair@catalyst.net.nz>
2006-09-26 01:26:27 +00:00
skodak
6124048972 major whitespace cleanup - fixed tabs 2006-09-20 20:31:09 +00:00
skodak
03f5a0f87c major whitespace cleanup - fixed \r\n line-ending 2006-09-20 19:46:52 +00:00
toyomoyo
d76a5a7fed replacing references to user_* tables 2006-09-19 01:44:33 +00:00
martinlanghoff
3279a35540 auth/db: When using internal passwords we must register auth_update_user_password()
Now users can update their password correctly. We did have this before, I
wonder if it got dropped in a merge.
2006-07-18 01:36:47 +00:00
martinlanghoff
bd18fe9ced auth/db: use auth_validate_form() to set auth_db_stdchangepassword when passtype is 'internal'
When using the 'internal' password handling, set auth_db_stdchangepassword
so we allow users to change their password normally.
2006-07-18 01:36:24 +00:00
martinlanghoff
1590773b1c auth: extend API to support auth_validate_form()
Now Auth plugins can register auth_validate_form to get a chance
to validate config form input. Needed on MOODLE_16_STABLE to fix
a bug with auth/db.

The auth API must follow suit with the enrol API, where we can safely
do method_exists().
2006-07-18 01:36:06 +00:00
skodak
4630e4e483 Bug #5953 - problem in /auth/ldap/lib.php; merged from MOODLE_16_STABLE 2006-06-29 07:05:00 +00:00
skodak
32625a72f4 merged fixes from MOODLE_16_STABLE 2006-06-04 20:57:35 +00:00
skodak
115938af04 fixed whitespace and merged whitespace fixes from MOODLE_16_STABLE 2006-06-02 16:46:39 +00:00
skodak
14dfa05958 merged whitespace fix from MOODLE_16_STABLE 2006-06-02 16:42:40 +00:00
toyomoyo
c26ba25f32 merged, changepassword obsolete 2006-05-31 06:58:51 +00:00
toyomoyo
e79771162c merged, changepassword obsolete 2006-05-31 06:42:35 +00:00
martinlanghoff
9aad454299 auth/ldap: better handling of empty values from ldap 2006-05-30 00:44:21 +00:00
skodak
f2b5a58a0f Bug #5604 - LDAP error notice when users update profile; merged from MOODEL_16_STABLE 2006-05-24 21:12:46 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
exe-cutor
1b8991fd9c Fixed an inconsistent link in the instructions textfield 2006-05-15 12:08:06 +00:00
exe-cutor
14d62a551a Added function get_first_string to better handle multi-valued attributes 2006-05-15 06:55:08 +00:00
martinlanghoff
50fc296d8d auth/cas: dos2unix on index_form.html - bug #5053 2006-04-25 23:15:08 +00:00
skodak
af38593211 fixed auth_user_exists(), now works the same as the one in ldap plugin 2006-04-22 16:01:02 +00:00
skodak
de177d8f2d FIX ME notice for $cas_validate that should be IMHO global, but it works anyway 2006-04-22 15:55:20 +00:00
exe-cutor
f26baa3e2b Fixed the case where a user would manually log in with an unknown username 2006-04-12 14:54:01 +00:00
stronk7
5c30945a81 Only decode from utf8 if we aren't running under utf8.
(anyway we need a setting to decide the original encoding
and to be perfect)
2006-03-28 19:14:23 +00:00
stronk7
5db97a46a5 We don't need to convert to Unicode if Moodle is running under Unicode.
(anyway, we need a new field inside each authentication system to be
able to define the external encoding!)
2006-03-28 17:13:09 +00:00
skodak
df1931578a password handling refactoring and added conversion of passwords to unicode 2006-03-11 11:26:36 +00:00
skodak
107e7612b5 short php tags once more 2006-03-07 21:46:34 +00:00
exe-cutor
be58b18f15 Corrected some typos and added Shibboleth setup hints for IIS 2006-03-02 10:40:36 +00:00
exe-cutor
33d8eacfe4 Changed sequence of error messages. This makes more sense and should be better
understandable from a user's point of view.
2006-02-16 09:05:11 +00:00
exe-cutor
a70d959a71 this file now does the authentication and doesnt use Shibboleth lazy sessions anymore for
various reasons, including security
2006-02-16 08:59:59 +00:00
exe-cutor
b0e1220af4 Changed shib auth instructions to reflect new procedure for shib auth 2006-02-16 08:53:36 +00:00
exe-cutor
100f9e0d43 We dont use lazy sessions anymore for serveral reasons, including security 2006-02-16 08:52:29 +00:00
exe-cutor
0762da9ce2 not needed anymore with new shib auth procedure. 2006-02-16 08:50:50 +00:00
exe-cutor
e2a420d6b2 Changed instructions to reflect new shib auth procedure 2006-02-16 08:50:15 +00:00
martinlanghoff
9d9912f351 auth/radius: adding attribution 2006-01-16 05:25:37 +00:00
martinlanghoff
381ad73cec lang/en/auth.php 2006-01-16 05:21:50 +00:00
martinlanghoff
33a9fd4745 Added auth_db_sync_users.php 2006-01-16 03:02:30 +00:00
martinlanghoff
ae57432404 auth/db now support internal passwords and sync_users() 2006-01-16 02:54:16 +00:00
moodler
0b5f5c0de0 Some old fix, that wasn't checked in 2006-01-05 06:30:12 +00:00
martinlanghoff
ff2cbb73a9 Merged from MOODLE_15_STABLE - auth/ldap: Fix support for AD -- thanks to Inaki, in more than one sense ;-) 2005-12-12 04:58:11 +00:00
martinlanghoff
39132bce56 auth/cas: fixed syntax errors in cast -- credits to Nigel McNie 2005-12-12 03:22:09 +00:00
moodler
8a2e09584f Removed optional_variable 2005-12-06 05:47:58 +00:00
moodler
22ef40b0a4 Removed optional_param 2005-12-06 05:16:07 +00:00
martinlanghoff
a4e3e98f08 Merged from MOODLE_15_STABLE - Updated the definition of member for AD - thanks to Inaki for the tip! 2005-11-07 01:00:05 +00:00
martinlanghoff
85523834e7 auth/ldap: Better warnings and handling of updaging multi-source LDAP fields
+ Raise a warning if the auth_ldap_get_entries for one user record
   returns more than one record (!?)
 + Resolved some subtle bugs when updating a remote LDAP repo from user
   updates. The logic is now simpler too.
 + Simplified the code that compares old/new values

Merged from MOODLE_15_STABLE
2005-11-07 00:53:07 +00:00
exe-cutor
49465c358a *** empty log message *** 2005-10-31 15:51:17 +00:00
martinlanghoff
33b29afb8f Merged from MOODLE_15_STABLE - Fix for bug 3141 - Can't update external data with LDAP authentication 2005-10-06 02:24:03 +00:00
martinlanghoff
16582b8500 Merged from MOODLE_15_STABLE - Fix for bug 3992 - LDAP password including a quote does not work - credits go to Kita 2005-10-06 02:19:38 +00:00
martinlanghoff
8be24a07d0 auth/ldap: Merging pending patches from MOODLE_15_STABLE 2005-10-06 02:11:34 +00:00
thepurpleblob
541ff6ab16 Change of plan. Change password stuff moved to admin/auth.php 2005-09-22 14:19:39 +00:00