[Samba] Samba 3 to Samba 4 migration
smt at vgersoft.com
Tue Jul 3 14:02:14 MDT 2012
I have a production Samba 3 installation with an LDAP backend. CentOS 5.8,
OpenLDAP. Works well.
I have a new Samba 4 installation with a different domain name on a new
CentOS 6.2 system, using Samba4.0.0beta and bind 9.9. This system does not
have Samba 3 or OpenLDAP installed. This installation passes all of the
initial kerberos, ldap and dns tests. The name was changed because this
system is on the same network as the Samba 3 installation (changing the
network is not an option).
I have a file containing a slapcat output from the Samba 3 domain. I have
edited this file to change the domain SID to the new domain's value. I
have also removed all machine entries from this file for testing purposes.
So: how do I import the slapcat data into Samba 4's LDAP server? The
procedure documented in the Samba 4 HOWTO cannot possibly work in my
situation (never mind the fact that it refers to "/etc/ldap", which I have
never heard of). Obviously missing something.
More information about the samba