Virtual Learning Platforms Thread, Importing Users in Technical; Hi I want to import users into moodle ubuntu 9.10. If I setup LDAP will this import all the users ...
-
22nd March 2010, 08:16 AM #1
- Rep Power
- 11
Importing Users
Hi I want to import users into moodle ubuntu 9.10. If I setup LDAP will this import all the users into moodle? If so how do you set this up if this is a teacher or a student? Is it possible to import the groups from (sims) and link them to ad account?
Thanks
-
-
IDG Tech News
-
22nd March 2010, 08:30 AM #2 
Originally Posted by
itgeek
Hi I want to import users into moodle ubuntu 9.10. If I setup LDAP will this import all the users into moodle? If so how do you set this up if this is a teacher or a student? Is it possible to import the groups from (sims) and link them to ad account?
Thanks
There are products avalaible that will allow you to import class data and groups from SIMS and link them to users in LDAP. The key is to have a unique identifier in active directory that moodle can use to associate the users to their course/group/timetable information.
-
-
22nd March 2010, 08:35 AM #3 Now you have setup LDAP you need to Sync it with your AD. I use the LDAP Sync Script.
Setting up regular automatic synchronisation using cron
There is a script located at /auth/ldap/auth_ldap_sync_users.php which will create or suspend/delete (see the setting above) all LDAP accounts automatically. Ideally, this is called from the command line once a day during a quiet time using exactly the same procedure as the standard cron job (so you will end up with two cron entries). It is important, however, to make sure that all of the above LDAP settings are working properly before you try this, as well as backing up your database and moodledata folders. Poor LDAP configuration could lead to users being wrongly deleted.
If you find that the script is not running through all of your users properly and you have MS Active Directory + over 1000 users, this is because by default, MS AD only sends back 1000 users at a time. Follow the instructions here to set the MaxPageSize setting to a number higher than your total number of users (both now and in future) to fix it.
Link: LDAP authentication - MoodleDocs
-
SHARE: 
Similar Threads
-
By Mr_M_Cox in forum How do you do....it?
Replies: 16
Last Post: 4th November 2008, 11:36 AM
-
Replies: 3
Last Post: 11th January 2008, 07:02 PM
-
By markman in forum Windows
Replies: 2
Last Post: 8th November 2007, 02:46 PM
-
By Ric_ in forum Virtual Learning Platforms
Replies: 16
Last Post: 23rd January 2007, 08:34 AM
-
By Ric_ in forum Virtual Learning Platforms
Replies: 6
Last Post: 9th October 2006, 10:49 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules