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
5
votes
1 answer
Reconnect Attempts for CIFS share
I have a CIFS share mounted in the FSTAB on Ubuntu server, which connects to our NAS and works without issue. Last night we had an issue with the SAN for about 12 hours. We corrected the problem and the Windows boxes restored their mappings. The…

Davin
- 51
- 1
- 4
5
votes
2 answers
How to map Windows ACL to Linux ones on a CIFS share?
Context
We have a Windows server with an Active Directory domain and a network share.
I have a Linux machine and I want to mount the share.
sudo mount -t cifs //server/share /mnt/share -o user=[act-dir user],domain=[domain],uid=[linux…

Huygens
- 1,708
- 3
- 20
- 36
5
votes
3 answers
Mount NTFS (read/write capability) on Ubuntu
I'm trying to mount Windows 2000 shared folder on Ubuntu in an effort to get Read/Write capabilities. Any advice?
I've verified that the user credentials have writable permissions from a windows machine.
update
`sudo mount -t cifs -o…

Ben
- 3,800
- 18
- 65
- 96
5
votes
3 answers
apache2 sends corrupt responses when using a cifs-share
I have a problem with a ubuntu-instance (Ubuntu 20.04.1 LTS) and apache2 (Apache/2.4.41 (Ubuntu)). One virtual-host is serving some html-files and documents from a mounted cifs-share. The cifs-share is working normally, files are correct on…

cklm
- 183
- 6
4
votes
0 answers
Strange STATUS_ACCESS_DENIED issue with SMB2 client and Freenas CIFS SHARE
I've recently started seeing some strange SMB2 Errors on Windows 10 PCs (all of them version 1903).
The Fileserver is running FreeNAS-11.1-U7 (with ZFS Volumes) and CIFS Shares with Active Directory ACL.
When I open some images from Adobe Bridge or…

arpan
- 41
- 2
4
votes
2 answers
Does samba need to fetch the entire file to determine its size?
Given the following configuration:
server with samba version 4.7.6-ubuntu
client mounts a samba share using mount -t cifs
If a du -h /shared/filename command is executed on the client, will the client need to fetch the entire file from the server…

Saurabh Nanda
- 489
- 1
- 8
- 20
4
votes
0 answers
Are the in-built sharesmb / sharensfs options in ZFS on Linux special/better?
While reading through the man page of zfs I noticed the sharesmb and sharenfs options. Are they thin wrappers over samba/smb/cifs/nfs provided by the underlying Linux system, or special/optimised code baked right into ZFS? Is there anything peculiar…

Saurabh Nanda
- 489
- 1
- 8
- 20
4
votes
1 answer
Windows tries to access the IPC$ share before the provided one
I have a samba server where I have disabled access to the IPC$ share [1] for security reasons (users and shares enumeration, user info query, ...).
I can access the data shares on this server without problem from any Unix based computer with…

spongebob
- 133
- 1
- 10
4
votes
1 answer
Mounting a CIFS share fails with: Numerical result out of range
Mounting a cifs share in RHEL7 fails with the following error: "mount: failed to parse mount options: Numerical result out of range"
# LIBMOUNT_DEBUG=0xffff mount //fileserver/db-mysql /mnt/mysqlBackups -t cifs -o…

Mircea Vutcovici
- 17,619
- 4
- 56
- 83
4
votes
1 answer
Samba/CIFS Ubuntu 14.04 mount error(112)
I'm trying to mount a samba network share on an Ubuntu 14.04 using cifs.
On the server, I've got the share running. I can already map it as a drive in Windows. The share has a username and password.
On the ubuntu machine, i've got /etc/samba/user…

jarvis
- 2,006
- 4
- 18
- 31
4
votes
1 answer
Permission denied when changing timestamp of a directory on a CIFS mount
The server dir is mounted with a user, who definitely has "Write Attributes" permissions in Windows.
/etc/fstab:
//server/shared /mnt/fs1 cifs…

Ilya Shinkarenko
- 151
- 6
4
votes
5 answers
Samba by CIFS, problems with copying directory tree
I have server with samba share, which is mounted by CIFS on my client machine under /media/photos.
/media/photos ownership is root:samba, and my user also is member of group samba. In smb.conf on server I have:
force create mode = 0664
force…

amorfis
- 737
- 2
- 14
- 31
4
votes
2 answers
Premature SMB/CIFS Session Close (System error 1312) with Password on SMBv2
In attempting to issue a "net use" to a NetApp share, I'm experiencing a very unique situation.
A particular user is required to issue scans across a CIFS, however that user (which has full read/write access) receives a "System error 1312 has…

signus
- 160
- 1
- 9
4
votes
2 answers
NFS export CIFS share
I have a server 192.168.1.1 where a samba share is mounted to /image
I would like to setup an NFS sever on this machine to share the mounted /image folder through NFS.
When I add it to the exports file I get a warning:
exportfs: /image does not…

Unilu
- 41
- 1
- 2
4
votes
2 answers
SMB 3 encrypted over internet
SMB 3 offers an option to enable encryption. Does that mean it would be a possible option to let people use SMB over the internet or are there other not securable aspects about SMB left? What extra security measures should I have to take to make…

user207123
- 41
- 1
- 2