Getting more data from Active Directory

Getting more data from Active Directory

by Mustafa A. -
Number of replies: 4

Hi,

We configured LDAP module to get our users from Active Directory. I scheduled "LDAP users sync job" and transferred all the users from AD to Moodle.

But it transferred only usernames.

How can I synchronize first names, last names and email addresses too?

Average of ratings: -
In reply to Mustafa A.

Re: Getting more data from Active Directory

by Dave Perry -
Picture of Testers

As long as they can login, that isn't a problem.

Moodle will pick up these extra details on their first login (as long as you set the LDAP module up correctly).

In reply to Dave Perry

Re: Getting more data from Active Directory

by Mustafa A. -

is it possible to get the data before they login? I want to assign them courses based on their departments before they login.

In reply to Mustafa A.

Re: Getting more data from Active Directory

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

The sync will pull everything that you have set up to sync - they do not need to log in first.  Did you add the fields on your ldap settings page under data mapping?