user login via LDAP but they must be present in moodel users to use application

user login via LDAP but they must be present in moodel users to use application

by Raminder Singh -
Number of replies: 2

Hi

i am testing an application. requirement for users is that they must be in uni's central system and also in moodle's users table to use moodle.

how can i configure that once users go to mymoodleapp.com they get redirected to ldap server. After authenticating the user they should be checked in local users table. if they are in the local table they are allowed access otherwise redirected back to ldap page with message that they are not authorised to use moodle app.

 

thanks

 

Average of ratings: -
In reply to Raminder Singh

Re: user login via LDAP but they must be present in moodel users to use application

by Andrea Bicciolo -

The flow you described can be probably much simpler if you configure Moodle to authenticate users against your LDAP server, so when users try to login in Moodle will have access granted if their user account exists in LDAP: http://docs.moodle.org/20/en/LDAP_authentication

In reply to Andrea Bicciolo

Re: user login via LDAP but they must be present in moodel users to use application

by Raminder Singh -

Thanks for reply.

I will test with this setup and if came across an issue i'll post here again