Hi,
I believe I am experiencing similar problems to you, if you've progressed any I would appreciate an update I have a working Moodle 2.1.1 Site with LDAP Auth working & even had NTLM/Single Sign-on working nicely at one point (however thats broken again atm ) LDAP Auth is still working nicely, but I can't seem to get it to populate the Moodle User List with our users from AD? - I assume this needs to be done so users can be enrolled in courses etc?
RE: the command line argument you were after, having done some research, I believed the correct command for my server environment was the following:
C:\PHP\PHP.exe -f "C:\moodle\server\moodle\auth\ldap\cli\sync_users.php"
However... I tried this command and it paused (appeared to be doing something) then said:
Connecting to LDAP Server...
And that was all, took a few seconds but unfortunately it didn't populate my user-list as I was expecting.
You might want to try this command on your server:
"C:\Program Files (x86)\PHP\v5.3\php.exe" -f "C:\inetpub\wwwroot\Moodle\auth\ldap\cli\sync_users.php"
I'd greatly appreciate any input from anyone in the know about Moodle / LDAP Integration & populating users lists so you can enrol users etc. Thanks for your time & help in advance.