[Pkg-samba-maint] Bug#863285: [winbind] Install/Updates Fail When Samba Running as samba 4 Domain
Adrian Bunk
bunk at debian.org
Sun May 28 13:56:31 UTC 2017
reassign 863285 winbind 2:4.5.8+dfsg-2
thanks
On Wed, May 24, 2017 at 09:27:39PM +0000, Michael Papet wrote:
> Package: winbindVersion: 2:4.5.8+dfsg-2Severity: normal
> --- Please enter the report below this line. ---If you configure /etc/samba/smb.conf as a Samba 4 domain controller, then winbind updates/installs break.
> winbind.postinst unconditionally attempts to restart the winbind service. Any attempts to start winbind while samba is running in DC mode fail. My understanding is when running as a domain controller, samba controls winbind as a child process. Maybe I'm wrong about that.
> It seems like line 32 in /var/lib/dpkg/info/winbind.postinst needs some kind of check to see if samba is running as a DC. An ugly workaround is to comment out line 32.
>
> For complete testing, here's a partial smb.conf that seems to turn on a Samba 4 domain controller.
> [global] netbios name = DC1 realm = MYDOMAIN.COM workgroup = MYDOMAIN dns forwarder = 192.168.1.1 server role = active directory domain controller
> [netlogon] path = /var/lib/samba/netlogon read only = No
> [sysvol] path = /var/lib/samba/sysvol read only = No
>
> --- System information. ---Architecture: Kernel: Linux 4.9.0-3-amd64
> Debian Release: 9.0 500 unstable ftp.us.debian.org 500 testing security.debian.org 500 testing ftp.us.debian.org 500 jessie apt.puppetlabs.com
> --- Package information. ---Depends (Version) | Installed==============================================-+-=======================lsb-base (>= 3.0-6) | 9.20161125samba-common (= 2:4.5.8+dfsg-2) | 2:4.5.8+dfsg-2samba-common-bin (= 2:4.5.8+dfsg-2) | 2:4.5.8+dfsg-2init-system-helpers (>= 1.18~) | 1.48libbsd0 (>= 0.3.0) | 0.8.3-1libc6 (>= 2.14) | 2.24-10libldap-2.4-2 (>= 2.4.7) | 2.4.44+dfsg-4+b1libpopt0 (>= 1.14) | 1.16-10+b2libtalloc2 (>= 2.0.4~git20101213) | 2.1.8-1libtdb1 (>= 1.2.7+git20101214) | 1.3.11-2libtevent0 (>= 0.9.25) | 0.9.31-1libwbclient0 (= 2:4.5.8+dfsg-2) | 2:4.5.8+dfsg-2samba-libs (= 2:4.5.8+dfsg-2) | 2:4.5.8+dfsg-2
>
> Package's Recommends field is empty.
> Suggests (Version) | Installed=============================-+-===========libnss-winbind | 2:4.5.8+dfsg-2libpam-winbind |
More information about the Pkg-samba-maint
mailing list