Joining an NT domain using the command line?

Iain Rae iainr at civ.hw.ac.uk
Fri Apr 9 17:43:39 GMT 1999


On Fri, 9 Apr 1999, Burch, Phil wrote:

> Has anyone found a good way to change the local machine names on a 'lab' of
> NT workstations after cloning them? I have done some weird stuff with making
> batch files into services that call regedit and tweak the machine name
> settings but it really isn't efficient.
imagecast allows you to change the hostname and the domain (also to make
arbitrary registry changes) immediately after cloning. It also has a
client which allows you to reboot/psh images to hosts.

If you're running ISC dhcpd (possibly if you're running any dhcpd) there's
a program which checks to see if the hostname matches what dhcpd thinks
your hostname should be and changes it f it's not. I've got it kicking
about somewhere, e-mail me if you're interested.


Of course if microsoft had a reasonable dhcp client there wouldn't be this
problem :)



> 
> Phil Burch
> Computing Services
> North Seattle Community College
> http://nsccux.sccd.ctc.edu
> 
> 
> -----Original Message-----
> From: Iain Rae [mailto:iainr at civ.hw.ac.uk]
> Sent: Friday, April 09, 1999 3:31 AM
> To: Multiple recipients of list
> Subject: Re: Joining an NT domain using the command line?
> 
> 
> On Fri, 9 Apr 1999, Matt Chapman wrote:
> 
> > Iain Rae wrote:
> > > 
> > > imagecast generates SID's ok and changes the hostname but won't
> > > postconfigure the domain appropriately. If we clone a PC which is
> already
> > > in the domain it will set everything up but in order to get logons
> working
> > > you have to mess with the control panel as described in the NTDOM FAQ.
> > > 
> > 
> > Try cloning a PC which is already in the domain and then cloning its
> > smbpasswd entry, so that the trust password is the same.
> > 
> > There is nothing special about the process of "joining a domain"; it
> > just involves a synchronisation of secrets.
> > 
> > 	Matt
> Now why didn't I think of that.
> 
> Of course, it works.
> 
> thanks
> 
> 
> 
> 
> 
> > 
> > 
> > -- 
> > Matt Chapman
> > m.chapman at student.unsw.edu.au
> > 
> 
> 
> ----------------------------------------------------------------------------
> ---
> | Iain Rae               | Tel: 0131 449 5111 Ext 4406 (Day)(but I'm never
> in)|
> | Computing Officer.     | Any Opinions I am able to form are my own and in
> no|
> | Civil & Offshore Eng.  | way reflect those of my employers.
> |
> | Heriot-Watt University.| Well that's my opinion anyway.
> |
> ----------------------------------------------------------------------------
> ---
> 


-------------------------------------------------------------------------------
| Iain Rae               | Tel: 0131 449 5111 Ext 4406 (Day)(but I'm never in)|
| Computing Officer.     | Any Opinions I am able to form are my own and in no|
| Civil & Offshore Eng.  | way reflect those of my employers.                 |
| Heriot-Watt University.| Well that's my opinion anyway.                     |
-------------------------------------------------------------------------------



More information about the samba-ntdom mailing list