General developer forum

Moodle LDAP Authentication - Data Mapping

 
Picture of Peshali Randika
Moodle LDAP Authentication - Data Mapping
 

I want to display a variable which we can't access directly from ldap server. I can access the attribute type with more variables including what I want. I just want to split the value and take the variable value what I want to display.

For "state" - I want to display only "Employee"

So, what are the files we want to edit? I make some changes in auth/ldap/auth.php

But it is not working


 
Average of ratings: -
Picture of Peshali Randika
Re: Moodle LDAP Authentication - Data Mapping
 

Can I use moodle XMLDB editor for this purpose?


 
Average of ratings: -