[Samba] Upgrade 4.8 to 4.9 with Backend-Change to lmdb?

L.P.H. van Belle belle at bazuin.nl
Wed Sep 26 12:47:17 UTC 2018


At this point i can not recommend to upgrade to 4.9.0 or 4.9.1, a side note on this. 
The bug in question why im blocking it for production, does not happen for domain members and AD-DC's but it's still a risk in my opinion.
Because for this bug, your obligated to set the idmap ... : settings or run : net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin 

For the member, you need to adjust the install order a bit to get past it without problems. 

As temp workaround (for member installation) ADDC should go fine once provisioned. 
For a stand-alone server use the same steps, but leave out the idmap domain settings. 

- Steps
apt-get install samba 

- Then stop smbd and nmbd
systemctl stop smbd nmbd

- Option 1: ( my personal choice, because this keeps thing in sight ) 
- ( Domain Member settings and/or Stand-Alone installs )
- Configure smb.conf  ( make sure you have configured the idmap settings. )
       # - You must set a DOMAIN backend configuration, see below
       idmap config * : backend = tdb
       idmap config * : range = 3000-7999

- Domain Member only setting, choose one of these 2, read and choose. 

Option 2: net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin 
Recommended if you using only a stand-alone setup, dont run this on a member, that not needed and my cause other problems.

- And now your ready to install winbind. 
apt-get install winbind

When i'm happy with the status of 4.9.x then im moving it from the test repo to the stretch-samba49 repo. 
And I really suggest you wait until that happen, except when your want to test things out. 
Just change the repo name to : stretch-experimental 

If you want to test ldmb, the preparation for lmdb are done in the 4.9.x. packages. 
Im not aware of an upgrade possibilty of tdb to lmdb (yet). 
At least i did not find any upgrade notes. 

I hope this is a bit the answer your are looking for. 



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Oliver Rath via samba
> Verzonden: woensdag 26 september 2018 13:57
> Aan: samba
> Onderwerp: [Samba] Upgrade 4.8 to 4.9 with Backend-Change to lmdb?
> Hi list,
> are there preparations for upgrading a samba 4.8.5 to 4.9.1 via
> van-belle-repository to change the backend db? Is there some handwork
> necessary?
> Regards,
> Oliver
> -- 
> 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