Skip to content

MD LDAP configuration

Peter Willendrup edited this page Aug 31, 2017 · 6 revisions
  • Go to Site administration -> Plugins -> Authentication and enable the LDAP server plugin by the small eye icon
  • Fill in
  • Host URL as
    ldap://localhost
  • Version 3
  • LDAP encoding utf-8
  • Page Size 250
  • Insert your stored ldap admin dn and admin password for the bind user
  • Select
    Yes
    to NOT store passwords in the Moodle DB
  • Contexts as
    ou=users,dc=domainname,dc=basedomain
  • Input a password change url to the /ssp location of your machine, e.g. https://192.168.33.159/ssp
  • User attribute as
    uid
  • Data mapping - allowing change of email address from the moodle side, keeping name info unchanged!
  • First name
    cn
    (Update on every login, never update external, locked)
  • Surname
    sn
    (Update on every login, never update external, locked)
  • Email address
    mail
    (Update on every login, On update, Unlocked)

Configure Moodle to use the "self service password" for password resets etc.

In Plugins -> Authentication -> Manage Authentication -> Common Settings (below in page) - insert e.g. http://192.168.33.159/ssp as the value in Forgotten password URL