Just migrate Moodle site to Amazon cloud hosting, transfer the file system, restore the database, also front end Moodle code, change the config.php file with right settings.
Everything looks right, but when I try to login, it's really slow, take about 2 mins to login, but works.
Using tcpdump net command and found it try to connect LDAPhost which we are not expecting. Would like to disable LDAP authentication, only using database authentication which will mdl_user table.
To disable the LDAP auth by stie adminitration->plugin->authentication->Manage authentication, disable LDAP by click the eye button.
Now, check the database using this query, SELECT name, value FROM mdl_config WHERE name = 'auth', the value has changed from 'ldap' to '', (empty).
I assume the it's been disabled, but when I try login to moodle again, it's still looking for the LDAP host. I am really lost here.
Am I doing something wrong?