I am developing a Drupal website for a college's clubs and student organizations (C & O) using organic groups. I need to synchronize the student accounts from Active Directory so I can add the users into the C & O group memberships without waiting for all of them to login.
I have successfully integrated Active Directory with the website using LDAP integration. After coming across the ldapsync module and browsing through the issues, I took the ldapsync module from #117 of http://drupal.org/node/396574 and applied the patches from #121. After installing the module, it successfully added 990 Drupal users to the website from Active Directory.
For some reason, it only pulls the exact same 990 users (out of a total of over 3,000) no matter how many times I run it. I made sure the server has no limits on the number of requests or the amount of time they take. I also made sure the limits were set to "0" in the ldapsync module (meaning no limit).
Does anyone know why it only pulls the same 990 users? Is there a way to fix this or at least add in an offset so it will pull new users?
Thank you!
Comments
Comment #1
sanktity commentedComment #2
sanktity commentedI found other users talking about this problem; #93 and #95 of http://drupal.org/node/396574
Apparently it is an AD setting. Has anyone come across this before and figured out how to fix it?
Comment #3
Renee S commentedI'm having the same problem - it's only getting 600 or so users and then stopping. Changing the filter (say, to get uid=t*) to fool it into loading those as well doesn't work, it just tells me everybody's synced. We're not using AD, we're using Sun LDAP. Our browse/search limit is 2000 entries, so that isn't it...
Comment #4
sanktity commentedThe DBA said our browse/search limit is quite high as well, so it is not that either.
I've run across documentation talking about how PHP cannot interpret paged results from an LDAP query.
Perhaps that is the issue?
Comment #5
johnbarclay commentedComment #6
Dimas_ commentedThe same for me, only import "a few" users of our 3000+ openLDAP entries.
Comment #7
cgmonroe commentedMarking this a fixed because of the new ldapsync changes just committed allow for multiple search filters to cut up searches to smaller sizes.
See last comment of: #1475272: 6.x-1.0 Release Candidate 1 Status for details.