[Samba] Upgrading from Samba 4.8.2 to 4.15.5

Mark Foley mfoley at novatec-inc.com
Sat Jan 28 06:44:45 UTC 2023


I wrote earlier about setting the domain user password minimum to > 14
characters. It was advised that my first step should be to upgrade from Samba
4.8.2 to the most recent version available which for my Slackware 15.0 distro is
4.15.5. This also involved a distro upgrade from Slackware 14.2 to 15.0. 

After upgrading, just for the heck of it, I tried starting Samba without
changing my 4.8.2 configs.  Of course, that didn't work.  My initial error (of
several) in syslog was:

Jan 28 00:42:52 mail krb5kdc[2725]: Cannot open DB2 database '/var/kerberos/krb5kdc/principal': No such file or directory - while initializing database for realm MYDOM.LOCAL

At that point I decided to read the Wiki: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller#Introduction

Under "Only Applicable if Samba was Previously Installed", it is telling me to
deleted all my carefully crafted config files and looks like it's going to lead
me through the steps of re-provisioning.

Before taking that step I thought I'd ask if I really need to do that? Can I not
just install krb5, etc. and get there step-wise without redoing especially my
/var/lib/samba/private/ named.conf and dns/ files, and re-provisioning?

Thanks --Mark



More information about the samba mailing list