Hai, ? i've done some extra testing. Thank you Mathieu for the quick upgrade to 4.9.1 in experimental. ? The server in the previous post is a vm, i snaphoted it before i installed samba. Now i've?upgraded to Debian buster, rebooted reboot. ? BUSTER, samba 4.8.5? ( all fine ) apt-get install samba winbind ? Setting up samba-common-bin (2:4.8.5+dfsg-1) ... 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.8.5+dfsg-1) ... Setting up winbind (2:4.8.5+dfsg-1) ... 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---) Created symlink /etc/systemd/system/multi-user.target.wants/winbind.service → /lib/systemd/system/winbind.service. Setting up samba (2:4.8.5+dfsg-1) ... 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) Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. Processing triggers for libc-bin (2.27-6) ... Processing triggers for initramfs-tools (0.132) ... update-initramfs: Generating /boot/initrd.img-4.18.0-1-amd64 Processing triggers for systemd (239-9) ... ? ps fax ?6128 ???????? Ss???? 0:00 /usr/sbin/winbindd --foreground --no-process-group ?6130 ???????? S????? 0:00? \_ winbindd: domain child [DEBIAN9TEST] ?6242 ???????? S????? 0:00? \_ winbindd: idmap child ?6243 ???????? S????? 0:00? \_ winbindd: domain child [BUILTIN] ?6238 ???????? Ss???? 0:00 /usr/sbin/smbd --foreground --no-process-group ?6240 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?6241 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?6244 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?6279 ???????? Ss???? 0:00 /usr/sbin/nmbd --foreground --no-process-group ? ? i've now added :? deb http://ftp.nl.debian.org/debian/ experimental main non-free contrib to apt/sources.list ? And installing samba with : apt-get install -t experimental samba winbind
This files, screen outputs are shown here. ? BUSTER, Upgrade to 4.9.1 Setting up samba-common-bin (2:4.9.1+dfsg-1) ... 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.1+dfsg-1) ... Setting up winbind (2:4.9.1+dfsg-1) ... Setting up samba (2:4.9.1+dfsg-1) ... 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) Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details. invoke-rc.d: initscript smbd, action "restart" failed. ● smbd.service - Samba SMB Daemon ?? Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled) ?? Active: failed (Result: exit-code) since Tue 2018-09-25 09:53:30 CEST; 8ms ago ???? Docs: man:smbd(8) ?????????? man:samba(7) ?????????? man:smb.conf(5) ? Process: 8904 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=255) ?Main PID: 8904 (code=exited, status=255) ? Sep 25 09:53:30 debian9test systemd[1]: Starting Samba SMB Daemon... Sep 25 09:53:30 debian9test systemd[1]: smbd.service: Main process exited, code=exited, status=255/n/a Sep 25 09:53:30 debian9test systemd[1]: smbd.service: Failed with result 'exit-code'. Sep 25 09:53:30 debian9test systemd[1]: Failed to start Samba SMB Daemon. dpkg: error processing package samba (--configure): ?installed samba package post-installation script subprocess returned error exit status 1 Processing triggers for libc-bin (2.27-6) ... Errors were encountered while processing: ?samba E: Sub-process /usr/bin/dpkg returned an error code (1) ? apt-get remove winbind The following packages will be REMOVED: ? winbind 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 2,008 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 45774 files and directories currently installed.) Removing winbind (2:4.9.1+dfsg-1) ... Processing triggers for libc-bin (2.27-6) ... Processing triggers for man-db (2.8.4-2) ... Setting up samba (2:4.9.1+dfsg-1) ... 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) Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory Processing triggers for libc-bin (2.27-6) ... ? apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: ? dh-python libbind9-140 libdns162 libgmime-2.6-0 libicu57 libisc160 libisccc140 libisccfg140 liblwres141 libnotmuch4 libperl5.24 libpython3.5-minimal libpython3.5-stdlib linux-image-4.9.0-7-amd64 ? python3-distutils python3-lib2to3 python3.5 python3.5-minimal rename sgml-base xml-core Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ? ps fax ?9198 ???????? Ss???? 0:00 /usr/sbin/smbd --foreground --no-process-group ?9200 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?9201 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?9202 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?9237 ???????? Ss???? 0:00 /usr/sbin/nmbd --foreground --no-process-group ? ?apt-get install winbind ?systemctl start winbind ? ?ps fax ?? 462 ???????? S????? 0:00? \_ (sd-pam) ?9198 ???????? Ss???? 0:00 /usr/sbin/smbd --foreground --no-process-group ?9200 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?9201 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?9202 ???????? S????? 0:00? \_ /usr/sbin/smbd --foreground --no-process-group ?9237 ???????? Ss???? 0:00 /usr/sbin/nmbd --foreground --no-process-group ?9554 ???????? Ss???? 0:00 /usr/sbin/winbindd --foreground --no-process-group ?9556 ???????? S????? 0:00? \_ winbindd: domain child [DEBIAN9TEST] ? ? reboot ? ps fax | egrep "winbind|?mbd" ? 457 ???????? Ss???? 0:00 /usr/sbin/nmbd --foreground --no-process-group ? 540 pts/0??? S+???? 0:00????????????????????????? \_ grep -E winbind|?mbd ? 465 ???????? Ss???? 0:00 /usr/sbin/winbindd --foreground --no-process-group ? 467 ???????? S????? 0:00? \_ winbindd: domain child [DEBIAN9TEST] ? 472 ???????? S????? 0:00? \_ winbindd: idmap child ? and smbd isnt running anymore after the?reboot. ? systemctl start smbd Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for details. ? -- Unit smbd.service has begun starting up. Sep 25 09:58:49 debian9test systemd[1]: smbd.service: Main process exited, code=exited, status=255/n/a Sep 25 09:58:49 debian9test systemd[1]: smbd.service: Failed with result 'exit-code'. Sep 25 09:58:49 debian9test systemd[1]: Failed to start Samba SMB Daemon. -- Subject: Unit smbd.service has failed -- Defined-By: systemd -- Support: https://www.debian.org/support -- -- Unit smbd.service has failed. -- -- The result is RESULT. ? cat /var/log/samba/log.smbd [2018/09/25 09:52:11.431287,? 0] ../lib/util/become_daemon.c:138(daemon_ready) ? daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections [2018/09/25 09:53:30.808201,? 0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest) ? create_local_token failed: NT_STATUS_ACCESS_DENIED [2018/09/25 09:53:30.808246,? 0] ../source3/smbd/server.c:2000(main) ? ERROR: failed to setup guest info. [2018/09/25 09:53:48.724111,? 0] ../lib/util/become_daemon.c:138(daemon_ready) ? daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to serve connections [2018/09/25 09:56:51.050810,? 0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest) ? create_local_token failed: NT_STATUS_ACCESS_DENIED [2018/09/25 09:56:51.051352,? 0] ../source3/smbd/server.c:2000(main) ? ERROR: failed to setup guest info. [2018/09/25 09:58:34.429130,? 0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest) ? create_local_token failed: NT_STATUS_ACCESS_DENIED [2018/09/25 09:58:34.429174,? 0] ../source3/smbd/server.c:2000(main) ? ERROR: failed to setup guest info. [2018/09/25 09:58:49.892008,? 0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest) ? create_local_token failed: NT_STATUS_ACCESS_DENIED [2018/09/25 09:58:49.892053,? 0] ../source3/smbd/server.c:2000(main) ? ? ? ? ?