[Samba] Ubuntu 18.04 classicupgrade help
rpenny at samba.org
Wed Jul 15 07:15:34 UTC 2020
On 15/07/2020 01:14, Carl Hunter via samba wrote:
> 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.
> I've also found this post that creates a Samba AD on Ubuntu 18.04 from scratch but doesn't have the upgrade steps.
That howto isn't bad, he just got /etc/hosts wrong ;-)
> 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.
The paths refer to a self compiled Samba, Ubuntu uses different paths
> 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.
Just ignore anything to do with ldap
> 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?
No and you only really need the line if you are changing the computers
hostname during the upgrade.
> 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?
Bit more involved than that, all the users and groups are obtained from
the existing database (along with passwords and the domain SID). This
information is then used to provision a new AD domain.
> I think I should stop there.
> Thanks in advance and hopefully this makes some sense.
Yes, it did ;-)
More information about the samba