iarenaza
c99f31c86b
MDL-16061 Revert incorrect fix for "Remove 'username' from the $moodleattributes array"
...
The fix is wrong, as it breaks auth_db_sync_users.php and
auth_ldap_sync_users.php at least. No new users are added to Moodle, as the
username is missing from the new user info record.
The fix needs to go into update_user_record() in lib/moodlelib.php to make it
skip the 'username' key, as we really need get_userinfo() to return the
username as part of the user info array.
2008-08-25 22:35:26 +00:00
iarenaza
0d47dafb08
MDL-15799 LDAP - user data mapping doesn't work.
...
The Right Way(tm) to write a LDAP filter is enclosing it in parentheses (see
RFC 4515/2254).
2008-08-24 20:37:41 +00:00
iarenaza
4e4955b55e
Remove 'username' from the $moodleattributes array.
...
It doesn't make sense at all (username is not part of the externally mapped
fields) and produces a notice that breaks HTTP headers with debugging enabled.
2008-08-15 11:15:45 +00:00
jerome
f6fd87d97b
MDL-15175: ensures cross-db: add a lowercase conversion for the username, merged from 19
2008-08-14 09:53:19 +00:00
peterbulmer
a17912002b
MDL-15933 Require jump destination MNET peer to be non-deleted.
...
Also require landing source MNET peer to be non-deleted.
2008-08-13 23:34:11 +00:00
jerome
15a9e839f2
MDL-15175: fix sync with external Oracle database merged from 1.9
2008-08-13 06:35:22 +00:00
stronk7
933b96a3a8
Fixed copy&paste error. Credit goes to Sergio Rabellino.
...
http://moodle.org/mod/forum/discuss.php?d=102933 ; backported from HEAD
2008-08-07 17:11:54 +00:00
iarenaza
ad5903f32c
MDL-4248 Fix error when updating user profiles and any of these fields is empty
...
According to http://es2.php.net/manual/en/function.ldap-modify.php#43216 we
need to specify an array() value to delete an attribute's value, instead of an
empty string.
2008-05-31 14:53:03 +00:00
iarenaza
e249546b1f
MDL-14987 Default attribute for Active Directory password expiry is missing
2008-05-25 21:43:09 +00:00
iarenaza
c10708e9ce
MDL-12858 fix print_error() usage.
...
print_error()'s third parameter is the URL we jump to (defaults to
$CFG->wwwroot if not set) when we click the 'Continue' button, not the message
string parameter object.
2008-01-07 23:40:12 +00:00
iarenaza
8a60457e13
MDL-12323 MDL-4061 Don't connect to the LDAP server if update external is not set for any field.
2007-12-28 12:03:12 +00:00
toyomoyo
e967dcc1a7
MDL-10509, LDAP username to be always in lowercase
2007-11-06 00:59:04 +00:00
donal72
e0033fb83c
Test for empty dataset to suppress a warning
2007-11-01 06:13:19 +00:00
donal72
753775479c
MDL-11040: get_complete_user_data doesn't get the complete user data. Replace with get_record to bring over the user's description.
2007-10-16 08:50:41 +00:00
nicolasconnault
3d6d2b8153
MDL-8605 New user directories implemented
2007-10-11 13:19:53 +00:00
iarenaza
e0f57f0d56
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
...
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-10 21:09:18 +00:00
skodak
dd85612a17
MDL-11448 FirstClass Authentication does not hold settings and has cosmetic and info leakage issues, patch by Dan Trockman; backported from HEAD
2007-10-07 14:10:51 +00:00
exe-cutor
baa0b3ceae
Removed requirement for email, givenname and surname attributes
2007-10-03 12:32:55 +00:00
iarenaza
5d27c224dd
MDL-11299 - Make objectClass string comparison case insensitive.
...
LDAP serves accept attribute names in a case insensitive way, so don't
force the users to use any particular spelling. (backported from HEAD).
2007-09-18 08:50:18 +00:00
jgutierr25
12b7c16ffc
pb with autologinguest
2007-09-11 07:55:51 +00:00
jgutierr25
eb6591ca8b
problem with autologinguest
2007-08-31 09:42:22 +00:00
skodak
2712b7f2dc
MDL-10921 LDAP Auth to Active Directory requires LDAP_OPT_REFERRALS option set; backported from HEAD
2007-08-29 20:43:54 +00:00
stronk7
4bcf2c2122
Reverting last commit I performed by mistake when debugging
...
a bit the plugin. Sorry! :-(
2007-08-08 11:10:41 +00:00
stronk7
ed4fd6c492
Detect the connection status before continue. Else no-one
...
will be able to connect with local alternatives. And
under SSO it's a problem!
2007-08-08 10:59:42 +00:00
stronk7
c6b2e4fce9
Added Id tag
2007-08-06 22:15:19 +00:00
donal72
1880a55e53
MDL-9288 : An additional addslashes() that was in Petr's patch but didn't get committed. Tested and required.
2007-08-03 11:15:59 +00:00
jgutierr25
69860d5d10
*** empty log message ***
2007-07-23 11:38:14 +00:00
jgutierr25
28b9086750
test if cas activated and non parameters
2007-07-17 12:09:14 +00:00
jgutierr25
1110888aee
*** empty log message ***
2007-07-17 11:49:06 +00:00
exe-cutor
ba1b4cd1ef
Got rid of warning messages
2007-07-11 08:29:10 +00:00
exe-cutor
21e00abf42
Fixed a but that caused problems with usernames (shibboleth attribute) that contained uppercase letters
2007-07-11 07:58:57 +00:00
jgutierr25
611e9f2a67
*** empty log message ***
2007-07-09 08:41:30 +00:00
moodler
ed200fd420
New CAS module from Jérôme Gutierrez MDL-10366
2007-07-06 10:18:10 +00:00
skodak
300ade82c4
MDL-10355 fixed typo; backported from HEAD
2007-07-05 20:51:13 +00:00
skodak
dc6ef09c49
MDL-10309 Broken password expiration support for LDAP user types rfc2307 and rfc2307bis, patch by Iñaki Arenaza
2007-07-01 15:41:24 +00:00
poltawski
f7d555d577
MDL-10144 - Fix weak include not changed in STABLE
2007-06-18 19:37:28 +00:00
skodak
c48083bc2d
MDL-10068 "Lost Password" button does not work for ldap auth; backported from HEAD
2007-06-10 19:28:02 +00:00
skodak
938122d7d2
MDL-10061 LDAP user creation broken for Novell eDirectory since 1.8; patch by Iñaki Arenaza; backported from HEAD
2007-06-09 15:34:21 +00:00
skodak
0f8a2e49ce
MDL-4687 Password expiration support for AD (with patch) - patch by Iñaki Arenaza, thanks! backported from HEAD
2007-05-30 08:55:52 +00:00
skodak
c36701675e
MDL-9954 LDAP auth settings form problem with 'Member Attribute' and 'Member Attribute uses dn'; patch by Iñaki Arenaza - thanks! backported from HEAD
2007-05-30 08:50:00 +00:00
skodak
e882741ec2
MDL-9861 Password expiration value is calculated wrong when ldap_expirationtime2unix() returns 0 - patch by Iñaki Arenaza
2007-05-21 20:07:25 +00:00
moodler
fb3557d4d9
Committed Iñaki's patch for 1.8 from MDL-7233 unchanged. Thanks!
2007-05-21 05:25:04 +00:00
exe-cutor
0d3703f0e8
Fixed two errors that prevented the shibboleth settings from being saved unless
...
a file for the data modification api was given
2007-05-15 08:48:12 +00:00
skodak
f8895a0de5
MDL-9642 auth/CAS: Dependence on external PEAR DB
2007-05-10 12:28:50 +00:00
Martin Langhoff
0b1d21c0c3
Manual fixup - cvsps has dropped the CAS library
2007-04-30 10:47:39 +12:00
donal72
791fbc5687
MDL-9288 - use addslashes to avoid injection attacks on data imported vi mnet
2007-04-29 13:59:01 +00:00
skodak
ea714cfdbd
MDL-8813 Cas auth for 1.8x - credit goes to Jérôme Gutierrez; TODO: redirection after failed login
2007-04-29 13:57:46 +00:00
skodak
67ca52345c
MDL-9491 fixed problem with broken change/reset password in db auth when using internal passwords; backported from HEAD
2007-04-22 21:42:57 +00:00
stronk7
3e7759c3b6
Add one missing return causing db(internal) pass change not to work.
...
Partially, MDL-9491
2007-04-22 14:18:40 +00:00
nicolasconnault
c30e73badc
Fixed many XHTML errors
2007-04-20 07:49:39 +00:00