I have read similar topics in these forums, but it's still unclear for me how to configure the Moodle integration.
Let me give a description of my install:
I am running Moodle 3.4 with an mariadb database on a CentOS7 (NethServer) server.
Moodle is installed in /var/www/moodle/
Moodle is reachable at
domain.tld/moodle
This makes the path to moodle: /var/www/moodle/config.php
Moodle gets it's users from Samba4 AD accountprovider running in a linux container. This works fine: I can log into Moodle with any Samba4 account.
On the same server I have installed Xerte 3.9 in /var/www/xerte/
Xerte is reachable under
domain.tld/xerte
domain.tld has a valid LE certificate so https is working ok too.
When I set the authentication to guest, all works fine.
When I set authentication to Db and create a user in the xerte mariadb, this works fine too.
If I want to use Moodle auth, what do I have to set where exactly?
I put the path to moodle config.php in management page, save and refresh, I don't get a Moodle login screen.
Since I use Samba4 users, would it make any difference if I just use Samba4 authentication? Do I lose any integration options with Moodle?
After I hit save to use Moodle auth, and refresh I get a: Error: Database connection failed
I probably miss an essential step.
Any pointer is highly appreciated
/edit: What /where can I edit something to revert to Db auth? If this is a commandline option, can you please give an example? (I have root SSH access)