Samba package 4.9.x samba smbd not playing with winbind.
L.P.H. van Belle
belle at bazuin.nl
Tue Sep 25 10:22:40 UTC 2018
Hai Rowland.
You did not install winbind. That is where the problem is.
If winbind is installed, then you have the error.
Ok try this.
apt-get remove --purge samba winbind
apt-get install samba winbind
( if not started, try )
/etc/init.d/winbind start
/etc/init.d/samba start
And dont change anything in the smb.conf, does samba start now?
If already tested in different start orders and my results are always the samba.
So 2 solutions ( workarounds ) for now.
net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin
Or
Enable :
idmap config * : backend = tdb
idmap config * : range = 3000-7999
By default.
This works fine also.
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config BUILTIN : backend = tdb
idmap config BUILTIN : range = 2500-2999
Both work and this is a small change in the default.
Im happy with these change, (for now).
More about this, because its not fully correct.
Im testing this a bit more..
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: Rowland Penny [mailto:rpenny at samba.org]
> Verzonden: dinsdag 25 september 2018 12:12
> Aan: samba-technical at lists.samba.org
> CC: L.P.H. van Belle
> Onderwerp: Re: Samba package 4.9.x samba smbd not playing
> with winbind.
>
> On Tue, 25 Sep 2018 11:11:21 +0200
> "L.P.H. van Belle via samba-technical"
> <samba-technical at lists.samba.org> wrote:
>
> > hai,
> >
> > Im wondering, im having problem whil installing samba + winbind on a
> > stand-alone setup. Everything is the default setting.
> >
> > I've reported it at debian.
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909465
> >
> > Could someone have a look at this and tell me if im missing
> something
> > here before im going in circles.. To me this looks like a bug in
> > samba itself and the detection of settings, in combination with
> > detecting winbind itself. Do note, im not a dev, just my thoughts
> > here.
> > Greetz,
> >
> > Louis
> >
> >
>
> This is something to do with systemd, because you do not get the error
> on Devuan. An upgrade to 4.9.1 finishes without an error.
>
> Samba is not being run as an AD Domain Controller: Masking
> samba-ad-dc.service
> Please ignore the following error about deb-systemd-helper
> not finding those services.
> (samba-ad-dc.service already masked)
> [ ok ] Stopping SMB/CIFS daemon: smbd.
> [ ok ] Starting SMB/CIFS daemon: smbd.
> [ ok ] Stopping NetBIOS name server: nmbd.
> [ ok ] Starting NetBIOS name server: nmbd.
> [ ok ] Stopping Samba AD DC daemon: samba.
> Setting up libnss-winbind:amd64 (2:4.9.1+nmu-1~deb9) ...
> Processing triggers for libc-bin (2.24-11+deb9u3) ...
> Processing triggers for initramfs-tools (0.130) ...
> update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
> Processing triggers for libvlc-bin:amd64 (3.0.3-1-0+deb9u1) ...
>
> Rowland
>
>
More information about the samba-technical
mailing list