Using a CSV file with Shibboleth

Using a CSV file with Shibboleth

by Mari Cruz García -
Number of replies: 3

Hello,

We have Shibboleth as the main authentication method of our Moodle site.


It is the first time that we try the creation of new accounts using a csv file and for the password column we have written:

´not cached´ as the mdl_user table show for other users whose accounts were created using Shibboleth for the first time.

When you upload the csv file there is a message saying shibboleth, authentication plugin not supported here.


Is it possible to create the accounts in this way using Shibboleth?


Thank you very much for your advice.

Mari Cruz

Average of ratings: Useful (1)
In reply to Mari Cruz García

Re: Using a CSV file with Shibboleth

by Joël Schmid -
We have the same problem, did you find any solution so far?
In reply to Mari Cruz García

Re: Using a CSV file with Shibboleth

by Joël Schmid -

Ok, so it finally worked. If you just ignore the error an upload the users anyway they should get created correctly. Meaning the warning can be safely ignored.

We used the following csv.

username,password,firstname,lastname,email,course1,role1,auth
hansi.test@domain.com,,Hansi,Test,hansi.test@domain.com,NeC,student,shibboleth


It looks like this is a bug. There was a similar issue on Moodle Version 2 with ldap https://tracker.moodle.org/browse/MDL-27953?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel. We're soon upgrading to version 3.1, if the bug should still persist in the new version then I'm going to file a bug report.