[Pkg-samba-maint] Bug#909465: samba: Upgrade samba fails if winbind is install with default config

L.P.H. van Belle belle at bazuin.nl
Fri Sep 28 07:38:09 BST 2018


Hai, 
 
We have found the following. 
This only happings with the standalone install if you setup for a ADDC or Member server, you get past this bug.
 
It happens due to systemd smbd.service 
# /lib/systemd/system/smbd.service
[Unit]
Description=Samba SMB Daemon
Documentation=man:smbd(8) man:samba(7) man:smb.conf(5)
Wants=network-online.target
After=network.target network-online.target nmbd.service winbind.service

The "After .. winbind.service" shows the bug in question and this causes smbd to fail at boot. 
 
I have a few workarounds to make it work. 
 
install a stand-alone server.
apt-get install samba 
 
To avoid the problem run : 
net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin 
 
or define the idmap in smb.conf

idmap config * : backend = tdb
idmap config * : range = 3000-7999 

Now you can install winbind also, if you dont need winbind, then the bug does not show.

Greetz, 


 
Louis
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20180928/759c5e44/attachment.html>


More information about the Pkg-samba-maint mailing list