Commit Graph

201 Commits

Author SHA1 Message Date
martinlanghoff e7cfc5325f 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
2005-11-07 00:38:23 +00:00
martinlanghoff 985cd79efa Updated the definition of 'member' for AD - thanks to I?aki for the tip! 2005-10-31 22:43:44 +00:00
martinlanghoff 2cf2079188 Fix for bug 3141 - Can't update external data with LDAP authentication 2005-10-06 02:23:40 +00:00
martinlanghoff 67149b4d2c Fix for bug 3992 - LDAP password including a quote does not work - credits go to Kita 2005-10-06 02:18:16 +00:00
martinlanghoff 085366cfa0 auth/ldap fix typo - thanks to Skodak for spotting it! 2005-09-16 23:29:26 +00:00
paca70 fddbea82ac To get rid of some cosmetic (hopefully) error messages. 2005-09-09 11:29:11 +00:00
paca70 7aaabae78e Corrected some typos and mistakes 2005-09-09 10:42:08 +00:00
martinlanghoff 59b5352b51 auth/ldap: fixed typo in auth_user_activate() - bug #3594 - thanks to ze @ nbox.org 2005-09-09 00:25:50 +00:00
martinlanghoff a705afc7da auth/ldap - sync_users script bugfix x2: it was deleting fields that were not supposed to be synched to ldap and it was failing to set auth_forcepasswordchange 2005-09-02 06:55:28 +00:00
martinlanghoff d5e5544448 auth/db: Better support for utf-8 user data. 2005-08-31 05:59:31 +00:00
martinlanghoff 2a069aa1f2 auth/ldap: Fixed handling of multi-source field mapping. Now fields with non-empty values have precedence over empty fields, regardless of order. Fields will be set to empty only if all ldap source fields are empty. 2005-08-25 04:56:13 +00:00
martinlanghoff 812fe4c5fc Temp table now matches idnumber length with username - thanks to Yves Roy for pointing this out. 2005-08-12 02:30:30 +00:00
martinlanghoff 4fd1373c7e Fix for small syntax error that was hiding debug info from an error msg. #3527 - Credits to cangussu@gmail.com 2005-08-11 23:01:12 +00:00
martinlanghoff 44944d8466 Fix for using dn as idnumber - thanks fo Jeff Graham - http://moodle.org/mod/forum/discuss.php?d=28840 2005-08-11 22:42:46 +00:00
stronk7 191e4336d1 One help string corrected. 2005-07-14 15:43:28 +00:00
stronk7 2a0bb0af92 Interface for SC#106 2005-07-14 15:20:40 +00:00
skodak d994661015 code cleanup - see SC#129 2005-07-05 16:59:29 +00:00
fiedorow b70ea3c680 Fix for broken no authentication 2005-06-25 13:20:30 +00:00
martinlanghoff a0b22b3218 auth/ldap : minor html fix 2005-06-03 03:41:16 +00:00
exe-cutor 9fa1dad004 Adapted Shibboleth authentication to new field lock/update mechanism by Martin 2005-06-02 14:34:22 +00:00
martinlanghoff 6406bef13e Fixed typo in configuration of ldap_memberattribute for RFC2307-style LDAP servers. Should fix handling of iscreator group. Thanks to Teemu Haapoja for the diagnosis and fix. 2005-06-02 09:55:06 +00:00
martinlanghoff e3cd7f35b9 config_plugin with auth/shibboleth
* config.html now uses print_auth_lock_options()
 * config.html better handling of default vars, and removed some warnings
 * lib.php uses new config_plugin vars
2005-06-01 06:23:44 +00:00
martinlanghoff 2ba609cc8c config_plugin work
* lang updates and lang-related fixes
 * auth/db uses the new convention
2005-06-01 06:01:29 +00:00
martinlanghoff b50eee807b Almost there with config_plugins work!
* More solid checking for auth GET/POST var.
 * print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * user mapping options have moved to config_plugins table
 * LDAP module has migrated to using new field mapping vars -- simplified config.html a lot
 * strings are mostly resolved
 * a bit of work pending on CAS and DB modules
 * need an upgrade path for field-mapping config entries -- limited to LDAP only
2005-06-01 04:44:17 +00:00
martinlanghoff cdbba24134 First cut of field locks support. functional but missing strings and support for LDAP/DB modules.
- Extended set_config()
- Implemented get_config() which takes over $CFG loading in setup.php
- admin/auth.php has special handling if post vars starting in pluginconfig_
- admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
- user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
2005-05-31 05:36:41 +00:00
moodler 27437410f4 file survey.php was added on branch MOODLE_15_STABLE on 2006-03-10 07:27:54 +0000 2005-04-05 20:54:43 +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
thepurpleblob fd9c86c592 Whoops - should have been a text field
...and fixed some more dodgy xhtml on <input> tags.
2005-09-21 15:19:53 +00:00
thepurpleblob 522b9982c7 Changed config initialisation so it doesn't use optional_variable() function.
Fixed a couple of non-xhtml <br>s
Added authchangepasswordurl config parameter (ongoing improvements to
'multiple' auth methods functionality)
2005-09-21 14:58:41 +00:00
martinlanghoff 98ee505608 Merged from MOODLE_15_STABLE - auth/ldap: fixed typo in auth_user_activate() - bug #3594 - thanks to ze @ nbox.org 2005-09-09 00:28:09 +00:00
martinlanghoff cb2b145f50 Merged from MOODLE_15_STABLE - auth/ldap - sync_users script bugfix x2: it was deleting fields that were not supposed to be synched to ldap and it was failing to set auth_forcepasswordchange 2005-09-02 06:56:32 +00:00
martinlanghoff 3f26679388 Merged from MOODLE_15_STABLE - auth/db: Better support for utf-8 user data. 2005-08-31 06:01:14 +00:00
exe-cutor a50d860ef1 Fixed a small bug that prevented guest users from log in
See: http://moodle.org/bugs/bug.php?op=show&bugid=3989
Thx to pasi.hakkinen@tut.fi
2005-08-29 15:42:26 +00:00
phoenixfr 1e4e38857a release with automatic login and optional logout from SSO 2005-08-26 07:48:53 +00:00
martinlanghoff b8a0a101e5 Merged from MOODLE_15_STABLE - auth/ldap: Fixed handling of multi-source field mapping. Now fields with non-empty values have precedence over empty fields, regardless of order. Fields will be set to empty only if all ldap source fields are empty. 2005-08-25 04:58:59 +00:00