The Common Internet File System (previously known as SMB) is a layer 7 networking protocol providing file and device sharing across local networks. It was originally designed and implemented by Microsoft as part of the Windows operating system.
Questions tagged [cifs]
429 questions
2
votes
2 answers
How to mount Windows share on boot using mount.cifs and autofs/automount?
I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master:
/mnt/mountpoint /etc/auto.servername
I then created the file /etc/auto.servername with the following contents:
server-ip…

Rob
- 262
- 3
- 9
- 23
2
votes
1 answer
Mount cifs share anonymously
I have a Windows 2003 Server sharing out a few folders as read-only to "Everyone". The server is a domain member, so I'm not able to connect to the share on computers that aren't on the domain without passing some form of credentials.
I have a…

churnd
- 4,077
- 5
- 34
- 42
2
votes
2 answers
mount error 5 = Input/output error
I am running out of ideas. After a long period of testing this morning, I cannot seem to get this to work, and I have no idea why. I want to mount a Windows SMB/CIFS share with a Debian 5.0.4 VM, and it is not cooperating.
This the command I am…

songei2f
- 1,934
- 1
- 20
- 30
2
votes
2 answers
Mount a Windows DFS Namespace in Linux
I've got a Windows DFS setup with a few namespaces, and I need a way of accessing them via CentOS.
Any ideas?
I've had a look at CIFS mounting, but it won't support the namespace (each separate server that hosts the content is fine, but that defeats…

giggsey
- 83
- 1
- 1
- 9
2
votes
2 answers
VSS Copies from Network SMB/CIFS File Share on Mac OS X Client
We have a file share we want to roll out at work, and someone asked if there is a way OS X clients can see VSS copies on the network share they mount (to restate: a SMB/CIFS share on a server on the network, not a local HFS+ drive) to restore older…

songei2f
- 1,934
- 1
- 20
- 30
2
votes
1 answer
What ports are needed for a Windows XP client to acces a folder on a SAMBA server?
Wikipedia mentions only TCP port 445 (while as far as I can remember ports 137-139 used to be used actively by Windows file sharing).
If I map the 445th TCP port on gateway host "A" to a 445th TCP port of SAMBA server host "B", will Windows XP…

Ivan
- 3,398
- 19
- 50
- 71
2
votes
1 answer
CIFS(Samba) + ACL = not working
I have two servers with Debian 5.0.
server1:
samba 2:3.2.5-4lenny9
smbfs 2:3.2.5-4lenny9
smb.conf:
[test]
comment = test
path = /var/www/_test/
browseable = no
only guest = yes
writable = yes
printable = no
create mask = 0644
…
tst
2
votes
2 answers
Monitor and copy file changes on Windows Server 2003 over NFS or CIFS to *nix
Machine A, Windows Server 2003. Machine B, Ubuntu 9.04.
Aim is to copy new and updated files only automatically as fast as possible from A to B. B can mount A either as CIFS or NFS (Services for Unix NFS server running on A). This is an absolutely…

Dave Nolan
- 155
- 2
- 10
2
votes
2 answers
network endpoint accessible via hostname only, not address?
someone told me that this piece of network hardware (netapp NAS) has a security setting such that it can only be accessed by hostname, not by IP address. I don't understand, as I thought DNS resolved the hostname to an address on the connecting…

Dustin Getz
- 251
- 2
- 9
2
votes
2 answers
Windows shared printers: Process job on server machine, not the client
While working with Linux clients to Windows SMB/CIFS filesharing servers, from time to time I find myself having to print to a printer with no drivers available under Linux.
For some reason, the Windows computer expects the job to be sent in an…
asr
2
votes
2 answers
RockyLinux: unable to load cifs module
I have installed RockyLinux 8.5 and am trying to mount a directory via cifs. I get the following error message:
# mount -t cifs -o user=,domain=,password= ///backups /mnt/backups
mount error: cifs filesystem…

Volker Raschek
- 347
- 1
- 5
- 17
2
votes
1 answer
samba server mount points stopped working on CentOS 8 install, error: Failed to start SPNEGO handler for negprot OID list
After about 6 months of smb working flawlessly on a home server, it is now failing to allow remote systems to mount with the following error message in /var/log/messages:
Jun 27 12:53:10 bike3 smbd[19385]: [2020/06/27 12:53:10.706872, 0]…

tsnorthj
- 21
- 3
2
votes
1 answer
smbclient NT_STATUS_BAD_NETWORK_NAME with server OS SpinStream2
I'm trying to use Samba smbclient to connect to a file server managed by my technology partner, and I'm consistently getting this error message about tree connect failed. The exact details have been anonymized.
$ smbclient -W DOMAIN -U USER…

Nic
- 13,425
- 17
- 61
- 104
1
vote
1 answer
Access denied to IPC$ share on Windows Domain Controller when SMB session is setup with Kerberos 5
I am writing a system which performs user login and provides single-sign-on access to SMB shares within the network.
User login is done with Kerberos 5 to verify the user's identity and get a TGT ticket. When accessing an SMB share, the TGT ticket…

Nadim Z
- 21
- 1
- 6
1
vote
0 answers
Centos only taking first DFS referral
$ umount -a:
Linux server01 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I am able to successfully mount a DFS file share using the following command:
$ sudo mount.cifs \\\\domain.com\\share…

Cpt.Whale
- 307
- 3
- 11