Moodle integrated Active Directory

Moodle integrated Active Directory

di Long Ly -
Numero di risposte: 4

Hello all

we have very old Moodle version. It is 1.9. Now, we plan to have a new version on Linux server and have it integrated to AD. I have read several articles about Moodle and ADFS. 


Could anyone show me exactly how to do it?


Thanks,


Media dei voti:  -
In riposta a Long Ly

Re: Moodle integrated Active Directory

di Matt T -

You use AD and ADFS interchangeably when they're quite different concepts. 

AD authentication is achieved with LDAP. The usual Moodle login form is presented and uses a LDAP lookup to the domain to authenticate the user.

ADFS is an identity provider for federated single sign-on that uses SAML to communicate with service providers (e.g. Moodle). Do you specifically use ADFS in your current environment? 

I'd suggest using the Catalyst SAML plugin if you intend to use it on later versions of Moodle. Provided you have SAML experience it's straightforward.

https://moodle.org/plugins/auth_saml2

In riposta a Matt T

Re: Moodle integrated Active Directory

di Long Ly -

I have read many articles but I am still so confused. I currently use ADFS for Office 365. We now have Moodle 1.9. However, their users are not Active Directory users. So, my boss asked me to setup a new Moodle server integrated Active Directory on Linux server . 

In riposta a Long Ly

Re: Moodle integrated Active Directory

di Stephen Bourget -
Immagine Core developers Immagine Plugin developers Immagine Testers
Long Ly,

Active directory is Microsoft's implementation of LDAP.  If you are just looking for simple authentication to active directory, LDAP is the easiest way to go.  You may want to look at the Moodle documentation for LDAP authentication.  (Note: Active Directory uses version 3 of LDAP)

https://docs.moodle.org/33/en/LDAP_authentication
https://docs.moodle.org/33/en/Active_Directory

I'm currently running three separate Moodle instances all handling login using LDAP (Microsoft Active Directory) and it works well. (I've been using it since Moodle 1.6)

Active Directory Federated Services (ADFS) is a different technology completely.  It's Microsoft's implementation of SAML.  You can use ADFS to authenticate users into Moodle however it requires additional plugins to be installed and extra setup.
https://moodle.org/plugins/auth_saml2

If you want your users to log into Moodle directly using their Office 365 credentials, this can be accomplished by configuring Moodle to use OAUTH services for authentication.  (This sends the user to the office 365 login page, and then passes the login information back to Moodle.  It only works with Moodle 3.3 or later)  you can fine more information about it here:

https://docs.moodle.org/33/en/OAuth_2_services

Hope that helps.