Hi All,
Basically i have the member server joined to my domain (Its a RM CC4 setup, our forest root is a Windows 2003 server). I have managed to get the site up and running with very little problems, i can access the Moodle site from across the school and log in as the local admin user of the moodle site. I am however having problems getting AD authenication via LDAP. Ultimately i am looking to use NTLM so that users do not even have to login to get access, but for now i am happy to settle for AD authentication.
I have cron setup to run at 2am daily, but i keep seeing mentions in documents and forum posts that cron should be run with auth/ldap/auth_ldap_sync_users.php. How do i do this? Does anyone know???
Regards,
David Shipton
Network Manager
Dagenham Park Community School
That particular cron job is the one that you add to sync all the LDAP users periodically so that their details stay up to date and so that any new users are automatically added r removed...
However this won't do anything until you actually have LDAP authentication working...
Have a read through - LDAP authentication - MoodleDocs
Hi,
Just set this up on a test system the other day so here's my settings that worked...
Settings that worked on test...
Host URL: servername.domain.local
Version: 3
Hide Passwords: Yes
Name for bind user: CN=Bind-User,OU=Test,DC=testnetwork,DC=local
(change the above for the DN of your bind user account used to connect to LDAP, just needs to be a standard user with no additional rights)
Standard user required for bind
User type: MS ActiveDirectory
Contexts: OU=Test,DC=testnetwork,DC=local
Search Subcontexts: Yes
User attribute: sAMAccountName
Member attribute: member
Data Mapping
First name: givenName
Surname: sn
Email Address: mail
City \ Town: l
Country: c
I set the City \ Country via the AD so Moodle doesn't ask for it
There are currently 1 users browsing this thread. (0 members and 1 guests)