Issue Details (XML | Word | Printable)

Key: MDL-11719
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Petr Skoda
Reporter: Daniele Cordella
Votes: 0
Watchers: 10
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

useless authentication for huge institutions

Created: 11/Oct/07 08:49 PM   Updated: 14/May/08 08:14 AM
Return to search
Component/s: Authentication
Affects Version/s: 1.8.3
Fix Version/s: 1.9.1

Participants: Andrea Bicciolo, Daniele Cordella, Eloy Lafuente (stronk7), Iñaki Arenaza, Martin Dougiamas, Petr Skoda, Petri Asikainen and Prabir Choudhury
Security Level: None
QA Assignee: Eloy Lafuente (stronk7)
Resolved date: 12/May/08
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
LDAP authentication and enrolment use user "id Number" that is stored into mdl_user table at authentication time.
Some times the field mdl_user->idnumber (varchar(64)) length in not enough to hold idumbers of user belonging to a huge institution. Somewhere between moodle forums (http://moodle.org/mod/forum/discuss.php?d=56198) it is suggested to increase the lenght f that field from its usual size to 255 (ALTER TABLE mdl_user CHANGE COLUMN idnumber idnumber VARCHAR(255);)
Well, this is not enought. In spite of the bigger size Moodle continue to store ONLY 64 bytes. THIS LET THE LDAP AUTHENTICATION AND ENROLMENT USELESS for institution where the LDAP structure can't be simply changed for high level directives. 8-O

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda committed 3 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 12/May/08 10:34 PM
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins
MODIFY lib/db/upgrade.php   Rev. 1.154.2.33    (+32 -2 lines)
MODIFY lib/db/install.xml   Rev. 1.135.2.12    (+1 -1 lines)
MODIFY version.php   Rev. 1.563.2.100    (+1 -1 lines)
Petr Skoda committed 3 files to 'Moodle CVS' - 12/May/08 10:38 PM
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins; merged from MOODLE_19_STABLE
MODIFY version.php   Rev. 1.646    (+1 -1 lines)
MODIFY lib/db/install.xml   Rev. 1.148    (+1 -1 lines)
MODIFY lib/db/upgrade.php   Rev. 1.196    (+31 -1 lines)
Petr Skoda committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 12/May/08 10:40 PM
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins
MODIFY lib/moodlelib.php   Rev. 1.960.2.77    (+3 -3 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 12/May/08 10:41 PM
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins; merged from MOODLE_19_STABLE
MODIFY lib/moodlelib.php   Rev. 1.1044    (+3 -3 lines)
Petr Skoda committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 12/May/08 10:42 PM
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins
MODIFY user/editlib.php   Rev. 1.11.2.7    (+2 -2 lines)
Petr Skoda committed 1 file to 'Moodle CVS' - 12/May/08 10:43 PM
MDL-11719 increased size of idnumber in user table - needed for some enrolment plugins; merged from MOODLE_19_STABLE
MODIFY user/editlib.php   Rev. 1.18    (+2 -2 lines)