Email authentication after server change

Email authentication after server change

by Chamika Ranasinghe -
Number of replies: 5

Dear All,

I change my moodle hosting ( both IP and domain name has been change ) . My moodle authenticating with institutional AD. now moodle asking email confirmation again for all of yours who they actually done email authentication earlier. can i manage this in database level for all existing users ??? any flag or record changes ??

Average of ratings: -
In reply to Chamika Ranasinghe

Re: Email authentication after server change

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
I saw that you've also upgraded your site: https://moodle.org/mod/forum/discuss.php?d=394019#p1588617. Is this server change in addition to that? Did you follow the steps as documented in https://docs.moodle.org/38/en/Moodle_migration ?
In reply to Visvanath Ratnaweera

Re: Email authentication after server change

by Chamika Ranasinghe -

Yes Sir , same site .. followed instructions as well . now im in a another problem. my domain name going to be change and IP address of the server too. now i need to stop re-authentication process of existing users . can i handle this in DB level ?

In reply to Chamika Ranasinghe

Re: Email authentication after server change

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hallo Chamika

I don't know whether you were too hasty taking two steps in quick succession. Anyway to recap:

Step A: You upgraded your Moodle 3.2 to 3.8 and all were well after minor hick-up discussed here https://moodle.org/mod/forum/discuss.php?d=394019#p1588617. For my understanding: You upgraded on the old 3.2 (by exchanging the Moodle code directory from 3.2 to 3.8)? Not on a copy, right? And the users could authenticate with the ActiveDirectory, before and after upgrade?

Step B: You migrated the site to a new server, obviously to a different IP address but also having a different domain name.

You said: "now moodle asking email confirmation again for all of yours who they actually done email authentication earlier" What is "earlier", in the 3.2? in the 3.8 in Step A? Why did they do that at all? A user set for authentication method ActiveDirectory never have to do any confirmation via e-mail!

N.B. The formal address may be correct in our subcontinent, but in the global village everybody is a netizen ;)
In reply to Visvanath Ratnaweera

Re: Email authentication after server change

by Chamika Ranasinghe -
Dear Visvanath ,

What you mentioned was correct. Still im getting some errors and need to fix those before move forward. i studied bit about moodle DB and now i know where i need to update emails changes (according to the domain name change in my institute ) .

anyway , can i stop email verification from my upgraded moodle for new users ?? ( need to keep AD authentication as it is )

Note:
I do have many errors on in upgraded moodle site . ill post them desperately

thank you
In reply to Chamika Ranasinghe

Re: Email authentication after server change

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
About stopping the e-mail verification mail, I don't know what mechanism triggers them, unless you have https://docs.moodle.org/en/Email-based_self-registration activated. If not, I repeat what I wrote earlier:
>> You said: "now moodle asking email confirmation again for all of yours who they actually done email authentication earlier" What is "earlier", in the 3.2? in the 3.8 in Step A? Why did they do that at all? A user set for authentication method ActiveDirectory never have to do any confirmation via e-mail!