Questions tagged [smb]
smb is an abbreviation for Server Message Block, a network protocol for sharing files and printers implemented by Windows, Samba and others.
210 questions
0
votes
0
answers
198
views
Debian 13 does not show SMB shares on the desktop
In Debian 13, with the GNOME desktop environment, in fstab, I have placed the following line to mount an SMB share from a Synology NAS:
//192.168.1.117/video /media/NAS/video cifs username=video,...
3
votes
1
answer
84
views
Can I disable the nmb.service of Samba if I want share a Linux folder with Windows PCs?
I have installed Samba on my Linux distribution. I can share the folder myshare with Windows PCs with no problem.
A Windows10 PC can connect to myshare by its File Explorer, writing on its address bar:...
0
votes
0
answers
188
views
unable to login to samba share
I want to share my data on my Rocky 9 server to family members using windows PCs. I setup and config samba. Seems something is missing. Users are not able to login. They are trying their unix ...
0
votes
1
answer
283
views
x-systemd.automount and noauto causes CIFS mount to ignore uid/gid and mount as root
I'm trying to mount a CIFS (Samba) share using /etc/fstab, and I want it to be owned by a specific user (myuser), not root.
My current fstab line is:
# <file system> <mount point> <...
0
votes
0
answers
78
views
Can't mount samba-share but can connect via file explorer
TLDR: I can access an external harddrive via GUI tools but not via fstab / mount tooling.
I'm at my wits end with this one. I've got an external harddrive plugged into the back of my Asus router, with ...
0
votes
0
answers
130
views
ksmbd share looks empty at client side
I'm trying to get ksmbd work on a machine running bookworm. But regardless if I'm using a Linux GUI, CLI or a Windows 10 Client, I'm unable to browse through files or directories within the mounted ...
0
votes
1
answer
320
views
discover and mount all the SMB shared folders of a server
I have a Synology NAS serving shared folders with SMB.
On Windows and MAC I just have to indicate the IP of the NAS and all the shared folder are discovered and mounted.
On linux (the latest Debian) (...
0
votes
1
answer
213
views
Linux automated SMB connection attempts: has my server been compromised?
We have a Linux server running CentOS 7.
A few days ago,
we found out that it has started continuously attempting to connect to
a Windows server share via port 445 using a certain user's AD ...
0
votes
1
answer
253
views
smbclient deltree with read-only directories
I'm trying to delete files on a NetApp server using smbclient //servername/share -c "deltree directory_to_delete". It works except for folders which have the read-only flag set. In this case,...
4
votes
3
answers
1k
views
Linux SMB Client Failed to Connect to SMB Server Forcing AES-256?
I'm trying to connect to SMB share on my TrueNAS from my Fedora. It works well until I decided to enable encryption of SMB data. I put following in the service config on TrueNAS (global settings)
unix ...
0
votes
0
answers
266
views
Samba 4.7 - issue with UNC access via hostname/fqdn
Running Samba 4.7.6 on U18.04. Everything was working prior to a recent shutdown, in that you could access the shares via \\hostname\ or \\hostname.domain.com\. Now, these fail on Windows clients with ...
0
votes
0
answers
167
views
"bogon" instead of "hostname" in MacOS File Sharing
As the above picture shows, when I turned on "File Sharing", MacOS tells me to access it by "smb://bogon", however, I think the correct item here should be "smb://<hostname&...
0
votes
1
answer
595
views
Permission Denied CIFS. Tried everything I can think of
//192.168.1.64/d /media/d cifs credentials=/home/nick/.smbcredentials,uid=nick,gid=media,file_mode=0777,dir_mode=0777,nofail,user 0 0
Here's my ls- l of the share once mounted:
drwxrwxrwx 2 nick ...
0
votes
1
answer
1k
views
Error connecting to samba share
I am running a samba server on a Raspbian 11 device and I'm trying to connect to it from an Ubuntu 20 device.
When I open the file manager, I can see the samba share but when I try to access to it (...
0
votes
1
answer
985
views
cache smb mount on local hard drive
I have a smb mount on my linux server, but occasionally it loses connection, interrupting the software using the mounted directory. Is there a way to cache the smb mount on local disk?
4
votes
3
answers
458
views
Why does the output of testparm differ from /etc/samba/smb.conf?
This is the output of the [global] section of the /etc/samba/smb.conf of a random Synology NAS:
~# cat /etc/samba/smb.conf
[global]
printcap name=cups
winbind enum groups=yes
...
2
votes
1
answer
47
views
Printer stuck on insecure Samba version
I have an HP OfficeJet 8600 printer in my office that's around 10 years old but still works perfectly fine. I occasionally use this printer to scan to a samba share hosted on my DD-WRT router. I ...
2
votes
0
answers
2k
views
How can I mount a cifs share as a volume from a rootless podman container?
Say I create a named volume
podman volume create --opt type=cifs --opt o=async --opt device=//mynas.lan/steamcache steamcache
According to podman volume inspect, this volume's mountpoint is
/home/me/....
1
vote
1
answer
2k
views
Mount SMB share without specifying shared directory in remote path
I was about to change mount from "//192.168.1.x/SomeFolder" to "//192.168.1.x/" so i could choose which dataset i want to access with my docker containers.
It gave me error like:
...
2
votes
0
answers
3k
views
What SELinux setting is preventing Samba from displaying and allowing me access to shares?
I have a very basic /etc/samba/smb.conf configuration:
[global]
workgroup = WORKGROUP
server string = Samba server (%v) on %h
security = user
passdb backend = tdbsam
[...
1
vote
0
answers
848
views
NAS issues with SMB/CIFS; how to 'see' client-server messaging?
I have a new Synology NAS (DS1621+), and have begun integration into my home network. I'm having some problems using it with my Linux hosts. I can mount the NAS, but the permissions (as seen from ...
1
vote
0
answers
370
views
How to find out with which user gvfs has connected to smb share
I can connect to network drives with the following command:
( echo myusername; echo MYDOMAIN; echo password123 ) | gio mount smb://127.0.0.1/Sharename
And I can get some file attributes of the mount ...
1
vote
1
answer
10k
views
How can I auto mount an SMB share on KDE + Arch Linux? (re: kio-fuse?)
I'm using a Steam Deck which runs Arch Linux and KDE Plasma. It has a read-only filesystem (for system files) but does include kio-fuse (5.0.1).
What's the best practice to automatically mount an SMB ...
3
votes
0
answers
4k
views
List all network storage based mounted filesystems in Linux
My requirement is to find out all such directories in Linux which are mount points for network-based storage/file systems (like NFS, SSHFS, CIFS, SMB, etc)
I did some research, and there is no utility ...
6
votes
5
answers
27k
views
CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
Linux: 4.18.0-305
OS: CentOS 8.4
I have an SMB folder that is mounted with the following command:
mount -t cifs -o iocharset=utf8,rw,credentials=${_passwordFile},nobrl,nounix,file_mode=0644,dir_mode=...