upgrade reference

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Sat Jan 14 09:56:02 MST 2012


Andrew, I am not sure it was required, I had it noted from the testing we
did, I ended up changing it a few times trying different things.

On Fri, Jan 13, 2012 at 3:48 PM, Andrew Bartlett <abartlet at samba.org> wrote:

> On Fri, 2012-01-13 at 10:42 -0500, Adam Tauno Williams wrote:
> > On Wed, 2012-01-11 at 12:47 -0600, Ricky Nance wrote:
> > > Here are some VERY ROUGH notes I made on the migration process, I have
> been
> > > meaning to put this up in a samba upgrade wiki, but haven't as of yet.
> > > Also, you will want to add ldapsam:trusted = yes, and realm =
> > > samdom.org(name of your realm, this is noted) to your existing
> > > smb.conf in the
> > > [global] section. If you have any questions, hit me up, or hit up the
> list.
> >
> > Copy smb.conf and all the TDB files to the test/new server.
> > mkdir /tmp/x
> > scp root at littleboy.mormail.com:/etc/samba/smb.conf /tmp/x
> > scp -r root at littleboy.mormail.com:/var/lib/samba/* /tmp/x
> > scp -r root at littleboy.mormail.com:/etc/samba/secrets.tdb /tmp/x
> >
> > Tweak the smb.conf you copied over:
> >   set "realm = YOUR-AD-DOMAIN"
>
> I'm wondering, would it be easier if we added a --realm option?
>
> >   set "private dir = /tmp/x"
>
> Was this step required?  If it was, then we need to fix the script.
>
> >   fix your ldap reference, in case it points to ldapi:// etc,,. to
> > something that will work from the test server.
> >
> > samba-tool domain samba3upgrade --dbdir=/tmp/x  /tmp/x/smb.conf
> >
> > The latest versions work great here.
>
> Great!
>
> Andrew Bartlett
>
> --
> Andrew Bartlett                                http://samba.org/~abartlet/
> Authentication Developer, Samba Team           http://samba.org
>
>
>


--


More information about the samba-technical mailing list