[Samba] Migrate from one server (samba3) to a new one (samba4)

André Guilhon andre at meninojesus.com.br
Thu Jun 5 13:44:25 MDT 2014

Hey Marc. Even if I use LDAP for users? I've already copied the smb.conf
and the tdbs to the new server, but I could not get it to connect to the
old server to require the users in LDAP database!
If I copy the /etc/groups it will work?

*André Guilhon*
Tecnologia da Informação

*(48) 3251.1915 / 8416.0050andre at meninojesus.com.br
<andre at meninojesus.com.br>*

2014-06-05 16:33 GMT-03:00 Marc Muehlfeld <mmuehlfeld at samba.org>:

> Hello André,
> Am 05.06.2014 21:26, schrieb André Guilhon:
> > I'm thinking of installing a fresh version of samba 4, into a fresh
> server.
> > I've read the docs, I know I should use samba-tool with classic upgrade
> > option and stuff. The fact is that my original server is almost dead (not
> > really, but..), and using ldapsam as Password backend and I want to
> migrate
> > it to a new server using AD, and could not find how to do it!
> > As a matter of fact, I would only need to migrate the users! Is there a
> way
> > to do it? I saw I can use a different network interface, but could not
> find
> > a way to change the original server! Any thoughts on that?
> If you want to do the classicupgrade on a new host, then simply shutdown
> Samba on the old server and copy the databases listed in the Howto and
> your smb.conf + /etc/group to the new server. Migrating from tdbsam is
> quite simple. Nothing more should be needed.
> Then install Samba and do the classicupgrade on the new host. It's all
> described here, what you need:
> https://wiki.samba.org/index.php/Samba_Classic_Upgrade_%28NT4-style_domain_to_AD%29
> If you have any specific questions or problems, just ask.
> Regards,
> Marc

More information about the samba mailing list