Samba package 4.9.x samba smbd not playing with winbind.
L.P.H. van Belle
belle at bazuin.nl
Mon Dec 3 15:24:38 UTC 2018
Yes, thats what im saying..
And thats because of :
cat /var/lib/dpkg/info/samba-common.postinst |tail -n15
# Test server role and change smb.conf to enable idmap * by default.
SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1`
# Enable idmap config * by default. Only match untouched configs.
if [ "$SERVER_ROLE" = "standalone server" ] || [ "$SERVER_ROLE" = "auto" ]; then
sed -i \
-e 's/; idmap config \* : backend = tdb/ idmap config * : backend = tdb/g' \
-e 's/; idmap config \* : range = 3000-7999/ idmap config * : range = 3000-7999/g' \
"$CONFIG"
fi
I only dont like these big sed lines, but thats for the next samba version.
My main goal here was, have a working set, without comprimizing older settings.
And it works as you see.
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> > subprocess installed post-installation script returned error exit
> > status 1 Processing triggers for libc-bin (2.27-8) ... Processing
> > triggers for initramfs-tools (0.130) ... Processing triggers for
> > systemd (232-25+deb9u6) ... Errors were encountered while
> processing:
> > samba
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> >
>
> If you use your 4.9.3 packages:
>
> apt-get install samba winbind
> .....
> .....
> Checking smb.conf with testparm
> Load smb config files from /etc/samba/smb.conf
> Loaded services file OK.
> Server role: ROLE_STANDALONE
>
> Done
> Setting up samba-dsdb-modules:amd64 (2:4.9.3+nmu-1.3~deb9) ...
> Setting up winbind (2:4.9.3+nmu-1.3~deb9) ...
> mkdir: created directory '/var/lib/samba/winbindd_privileged'
> changed group of '/var/lib/samba/winbindd_privileged' from
> root to winbindd_priv
> mode of '/var/lib/samba/winbindd_privileged' changed from
> 0755 (rwxr-xr-x) to 0750 (rwxr-x---)
> [ ok ] Starting the Winbind daemon: winbind.
> Setting up samba (2:4.9.3+nmu-1.3~deb9) ...
> Adding group `sambashare' (GID 108) ...
> Done.
> 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 masked)
> [ ok ] Starting SMB/CIFS daemon: smbd.
> [ ok ] Starting NetBIOS name server: nmbd.
> Processing triggers for libc-bin (2.24-11+deb9u3) ...
>
> Rowland
>
>
More information about the samba-technical
mailing list