Web lists-archives.com

Re: [Samba] Migration samba 3 to 4

On Tue, 4 Sep 2018 11:05:10 +0200
Philippe Maladjian via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Hello,
> I am working on the migration of our samba 3.5 domain controller
> (redhat 5.7) with ldap backend to samba 4.5 on a new server (debian
> 9.5).
> On the new server I transferred the smb.conf and all the contents of
> the /var/lib/samba folder to a temporary folder /root/samba3.
> To start the migration I use the command:
> # samba-tool domain samba3upgrade --dbdir =/root/samba3/ --realm = 
> MYDOMAIN.LAN /root/samba3/smb.conf

Have you read this:


You are running the wrong command.

You do seem to have problems with your databases though:

Severe DB error, sambaSamAccount can't miss the samba SIDattribute

Can you post the smb.conf you are using for the upgrade.


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba