[Pkg-samba-maint] Bug#831770: smbclient: Problem still occurs

Harald bugreport at gehirnspen.de
Sun Nov 24 17:25:51 GMT 2019


Package: smbclient
Version: 2:4.11.1+dfsg-3
Followup-For: Bug #831770

Dear Maintainer,

good afternoon!

I still run into this problem, even though I can use smbclient to access my shares. /run/samba is not existing. See here for an example session:

jupp:|home/harald > smbclient -U guest //pi/public
directory_create_or_exist: mkdir failed on directory /run/samba: Permission denied
Unable to initialize messaging context
directory_create_or_exist: mkdir failed on directory /run/samba: Permission denied
directory_create_or_exist: mkdir failed on directory /run/samba: Permission denied
directory_create_or_exist: mkdir failed on directory /run/samba: Permission denied
Enter WORKGROUP\guest's password: 
Try "help" to get a list of possible commands.
smb: \> quit

/run/samba is not existing.

In case I create it manually and give it sufficient permissions, the following files are created after a session:

jupp:|home/harald > smbclient -U guest //pi/public
Unable to initialize messaging context
Enter WORKGROUP\guest's password: 
Try "help" to get a list of possible commands.
smb: \> quit
jupp:|home/harald > ls -l /run/samba/
total 452
-rw-r--r-- 1 harald harald 462848 Nov 24 18:19 gencache.tdb
drwxr-xr-x 2 harald harald     40 Nov 24 18:19 msg.lock

Up to now I don't experience severe drawbacks from that being a single user.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages smbclient depends on:
ii  dpkg          1.19.7
ii  libarchive13  3.4.0-1+b1
ii  libbsd0       0.10.0-1
ii  libc6         2.29-3
ii  libgnutls30   3.6.10-5
ii  libpopt0      1.16-14
ii  libreadline8  8.0-3
ii  libsmbclient  2:4.11.1+dfsg-3
ii  libtalloc2    2.3.0-3
ii  libtevent0    0.10.1-4
ii  libwbclient0  2:4.11.1+dfsg-3
ii  samba-common  2:4.11.1+dfsg-3
ii  samba-libs    2:4.11.1+dfsg-3

smbclient recommends no packages.

Versions of packages smbclient suggests:
ii  cifs-utils       2:6.9-1
pn  heimdal-clients  <none>

-- no debconf information



More information about the Pkg-samba-maint mailing list