+ 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
    325
    Thank Post
    51
    Thanked 3 Times in 3 Posts
    Rep Power
    14

    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. #2
    penfold_99's Avatar
    Join Date
    Feb 2008
    Location
    East Sussex
    Posts
    929
    Thank Post
    56
    Thanked 162 Times in 114 Posts
    Rep Power
    67
    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.

  3. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,945
    Thank Post
    886
    Thanked 1,696 Times in 1,474 Posts
    Blog Entries
    12
    Rep Power
    447
    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
  •