Educational Software Thread, User missing from Moodle in Technical; We have Moodle syncing with MS AD. The sync runs successfully, and all newly created AD users do get imported ...
30th September 2011, 12:33 PM #1
- Rep Power
User missing from Moodle
We have Moodle syncing with MS AD. The sync runs successfully, and all newly created AD users do get imported into Moodle on the next sync (daily).
But we do have some users who just don't get synced. They are in the same OU in AD with the same settings and everything's fine. Why don't they sync into Moodle and is there anything I can do to add the missing users in?
30th September 2011, 05:30 PM #2
why not just turn on moolde ldap authentication? That way when users log in for the first time their account is automatically created. You can then use the moodle settings to pull in all the ad user information you want (names, id number etc) and moodle will automatically get these records up to date on each login.
2nd October 2011, 05:33 PM #3
I had a similar issue which i finally solved a couple weeks back, I also believe that this is a common issue with importing users into the Moodle DB. Ours was down to a set limit in the Active Directory and having more than 1000 users in AD. Have a look at these two links, one is a link about this issue in Moodle and the other is a MS tech article on how to change this limit.
Using Moodle: LDAP sync users - what to do if LDAP search limits the # of records it'll return
How to view and set LDAP policy in Active Directory by using Ntdsutil.exe
We have over 1400 users and when the import script requests the user details from AD via LDAP, by default the limit returned is the first 1000 users. So by increasing the limit, say to 1500 (More than the amount of users we have in the domain) i was able to import the full amount of users in the domain.
4th October 2011, 09:22 AM #4
- Rep Power
Thanks both. We do have it synced with AD and new users do get imported in. Thanks for the links, I do have the limit set to 10k users but there are still just some random users (who we don't find out about until they complain) who are not appearing in Moodle, although they are sitting in the right place in AD like everyone else.
Originally Posted by davipton
I've even manually run the AD sync command on the Moodle backend but this only looks for latest changes/new users. I just don't know what else to do with the missing users.
By flashsnaps in forum Windows Vista
Last Post: 4th July 2008, 11:03 AM
By Wiseman82 in forum Scripts
Last Post: 29th February 2008, 01:03 AM
By adamf in forum Windows
Last Post: 27th February 2008, 07:42 PM
By bigdpm in forum MIS Systems
Last Post: 22nd June 2007, 03:03 PM
By NetworkGeezer in forum Scripts
Last Post: 16th November 2006, 10:55 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)