Quantcast
Channel: Authentication
Viewing all articles
Browse latest Browse all 8256

external db authentication failing

$
0
0
by Mairsile Hourihane.  

We are having a problem with the external database authentication plug-in.

We can connect from our Moodle 2.9.4 (build 20160111) site to one of our test sites with no problem but when we connect to the live external site the username/password are being rejected. The Moodle site database is mysql (5.5.47-0ubuntu0.12.04.1-log).

The live external site is using Salted Crypt passwords and is using a MSSQL database, so initially we had problems with the field types on the test setting page.  The view on the live external site database is now set to convert the fields to varchar to match mdl_user and the test settings page is now working.  But the authentication is failing.

There is no option to change the encoding to UTF8 at the SQL end; we have tried using the encoding and sql setup string settings on the moodle side, both with Unicode and UCS-2, but neither option worked. 

Is there something in particular we should setting for the view, or maybe settings that we should be using? 

Or are we down to making changes to the select statements at the moodle authentication end? And if we are, what changes should we make.


Viewing all articles
Browse latest Browse all 8256

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>