Difference between revisions of "Configure LDAP based authentication for moodle"
From Notes_Wiki
m |
m |
||
Line 1: | Line 1: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Moodle configuration]] > [[Configure LDAP based authentication for moodle]] | |||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[LDAP servers]] > [[Configure LDAP based authentication for moodle]] | [[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[LDAP servers]] > [[Configure LDAP based authentication for moodle]] | ||
# <tt> yum -y install php-ldap</tt> | # <tt> yum -y install php-ldap</tt> | ||
Line 31: | Line 29: | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Moodle configuration]] > [[Configure LDAP based authentication for moodle]] | |||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[LDAP servers]] > [[Configure LDAP based authentication for moodle]] | [[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[LDAP servers]] > [[Configure LDAP based authentication for moodle]] |
Latest revision as of 18:32, 28 July 2022
Home > CentOS > CentOS 6.x > Web based tools or applications > Moodle configuration > Configure LDAP based authentication for moodle
Home > CentOS > CentOS 6.x > LDAP servers > Configure LDAP based authentication for moodle
- yum -y install php-ldap
- service httpd reload
- Login as moodle administrator
- Go to Advanced features -> Plugins -> Authentication -> Manage authentication -> LDAP server
- Enter LDAP server URL
- Select "Yes" for hide password
- Choose "posixAccount" as UserType
- Enter "basedn" in contexts
- Search subcontexts - "Yes"
- User attribute - uid
- Member attribute - memberuid
- Member attribute uses dn - 0
- Use standard page for changing password - "Yes"
- Password-format "Sha1-hash"
- Field attributes:
- First name
- gn
- Sur name
- sn
- Address
- postalAddress
- Phone number
- telephoneNumber
- Click on 'Enable' column in front of LDAP server. Increase 'LDAP server' priority in comparison to 'Email server'.
- Log out and login as LDAP user to confirm
Home > CentOS > CentOS 6.x > Web based tools or applications > Moodle configuration > Configure LDAP based authentication for moodle
Home > CentOS > CentOS 6.x > LDAP servers > Configure LDAP based authentication for moodle