[Samba] Upgrading from Debian Stretch to Buster, Van Belle package
Lmloge
lmloge at orange.fr
Fri Dec 20 12:44:01 UTC 2019
Hello Louis,
-----------------------------------
# apt-get remove libldb1 ldb-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
libtalloc2 libtdb1 libtevent0
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ldb-tools libldb1
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 648 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 59417 files and directories currently installed.)
Removing ldb-tools (2:1.5.6-0.1~stretch~1) ...
Removing libldb1:amd64 (2:1.5.6-0.1~stretch~1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
-----------------------------------
# apt install samba winbind acl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
ibverbs-providers libboost-atomic1.67.0 libboost-iostreams1.67.0
libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0
libcephfs2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpgme11
libibverbs1 libldb1 libnl-3-200 libnl-route-3-200 libnspr4 libnss3
librados2 libsmbclient libstemmer0d libtirpc-common libtirpc3
libtracker-sparql-2.0-0 libwbclient0 python3-crypto python3-dnspython
python3-gpg python3-iso8601 python3-ldb python3-markdown
python3-pygments python3-samba python3-talloc python3-tdb python3-yaml
samba-common samba-common-bin samba-dsdb-modules samba-libs
samba-vfs-modules tdb-tools
Suggested packages:
python-crypto-doc python-markdown-doc python-pygments-doc
ttf-bitstream-vera ctdb ldb-tools smbldap-tools ufw heimdal-clients
libnss-winbind libpam-winbind
The following NEW packages will be installed:
acl ibverbs-providers libboost-atomic1.67.0 libboost-iostreams1.67.0
libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0
libcephfs2 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgpgme11
libibverbs1 libldb1 libnl-3-200 libnl-route-3-200 libnspr4 libnss3
librados2 libsmbclient libstemmer0d libtirpc-common libtirpc3
libtracker-sparql-2.0-0 libwbclient0 python3-crypto python3-dnspython
python3-gpg python3-iso8601 python3-ldb python3-markdown
python3-pygments python3-samba python3-talloc python3-tdb python3-yaml samba
samba-common samba-common-bin samba-dsdb-modules samba-libs
samba-vfs-modules tdb-tools winbind
0 upgraded, 45 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.5 MB/31.5 MB of archives.
After this operation, 124 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://httpredir.debian.org/debian buster/main amd64
libtracker-sparql-2.0-0 amd64 2.1.8-2 [709 kB]
Get:2 http://apt.van-belle.nl/debian buster-samba410/main amd64 libldb1
amd64 2:1.5.6-0.1~buster~1 [139 kB]
Get:3 http://apt.van-belle.nl/debian buster-samba410/main amd64
libwbclient0 amd64 2:4.10.11+dfsg-0.1buster1 [134 kB]
Get:4 http://apt.van-belle.nl/debian buster-samba410/main amd64
python3-ldb amd64 2:1.5.6-0.1~buster~1 [42.7 kB]
Get:5 http://apt.van-belle.nl/debian buster-samba410/main amd64
samba-libs amd64 2:4.10.11+dfsg-0.1buster1 [5,834 kB]
Get:6 http://httpredir.debian.org/debian buster/main amd64
libboost-atomic1.67.0 amd64 1.67.0-13 [226 kB]
Get:7 http://httpredir.debian.org/debian buster/main amd64
libboost-iostreams1.67.0 amd64 1.67.0-13 [249 kB]
Get:8 http://httpredir.debian.org/debian buster/main amd64
libboost-regex1.67.0 amd64 1.67.0-13 [484 kB]
Get:9 http://httpredir.debian.org/debian buster/main amd64
libboost-system1.67.0 amd64 1.67.0-13 [229 kB]
Get:10 http://httpredir.debian.org/debian buster/main amd64
libboost-thread1.67.0 amd64 1.67.0-13 [267 kB]
Get:11 http://httpredir.debian.org/debian buster/main amd64 librados2
amd64 12.2.11+dfsg1-2.1+b1 [2,722 kB]
Get:12 http://httpredir.debian.org/debian buster/main amd64 libcephfs2
amd64 12.2.11+dfsg1-2.1+b1 [434 kB]
Get:13 http://apt.van-belle.nl/debian buster-samba410/main amd64
libsmbclient amd64 2:4.10.11+dfsg-0.1buster1 [162 kB]
Get:14 http://apt.van-belle.nl/debian buster-samba410/main amd64
python3-samba amd64 2:4.10.11+dfsg-0.1buster1 [2,543 kB]
Get:15 http://apt.van-belle.nl/debian buster-samba410/main amd64
samba-common all 2:4.10.11+dfsg-0.1buster1 [169 kB]
Get:16 http://apt.van-belle.nl/debian buster-samba410/main amd64
samba-common-bin amd64 2:4.10.11+dfsg-0.1buster1 [621 kB]
Get:17 http://apt.van-belle.nl/debian buster-samba410/main amd64 samba
amd64 2:4.10.11+dfsg-0.1buster1 [1,095 kB]
Get:18 http://apt.van-belle.nl/debian buster-samba410/main amd64
samba-dsdb-modules amd64 2:4.10.11+dfsg-0.1buster1 [393 kB]
Get:19 http://apt.van-belle.nl/debian buster-samba410/main amd64
samba-vfs-modules amd64 2:4.10.11+dfsg-0.1buster1 [454 kB]
Get:20 http://apt.van-belle.nl/debian buster-samba410/main amd64 winbind
amd64 2:4.10.11+dfsg-0.1buster1 [569 kB]
Fetched 17.5 MB in 19s (904 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libldb1:amd64.
(Reading database ... 59379 files and directories currently installed.)
Preparing to unpack .../00-libldb1_2%3a1.5.6-0.1~buster~1_amd64.deb ...
Unpacking libldb1:amd64 (2:1.5.6-0.1~buster~1) ...
Selecting previously unselected package libstemmer0d:amd64.
Preparing to unpack .../01-libstemmer0d_0+svn585-1+b2_amd64.deb ...
Unpacking libstemmer0d:amd64 (0+svn585-1+b2) ...
Selecting previously unselected package libtracker-sparql-2.0-0:amd64.
Preparing to unpack .../02-libtracker-sparql-2.0-0_2.1.8-2_amd64.deb ...
Unpacking libtracker-sparql-2.0-0:amd64 (2.1.8-2) ...
Selecting previously unselected package libwbclient0:amd64.
Preparing to unpack
.../03-libwbclient0_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking libwbclient0:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package python3-ldb.
Preparing to unpack .../04-python3-ldb_2%3a1.5.6-0.1~buster~1_amd64.deb ...
Unpacking python3-ldb (2:1.5.6-0.1~buster~1) ...
Selecting previously unselected package python3-talloc.
Preparing to unpack .../05-python3-talloc_2.1.16-0nmu1~deb10_amd64.deb ...
Unpacking python3-talloc (2.1.16-0nmu1~deb10) ...
Selecting previously unselected package samba-libs:amd64.
Preparing to unpack
.../06-samba-libs_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package libsmbclient:amd64.
Preparing to unpack
.../07-libsmbclient_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking libsmbclient:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package python3-iso8601.
Preparing to unpack .../08-python3-iso8601_0.1.11-1_all.deb ...
Unpacking python3-iso8601 (0.1.11-1) ...
Selecting previously unselected package python3-dnspython.
Preparing to unpack .../09-python3-dnspython_1.16.0-1_all.deb ...
Unpacking python3-dnspython (1.16.0-1) ...
Selecting previously unselected package python3-markdown.
Preparing to unpack .../10-python3-markdown_3.0.1-3_all.deb ...
Unpacking python3-markdown (3.0.1-3) ...
Selecting previously unselected package python3-crypto.
Preparing to unpack .../11-python3-crypto_2.6.1-9+b1_amd64.deb ...
Unpacking python3-crypto (2.6.1-9+b1) ...
Selecting previously unselected package python3-tdb.
Preparing to unpack .../12-python3-tdb_1.3.18-0.1nmu0~deb10_amd64.deb ...
Unpacking python3-tdb (1.3.18-0.1nmu0~deb10) ...
Selecting previously unselected package python3-samba.
Preparing to unpack
.../13-python3-samba_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking python3-samba (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package samba-common.
Preparing to unpack
.../14-samba-common_2%3a4.10.11+dfsg-0.1buster1_all.deb ...
Unpacking samba-common (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package samba-common-bin.
Preparing to unpack
.../15-samba-common-bin_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking samba-common-bin (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package tdb-tools.
Preparing to unpack .../16-tdb-tools_1.3.18-0.1nmu0~deb10_amd64.deb ...
Unpacking tdb-tools (1.3.18-0.1nmu0~deb10) ...
Selecting previously unselected package samba.
Preparing to unpack .../17-samba_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking samba (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package acl.
Preparing to unpack .../18-acl_2.2.53-4_amd64.deb ...
Unpacking acl (2.2.53-4) ...
Selecting previously unselected package libnl-3-200:amd64.
Preparing to unpack .../19-libnl-3-200_3.4.0-1_amd64.deb ...
Unpacking libnl-3-200:amd64 (3.4.0-1) ...
Selecting previously unselected package libnl-route-3-200:amd64.
Preparing to unpack .../20-libnl-route-3-200_3.4.0-1_amd64.deb ...
Unpacking libnl-route-3-200:amd64 (3.4.0-1) ...
Selecting previously unselected package libibverbs1:amd64.
Preparing to unpack .../21-libibverbs1_22.1-1_amd64.deb ...
Unpacking libibverbs1:amd64 (22.1-1) ...
Selecting previously unselected package ibverbs-providers:amd64.
Preparing to unpack .../22-ibverbs-providers_22.1-1_amd64.deb ...
Unpacking ibverbs-providers:amd64 (22.1-1) ...
Selecting previously unselected package libboost-atomic1.67.0:amd64.
Preparing to unpack .../23-libboost-atomic1.67.0_1.67.0-13_amd64.deb ...
Unpacking libboost-atomic1.67.0:amd64 (1.67.0-13) ...
Selecting previously unselected package libboost-iostreams1.67.0:amd64.
Preparing to unpack .../24-libboost-iostreams1.67.0_1.67.0-13_amd64.deb ...
Unpacking libboost-iostreams1.67.0:amd64 (1.67.0-13) ...
Selecting previously unselected package libboost-regex1.67.0:amd64.
Preparing to unpack .../25-libboost-regex1.67.0_1.67.0-13_amd64.deb ...
Unpacking libboost-regex1.67.0:amd64 (1.67.0-13) ...
Selecting previously unselected package libboost-system1.67.0:amd64.
Preparing to unpack .../26-libboost-system1.67.0_1.67.0-13_amd64.deb ...
Unpacking libboost-system1.67.0:amd64 (1.67.0-13) ...
Selecting previously unselected package libboost-thread1.67.0:amd64.
Preparing to unpack .../27-libboost-thread1.67.0_1.67.0-13_amd64.deb ...
Unpacking libboost-thread1.67.0:amd64 (1.67.0-13) ...
Selecting previously unselected package libnspr4:amd64.
Preparing to unpack .../28-libnspr4_2%3a4.20-1_amd64.deb ...
Unpacking libnspr4:amd64 (2:4.20-1) ...
Selecting previously unselected package libnss3:amd64.
Preparing to unpack .../29-libnss3_2%3a3.42.1-1+deb10u2_amd64.deb ...
Unpacking libnss3:amd64 (2:3.42.1-1+deb10u2) ...
Selecting previously unselected package librados2:amd64.
Preparing to unpack .../30-librados2_12.2.11+dfsg1-2.1+b1_amd64.deb ...
Unpacking librados2:amd64 (12.2.11+dfsg1-2.1+b1) ...
Selecting previously unselected package libcephfs2:amd64.
Preparing to unpack .../31-libcephfs2_12.2.11+dfsg1-2.1+b1_amd64.deb ...
Unpacking libcephfs2:amd64 (12.2.11+dfsg1-2.1+b1) ...
Selecting previously unselected package libtirpc-common.
Preparing to unpack .../32-libtirpc-common_1.1.4-0.4_all.deb ...
Unpacking libtirpc-common (1.1.4-0.4) ...
Selecting previously unselected package libtirpc3:amd64.
Preparing to unpack .../33-libtirpc3_1.1.4-0.4_amd64.deb ...
Unpacking libtirpc3:amd64 (1.1.4-0.4) ...
Selecting previously unselected package libglusterfs0:amd64.
Preparing to unpack .../34-libglusterfs0_5.5-3_amd64.deb ...
Unpacking libglusterfs0:amd64 (5.5-3) ...
Selecting previously unselected package libgfxdr0:amd64.
Preparing to unpack .../35-libgfxdr0_5.5-3_amd64.deb ...
Unpacking libgfxdr0:amd64 (5.5-3) ...
Selecting previously unselected package libgfrpc0:amd64.
Preparing to unpack .../36-libgfrpc0_5.5-3_amd64.deb ...
Unpacking libgfrpc0:amd64 (5.5-3) ...
Selecting previously unselected package libgfapi0:amd64.
Preparing to unpack .../37-libgfapi0_5.5-3_amd64.deb ...
Unpacking libgfapi0:amd64 (5.5-3) ...
Selecting previously unselected package libgpgme11:amd64.
Preparing to unpack .../38-libgpgme11_1.12.0-6_amd64.deb ...
Unpacking libgpgme11:amd64 (1.12.0-6) ...
Selecting previously unselected package python3-gpg.
Preparing to unpack .../39-python3-gpg_1.12.0-6_amd64.deb ...
Unpacking python3-gpg (1.12.0-6) ...
Selecting previously unselected package python3-pygments.
Preparing to unpack .../40-python3-pygments_2.3.1+dfsg-1_all.deb ...
Unpacking python3-pygments (2.3.1+dfsg-1) ...
Selecting previously unselected package python3-yaml.
Preparing to unpack .../41-python3-yaml_3.13-2_amd64.deb ...
Unpacking python3-yaml (3.13-2) ...
Selecting previously unselected package samba-dsdb-modules:amd64.
Preparing to unpack
.../42-samba-dsdb-modules_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking samba-dsdb-modules:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package samba-vfs-modules:amd64.
Preparing to unpack
.../43-samba-vfs-modules_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking samba-vfs-modules:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Selecting previously unselected package winbind.
Preparing to unpack .../44-winbind_2%3a4.10.11+dfsg-0.1buster1_amd64.deb ...
Unpacking winbind (2:4.10.11+dfsg-0.1buster1) ...
Setting up libboost-regex1.67.0:amd64 (1.67.0-13) ...
Setting up libldb1:amd64 (2:1.5.6-0.1~buster~1) ...
Setting up python3-talloc (2.1.16-0nmu1~deb10) ...
Setting up libtirpc-common (1.1.4-0.4) ...
Setting up python3-yaml (3.13-2) ...
Setting up samba-common (2:4.10.11+dfsg-0.1buster1) ...
Setting up libgpgme11:amd64 (1.12.0-6) ...
Setting up libwbclient0:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Setting up acl (2.2.53-4) ...
Setting up python3-tdb (1.3.18-0.1nmu0~deb10) ...
Setting up python3-pygments (2.3.1+dfsg-1) ...
Setting up python3-iso8601 (0.1.11-1) ...
Setting up python3-gpg (1.12.0-6) ...
Setting up libnspr4:amd64 (2:4.20-1) ...
Setting up tdb-tools (1.3.18-0.1nmu0~deb10) ...
update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide
/usr/bin/tdbbackup (tdbbackup) in auto mode
Setting up python3-ldb (2:1.5.6-0.1~buster~1) ...
Setting up python3-markdown (3.0.1-3) ...
Setting up libboost-iostreams1.67.0:amd64 (1.67.0-13) ...
Setting up python3-dnspython (1.16.0-1) ...
Setting up libnl-3-200:amd64 (3.4.0-1) ...
Setting up python3-crypto (2.6.1-9+b1) ...
Setting up libboost-atomic1.67.0:amd64 (1.67.0-13) ...
Setting up libstemmer0d:amd64 (0+svn585-1+b2) ...
Setting up libboost-system1.67.0:amd64 (1.67.0-13) ...
Setting up libtirpc3:amd64 (1.1.4-0.4) ...
Setting up libboost-thread1.67.0:amd64 (1.67.0-13) ...
Setting up libnss3:amd64 (2:3.42.1-1+deb10u2) ...
Setting up libnl-route-3-200:amd64 (3.4.0-1) ...
Setting up libglusterfs0:amd64 (5.5-3) ...
Setting up libtracker-sparql-2.0-0:amd64 (2.1.8-2) ...
Setting up libgfxdr0:amd64 (5.5-3) ...
Setting up libibverbs1:amd64 (22.1-1) ...
Setting up librados2:amd64 (12.2.11+dfsg1-2.1+b1) ...
Setting up ibverbs-providers:amd64 (22.1-1) ...
Setting up samba-libs:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Setting up libcephfs2:amd64 (12.2.11+dfsg1-2.1+b1) ...
Setting up libsmbclient:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Setting up samba-dsdb-modules:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Setting up libgfrpc0:amd64 (5.5-3) ...
Setting up python3-samba (2:4.10.11+dfsg-0.1buster1) ...
Setting up samba-vfs-modules:amd64 (2:4.10.11+dfsg-0.1buster1) ...
Setting up libgfapi0:amd64 (5.5-3) ...
Setting up samba-common-bin (2:4.10.11+dfsg-0.1buster1) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_ACTIVE_DIRECTORY_DC
Done
Checking smb.conf with samba-tool
INFO 2019-12-20 13:36:23,272 pid:2415
/usr/lib/python3/dist-packages/samba/netcmd/testparm.py #96: Loaded smb
config files from /etc/samba/smb.conf
INFO 2019-12-20 13:36:23,272 pid:2415
/usr/lib/python3/dist-packages/samba/netcmd/testparm.py #97: Loaded
services file OK.
Done
Setting up samba (2:4.10.11+dfsg-0.1buster1) ...
Samba is being run as an AD Domain Controller: Masking smbd.service
nmbd.service
Please ignore the following error about deb-systemd-helper not finding
those services.
(smbd.service already masked)
(nmbd.service already masked)
Setting up winbind (2:4.10.11+dfsg-0.1buster1) ...
Samba is being run as an AD Domain Controller: Masking winbind.service
Please ignore the following error about deb-systemd-helper not finding
those services.
(winbind.service already masked)
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for systemd (241-7~deb10u2) ...
-----------------------------------
# dpkg -l | egrep "samba|winbind|libwb|ldb|tdb|tevent|talloc"
ii libldb1:amd64 2:1.5.6-0.1~buster~1 amd64 LDAP-like
embedded database - shared library
ii libtalloc2:amd64 2.1.16-0nmu1~deb10 amd64
hierarchical pool based memory allocator
ii libtdb1:amd64 1.3.18-0.1nmu0~deb10 amd64 Trivial
Database - shared library
ii libtevent0:amd64 0.9.39-0.1nmu1~deb10 amd64
talloc-based event loop library - shared library
ii libwbclient0:amd64 2:4.10.11+dfsg-0.1buster1 amd64 Samba
winbind client library
ii python3-ldb 2:1.5.6-0.1~buster~1 amd64 Python 3
bindings for LDB
ii python3-samba 2:4.10.11+dfsg-0.1buster1 amd64 Python 3
bindings for Samba
ii python3-talloc 2.1.16-0nmu1~deb10 amd64
hierarchical pool based memory allocator - Python3 bindings
ii python3-tdb 1.3.18-0.1nmu0~deb10 amd64 Python3
bindings for TDB
ii samba 2:4.10.11+dfsg-0.1buster1 amd64 SMB/CIFS file,
print, and login server for Unix
ii samba-common 2:4.10.11+dfsg-0.1buster1 all common files
used by both the Samba server and client
ii samba-common-bin 2:4.10.11+dfsg-0.1buster1 amd64 Samba
common files used by both the server and the client
ii samba-dsdb-modules:amd64 2:4.10.11+dfsg-0.1buster1 amd64
Samba Directory Services Database
ii samba-libs:amd64 2:4.10.11+dfsg-0.1buster1 amd64 Samba
core libraries
ii samba-vfs-modules:amd64 2:4.10.11+dfsg-0.1buster1 amd64
Samba Virtual FileSystem plugins
ii tdb-tools 1.3.18-0.1nmu0~deb10 amd64 Trivial Database
- bundled binaries
ii winbind 2:4.10.11+dfsg-0.1buster1 amd64 service to resolve
user and group information from Windows NT servers
-----------------------------------
# ps aux | egrep "samba|nmbd|smbd|winbind"
root 3296 0.0 0.0 6208 888 pts/0 S+ 13:39 0:00 grep -E
samba|nmbd|smbd|winbind
-----------------------------------
# ps aux | egrep "bind|named"
bind 1368 0.0 0.3 386352 28120 ? Ssl 11:32 0:01
/usr/sbin/named -u bind -4
root 3298 0.0 0.0 6208 892 pts/0 S+ 13:39 0:00 grep -E
bind|named
-----------------------------------
# smbstatus --version
Version 4.10.11-Debian
Best regards,
--
Léa
More information about the samba
mailing list