[Pkg-samba-maint] Bug#926474: smbclient: Can browse samba shares as root but not as user
gcab_dzan at libero.it
gcab_dzan at libero.it
Fri Apr 5 19:15:41 BST 2019
in a freshly installed testing/buster release, I installed samba + smbclient and reproduced the same configuration
(smb.conf, smbpasswd for root and for user) that is perfectly working on a Stretch release installed in a separated partition .
Testparm gives a positive result, and # pdbedit -w -L correctly provides
Issuing the command smbtree as root I can see the available local and remote resources, however issuing the same command
as user I get
"Unable to initialize messaging context" on the first line,
followed either by nothing, or by an incorrect or partial list of the shares.
Restarting samba (# /usr/sbin/service smbd restart) then smbtree shows all the shares, always with the same message on first
line, but I cannot browse them:
Dolphin does not show anything under Samba Shares.
I have quite a limited experience and do not know which other details might be of interest.
Thanks for your attention and work
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-4-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_US (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages smbclient depends on:
ii dpkg 1.19.6
ii libarchive13 3.3.3-4
ii libbsd0 0.9.1-2
ii libc6 2.28-8
ii libpopt0 1.16-12
ii libreadline7 7.0-5
ii libsmbclient 2:4.9.5+dfsg-2
ii libtalloc2 2.1.14-2
ii libtevent0 0.9.37-1
ii samba-common 2:4.9.5+dfsg-2
ii samba-libs 2:4.9.5+dfsg-2
smbclient recommends no packages.
Versions of packages smbclient suggests:
ii cifs-utils 2:6.8-2
pn heimdal-clients <none>
-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_TIME = "it_IT.UTF-8",
LC_MONETARY = "it_IT.UTF-8",
LC_CTYPE = "C.UTF-8",
LC_MEASUREMENT = "it_IT.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pkg-samba-maint