+ Post New Thread
Results 1 to 3 of 3
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 ...
  1. #1

    Join Date
    Feb 2008
    Posts
    273
    Thank Post
    50
    Thanked 2 Times in 2 Posts
    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

  2. IDG Tech News
  3. #2
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    812
    Thank Post
    46
    Thanked 136 Times in 90 Posts
    Rep Power
    60
    Quote Originally Posted by itgeek View Post
    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.

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    14,096
    Thank Post
    735
    Thanked 1,397 Times in 1,224 Posts
    Blog Entries
    8
    Rep Power
    368
    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:
+ Post New Thread

Similar Threads

  1. Importing new users into Active Directory
    By Mr_M_Cox in forum How do you do....it?
    Replies: 16
    Last Post: 4th November 2008, 11:36 AM
  2. Replies: 3
    Last Post: 11th January 2008, 07:02 PM
  3. CSVDE importing users into groups
    By markman in forum Windows
    Replies: 2
    Last Post: 8th November 2007, 02:46 PM
  4. Importing Users into Moodle from SIMS
    By Ric_ in forum Virtual Learning Platforms
    Replies: 16
    Last Post: 23rd January 2007, 08:34 AM
  5. Recommendations for importing users into Moodle
    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
  •