Jump to content

Recommended Posts

Posted

OK hold my hands up and head down in shame.

 

During the summer I removed an aged 2003 DC and created a new 2012 DC as well as uplifted my domain level and all that jazz. Only problem is that I forgot about our Moodle Server and its LDAP authentication to our AD and now no one can log in to Moodle as it is looking for the old DC (DC01) which no longer exists.

 

Is there a way of getting into the back end of Moodle or its config files to change where it is looking for AD authentication?

 

We don't seem to have a local admin for Moodle either.

 

I'm thinking that if I can't somehow get into the back end or config's then i'll have to create another DC and use the old name.

Posted
What version of Moodle? It's stored in the DB, though where is another matter. Can you use Heidi or similar to log in to the DB and check? You'll need the SQL user and pass which you should be able to get from the Moodle config file. Somewhere like config_plugins.
Posted

If your Domain and OU structure is the same on the new DC and you entered the name of the DC in Moodle (rather then the IP), I personally would put a entry in to the hosts file which points the name of the old DC to the new DC's IP. (this should be a quick fix which avoids database changes)

 

If this is not the case you will have to change the settings in the database, the following SQL query will show you what the setting is currently set to

SELECT * FROM mdl_config_plugins WHERE plugin='auth_ldap' AND name='host_url';

 

to modify the setting change [DC IP] to the IP address of the new DC and run

UPDATE mdl_config_plugins SET value = '[DC IP]' WHERE plugin='auth_ldap' AND name='host_url';

 

Hope this helps

 

Lucy Walshaw

Overnet Data

  • Thanks 1
Posted
Bit of a tip, next time don't point to the DC directly. Point to the domain DNS name, when you make changes it won't impact Moodle.
  • Thanks 1
Posted

quick update, all I needed to do was create a server with the old name, didn't need to be a DC or anything and its now working. Now all I need to do is change the entries on Moodle to reflect the new setup and remove the new 'old' server.

 

Thanks for all the advice guys, the best thing is only one person has raised this as an issue and only because they were using it to store files rather than as a teaching resource. Time to look at getting rid?

Posted
Time to look at getting rid?

 

Thats the reason we got rid of frog here. (Might even been have you who installed it here in the first place :p )

Posted
Thats the reason we got rid of frog here. (Might even been have you who installed it here in the first place :p )

 

Against my better judgment but could have been worse, it could have been openhive :D

 

VLE's the great experiment that failed?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...