Forum Home
Press F1
 
Thread ID: 30272 2003-02-14 21:33:00 Renamed XP won't rejoin Samba domain tombarnfield (2475) Press F1
Post ID Timestamp Content User
121300 2003-02-14 21:33:00 I have set up a master XP Pro machine for a school, which logs in no problem to their Linux file server, using Samba.

I ghosted 10 identical PCs, each of them login OK after ghosting.

I renamed each ghosted PC with a unique computer name, by leaving the domain and joing a workgroup and restarting the PC. The computer name changes OK.

When I try to rejoin the samba domain (called "WORKGROUP"), and enter the same userid/pw as used originally, I get an "access is denied" message.

Is there any other way of renaming the PCs without leaving the domain?
tombarnfield (2475)
121301 2003-02-15 01:12:00 Try restarting the Samba server. You might have confused it ;-) Graham L (2)
121302 2003-02-15 05:57:00 OK - I will try this tomorrow, but restarting the file server every time I add a new machine is not the most elegant solution.... tombarnfield (2475)
121303 2003-02-15 06:54:00 All Graham was meaning was to stop Samba and then restart it. There is no need to reboot the PC.
Something along the lines of

/sbin/init.d/smb stop
/sbin/init.d/nmb stop

/sbin/init.d/smb restart
/sbin/init.d/nmb restart
Gorela (901)
121304 2003-02-16 01:28:00 My suggestion was based on the idea (right or wrong, ;-)) that the server had recognised the clients as being present. You then changed the clients.
Restarting the Samba server might help as a one-off.

I agree, you don't want to reboot or even restart the Samba server. You should not need to do it as a regular thing. But security things can get tricky. I suspect it's XP: W9x and W3.xx don't have security problems; they don't have security.
Graham L (2)
121305 2003-02-17 06:49:00 I have restarted the server, with no change.
I have generated a new SID, with no change
I have changed the computer back to the original name, and it will join the domain, if I change the name to something else again, it will not join the domain.
tombarnfield (2475)
121306 2003-02-17 10:28:00 The name or details you were changing it to were allowed on the domain? Captive (3159)
121307 2003-02-17 19:20:00 I am not sure what you mean by"allowed name or details" - the name which allows it to join the domain is "rnls1", the name which will not is "rnls2". I am not changing any other items before attempting to rejoin the domain - only the name. tombarnfield (2475)
1