Joining an NT domain using the command line?

Luke Kenneth Casson Leighton lkcl at switchboard.net
Fri Apr 9 17:14:55 GMT 1999


On Fri, 9 Apr 1999, Gerald W. Carter wrote:

> On Fri, 9 Apr 1999, Matt Chapman wrote:
> 
> > 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.
> 
> Actually I was thinking about this the other day.  The advantages of being
> able to join a domain from a command line is that I could rshd into an NT
> box (I have a rshd on every nt client) and rejoin, exit, etc... as long as
> the machine was on the network.  Very handy I think.
> 
> My idea was that you would simply have to duplicate the the RPC made
> when one used the network control panel.  Sound right?

i've done most of that, jerry: the only thing i haven't got is when you
change the name of the workstation when it's still in the domain, this
sends opcode 0x25 and would require some fiddly stuff in smbpasswd.

luke



More information about the samba-ntdom mailing list