[Samba] Migration samba 3 to 4
mario.codeniera at gmail.com
Tue Sep 11 05:59:19 UTC 2018
Yes, agree you can change the rootdn and done many times, but you need to
change also the SIDs unless you change beforehand.
But on my case I use smbldap-tools using smbldap-populate to recreate the
tdb(s) files and copy, before using the classicupgrade.
but if got error on RID related... do --> net maxrid and add on the
smb.conf, example 109474.
> algorithmic rid base = 109474
Besure to check also the ldap.conf, as need the ldap client working and
besure to stop smb, nmb and winbind before classicupgrade.
Hope it helps on your test.
On Thu, Sep 6, 2018 at 9:54 PM Philippe Maladjian via samba <
samba at lists.samba.org> wrote:
> Le 06/09/2018 à 11:44, Rowland Penny via samba a écrit :
> > On Thu, 6 Sep 2018 11:08:21 +0200
> > Philippe Maladjian via samba <samba at lists.samba.org> wrote:
> >> Before the classicupdate on my ldap I can change the rootdn to match
> >> my.domain and not domain.fr?
> > I suppose you could try it, dump the entire ldap to an ldif, manually
> > change all 'dc=domain,dc=fr' to 'dc=my,dc=domain'. You would then have
> > to move the old ldap out of the way and add your new ldif to ldap.
> > Change your smb.conf to match. This could sort your ldap problem
> > (don't know, never tried it), not sure what you may have to do to
> > Samba, or how you would do it, again because I have never tried to do
> > this.
> > Rowland
> I test this solution:
> slapcat> export.ldif
> edit export.ldif to change the rootdn and all references to the old rootdn
> cp -a /var/lib/ldap/DB_CONFIG /root
> rm -rf /var/lib/ldap/ *
> slapadd [...] -u -l export.ldif
> vim /etc/openldap/slapd.conf to change the old rootdn
> start ldap
> For now I'm blocking slapadd. I continue my tests and I will give the
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba