[Pkg-samba-maint] Bug#828624: samba: samba-ad-dc.service shouldn't be enabled by default

Laurent Bigonville bigon at debian.org
Sun Jun 26 11:28:04 UTC 2016


Package: samba
Version: 2:4.4.4+dfsg-1
Severity: serious
File: /lib/systemd/system/samba-ad-dc.service

Hi,

With the newest version the installation of samba package is failing
because of the samba-ad-dc.service service.

In the logs I see the following message:

[2016/06/26 13:15:32.377822,  0] ../source4/smbd/server.c:373(binary_smbd_main)
  samba version 4.4.4-Debian started.
  Copyright Andrew Tridgell and the Samba Team 1992-2016
[2016/06/26 13:15:32.414489,  0] ../source4/smbd/server.c:472(binary_smbd_main)
  At this time the 'samba' binary should only be used for either:
  'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
  You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
[2016/06/26 13:15:32.414586,  0] ../lib/util/become_daemon.c:111(exit_daemon)
  STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22

IMVO, the service shouldn't be enabled and started in default
installations. That would probably require some extra documentation in
the README.Debian too

Regards,

Laurent Bigonville

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba depends on:
ii  adduser              3.114
ii  dpkg                 1.18.7
ii  init-system-helpers  1.35
ii  libbsd0              0.8.3-1
ii  libc6                2.22-12
ii  libldb1              2:1.1.26-1
ii  libpam-modules       1.1.8-3.3
ii  libpam-runtime       1.1.8-3.3
ii  libpopt0             1.16-10
ii  libpython2.7         2.7.12~rc1-2
ii  libtalloc2           2.1.6-1
ii  libtdb1              1.3.9-1
ii  libtevent0           0.9.28-1
ii  libwbclient0         2:4.4.4+dfsg-1
ii  lsb-base             9.20160601
ii  procps               2:3.3.11-3
ii  python               2.7.11-2
ii  python-dnspython     1.14.0-1
ii  python-samba         2:4.4.4+dfsg-1
pn  python2.7:any        <none>
ii  samba-common         2:4.4.4+dfsg-1
ii  samba-common-bin     2:4.4.4+dfsg-1
ii  samba-libs           2:4.4.4+dfsg-1
ii  tdb-tools            1.3.9-1
ii  update-inetd         4.43

Versions of packages samba recommends:
ii  attr                1:2.4.47-2
ii  logrotate           3.8.7-2
ii  samba-dsdb-modules  2:4.4.4+dfsg-1
ii  samba-vfs-modules   2:4.4.4+dfsg-1

Versions of packages samba suggests:
pn  bind9          <none>
pn  bind9utils     <none>
pn  ctdb           <none>
pn  ldb-tools      <none>
ii  ntp            1:4.2.8p8+dfsg-1
pn  smbldap-tools  <none>
pn  ufw            <none>
pn  winbind        <none>

-- no debconf information



More information about the Pkg-samba-maint mailing list