PDA

View Full Version : Woes after machine rename



Raphael
5th July 2007, 05:04 PM
G'day all,

Disclaimer: I didn't set up or install the server! I'm just trying to fix it! :)

A while back (before I came on the scene) our server was renamed.

Now in Workgroup Manager when a new user is created their home directory appears as:



Home: afp://new-servername.our.local.domain/Users/the_user
/Network/Servers/old-servername.our.local.domain/Users/the_user


Logging in as the user the_user (using Terminal or SSH) you get the following error:


cd: /Network/Servers/old-servername.our.local.domain/Users/the_user: No such file or directory


What is going on? Anyone have any clues that may help me resolve this?

Many TIA!

Raphael

aclarke
5th July 2007, 06:37 PM
Have a look at NetInfo Manager... this is where the file system and the user database come together. You should be able to find the user's old name and change it here. It'll be in the "users" section. Don't mess about with anything you're not sure of though - NetInfo Manager will quite cheerfully screw the whole file system if you're not careful. Maybe do a Google on the subject if this isn't clear.

Raphael
10th July 2007, 02:49 PM
This isn't regarding a user's old name - it's regarding the machine's old name. :(

I'm not noticing anything in NetInfo Manager that's helping (atm). I do appreciate the help efforts though!

Thanks!

Raphael

Huy
10th July 2007, 04:18 PM
System Preferences?
Sharing?

Computer Name?

Raphael
10th July 2007, 04:22 PM
System Preferences -> Sharing -> Computer Name is set to the new computer name

Huy
10th July 2007, 04:28 PM
Couldn't you just type the old server name in there?
Not sure what the problem is... sorry

silverdreamer
10th July 2007, 05:38 PM
Couldn't you just type the old server name in there?
Not sure what the problem is... sorry

Thats where I would start, if you know the old name for the computer.:confused:

mab
10th July 2007, 06:21 PM
what does scutil --get ComputerName display (note the uppercase C and H)