[Samba] classic upgrade error

Rowland Penny rpenny at samba.org
Tue Jul 17 10:09:41 UTC 2018


On Tue, 17 Jul 2018 11:30:43 +0200
Arnaud FLORENT via samba <samba at lists.samba.org> wrote:

> Hello
> 
> i have a problem after classicupgrade on ubuntu 14.04/samba 4.3.11
> 
> i know this version is not supported, sorry no way for the moment to
> do ubuntu upgrade...
> 
> 
> before migration
> 
> netbios name in smb.conf (irisserv) did not match dns hostname
> (noordo)
> 
> so AD was provisionned but with irisserv
> and there are no servicePrincipalName in irisserv ldap entry...
> 
> 
> is there a way to fix this?
> 
> Thank you
> 
> 
> 

There is a script to rename a DC, you might have to download a Samba
tarball to get it.
You will find it at SAMBA_VERSION/source4/scripting/bin/renamedc

Never used it, but it should do what you require, but, as always, test
it before using it in production.

If you are still testing the upgrade procedure, it might be easier to
run the upgrade again, but read this first:

https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_to_Samba_AD_(Classic_Upgrade)#Domain_Controller_name

Once you have a DC provisioned, you can use samba-tool to add SPN's

Rowland



More information about the samba mailing list