[Pkg-samba-maint] Bug#863285: [winbind] Install/Updates Fail When Samba Running as samba 4 Domain

Roberto C. Sánchez roberto at connexer.com
Mon Jul 31 11:22:50 UTC 2017

On Mon, Jul 31, 2017 at 09:51:25AM +0200, L.P.H. van Belle wrote:
>    Hai, this is know.
>    Did you check and did you correct your smb.conf before you started
>    upgrading.
>    You posted a partial smb.conf, that did not help, can you post your
>    complete smb.conf ( anonimized if needed. ).
I know that I am not the original submitter, but I too have encountered
the problem reported in this bug.

>    There are 2 known things when upgrade winbind.
>    1) A failty smb.conf, prevents/failes upgrading.
>    The fix :  correct the smb.conf  and run dpkg --reconfigure -a
I have confirmed that my smb.conf is correct and not faulty and the
upgrade still fails.

>    2) possible problem with nsswitch.conf
>    if you have winbind before compat, switch them and run dpkg --reconfigure
>    -a
I have compat first in nsswitch.conf on my systems.

In my case, the solution was to mask the winbind and smbd units in
systemd.  I also masked nmbd to be safe, though the documentation
indicates that nmbd does not run when Samba is configured as an AD DC.

I will be upgrading all of my systems soon, but I am retaining a
pre-upgrade snapshot of one of the VMs that runs as an AD DC.  If I can
help with resolving this, please let me know.



Roberto C. Sánchez

More information about the Pkg-samba-maint mailing list