+ Post New Thread
Results 1 to 3 of 3
Virtual Learning Platforms Thread, Moodle 1.9.5 LDAP user sync in Technical; Hi All, Basically i have the member server joined to my domain (Its a RM CC4 setup, our forest root ...
  1. #1
    davipton's Avatar
    Join Date
    Feb 2009
    Location
    Essex
    Posts
    57
    Thank Post
    14
    Thanked 11 Times in 10 Posts
    Rep Power
    13

    Moodle 1.9.5 LDAP user sync

    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

  2. #2

    Join Date
    Jan 2009
    Location
    Taunton
    Posts
    62
    Thank Post
    2
    Thanked 5 Times in 5 Posts
    Rep Power
    12
    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

  3. #3
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,662
    Thank Post
    166
    Thanked 220 Times in 203 Posts
    Rep Power
    67
    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

SHARE:
+ Post New Thread

Similar Threads

  1. Homeshare Homepath sync is syncing more than one user!
    By chalkwellstu in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 12th June 2009, 10:43 AM
  2. Moodle and LDAP
    By ahunter in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 31st October 2008, 11:12 AM
  3. Moodle LDAP
    By zag in forum Virtual Learning Platforms
    Replies: 6
    Last Post: 17th July 2008, 10:12 AM
  4. Moodle LDAP authentication
    By FN-GM in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 25th May 2008, 11:58 AM
  5. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 04:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •