[Samba] Computer name in ADUC

Rowland penny rpenny at samba.org
Thu Jun 18 12:12:43 UTC 2020


On 18/06/2020 12:39, henri transfert wrote:
> I have tried but I needed to delete the computer object in ADUC 
> between leave and rejoin to make the new name effective in ADUC.
>
> Maybe another solution is to mix both :
> 1) change the name via windows
> 2) rename with ldbrename
>
The problem with that is, you cannot tell which was done first. Yes, it 
could be done on a computer by computer basis, but this would probably 
entail:

log into ADUC

Change the computer name

Log into the samba DC

change everything else with ldbrename

log into the computer

change its name

reboot computer.

It is probably easier to leave & rejoin the computer.

Rowland





More information about the samba mailing list