[Samba] samba / openldap upgrade

pmorvan at laita.fr pmorvan at laita.fr
Wed Jun 6 09:21:13 MDT 2012

> What OS are you running?

Red Hat Enterprise Linux ES release 4 (Nahant)
> You should do the openldap upgrade separate from the samba upgrade. 
> Depending your OS version you may have packages to update openldap or
> samba.  If you are using linux you may have minor upgrades available as
> packages which may fix known bugs.   You should make a complete back up
> of your ldap data first and have a plan to roll back.     If you are
> compiling openldap you can compile to an alternate location from your
> current LDAP.    You may need to copy the samba schema into the new
> openldap file system path .     If all goes well, you should be able to
> stop the old ldap server process, copy data over to the file system
> path, and start it up.
> I suggest you use a spare machine to test compiling openldap (if need
> be) and to test importing LDAP data from a backup. 
> I believe Samba 3.3 supports Windows 7, but I have not tried it.  I have
> used samba 3.4.x and 3.5.x.   Depending on your OS you may need to
> either update packages or build from scratch.      You may find it
> easier to set up a new machine with a new version of linux (assuming
> linux) that already has a newer openldap and samba installed.   Samba
> 3.4.x will have several changes in terms of machine account creation,
> idmap caching, and winbind caching.  Also, you may need to explicitly
> define a "nobody" user   With samba 3.4.x   and 3.5.x  I have a small
> issue with creating new machine accounts.    See earlier posts to this
> list from my name.    I have Oracle Directory Server as my ldap backend,
> so I think it is more of an LDAP issue then a samba issue.
> For the samba upgrade you may want to  set up a test machine to become
> more familiar with the new version.  You should assume that there will
> be some glitches during the upgrade.   You may need several hours to
> make the cutover.    Make sure you back up your configuration, spool,
> cache etc directories just in case you need to roll back to the previous
> version

Ok I'm gonna try all that on test machines.
I let you know.

Thank you !

> On 06/06/12 07:15, pmorvan at laita.fr wrote:
> > Hi, 
> >
> > I run a samba 3.0.10-1.4E.2 with openldap 2.2.13 on the same server 
> > hat 4) 
> > I would like to upgrade both to be able to join win7 machine to my 
> > (and because openldap crash sometimes..). 
> >
> > I have no idea how to do that and I don't know if it takes lot of 
> > This server is critical and can't be stop like that. 
> > I would like to upgrade to the latest versions. 
> >
> > Can someone help me or guide me ? 
> >
> > Thanks.
> -- 
> 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 mailing list