[Samba] Ubuntu 18.04 classicupgrade help

L.P.H. van Belle belle at bazuin.nl
Wed Jul 15 07:21:51 UTC 2020


And, ho stop, first line i see in that manual is wrong. 

# Add this line to /etc/hosts so that dc1 resolves to  dc1 dc1.ad.ricosharp.com
Should be  dc1.ad.ricosharp.com dc1 

sudo cp /var/lib/samba/private/krb5.conf /etc
Not needed, the default install is suffient. 

And it started with errors just after he sets up. 
Sorry, i cant recommend this. 

For new server setup. 
Well, i can recommend only this guys guide.. 
Best there is in my opinion ;-) 

> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Carl 
> Hunter via samba
> Verzonden: woensdag 15 juli 2020 2:14
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Ubuntu 18.04 classicupgrade help
> I've currently got a Ubuntu 18.04 server running Samba 4.7.6 
> with an NT4 domain that I'd like to migrate to an AD.  I've 
> found the following link but am struggling to match up the 
> steps with the Ubuntu install.  
> https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_Domain_
> to_Samba_AD_(Classic_Upgrade)
> I've also found this post that creates a Samba AD on Ubuntu 
> 18.04 from scratch but doesn't have the upgrade steps.  
> https://blog.ricosharp.com/posts/2019/Samba-4-Active-Directory
> -Domain-Controller-on-Ubuntu-18-04-Server
> Would someone be able to help with some questions?  

> In the first link, the "Server information used in this 
> HowTo" section lists a bunch of settings.  I'm not sure how 
> that matches up with Ubuntu.  
> I'm not using ldap, my smb.conf file has "passdb backend = 
> tdbsam:/var/lib/samba/passdb.tdb" in it if that's any help.  
> Under the "Domain controller name" section it talks about a 
> "netbois name =" line in the smb.conf file.  I don't have 
> that in mine but I do have a "workgroup =" line.  Is this the 
> same thing?

Well on this part, i cant recommend much, i didnt upgrade i did setup a new clean server.
Bit more work.. So on these steps, 
Well.. Rowland i the guy that will give the best advice here. 

> Does the classicupgrade just "convert" a bunch of files like 
> the passdb.tdb and smb.conf files?  And unless you actually 
> replace the files and start the AD service nothing actually changes?  
> I think I should stop there.  



More information about the samba mailing list