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
11
votes
5 answers
Anonymous file sharing without login window, from Windows 7 server to XP clients
I'm trying to provide machines on a small LAN with read-only, anonymous access to files shared from a Windows 7 workstation (let's call it WIN7SVR). In particular, I don't want clients to have to deal with a login window when they navigate to,…

mshroyer
- 280
- 1
- 3
- 9
11
votes
1 answer
Disable file locks on a read-only Windows File Share
Case
On a Windows Server (2012R2 or 2016), I want to configure a file share offering a following functionality
some users, publishers group, have a write access to the share; these users are managing and updating the content on the share
other…

Michał Sacharewicz
- 569
- 8
- 25
10
votes
1 answer
Samba (CIFS) mount error(9): Bad file descriptor
I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has become impossible for me to do it.
For example,…

Ruslan Nigmatyanov
- 171
- 1
- 9
10
votes
8 answers
mount error(13): Permission denied with windows share
I am struggling to mount a windows 2008 share on a CentOS 6.4 (64 bits) server
when I use smbclient it works:
smbclient //esb.local/dfs -U ESBSertal -W ESB -P MyPassword
but with mount it does not. I tried on the command line:
mount.cifs…

Micha Roon
- 294
- 1
- 2
- 10
10
votes
4 answers
Secure way to mount a password protected cifs share in mac
I'm maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines.
Actually, I already have a working perl script, however, the password seems is part of the command…

icasimpan
- 616
- 3
- 6
- 15
9
votes
1 answer
Networking doesn't initialize properly when pxebooting Linux Mint (live CD) using cifs, but works with nfs
I have a TFTP/DHCP/NFS/SMB server (Ubuntu server 12.04 LTS) on 192.168.26.1. I use pxelinux to display a menu containing startup and installation options for Windows, an Ubuntu network installer, and the Linux Mint 17 MATE live CD. Getting it…

dialer
- 252
- 3
- 10
9
votes
3 answers
Slow shared folder refresh on windows 7
When I create a new folder in a shared folder under Windows Server 2012 sometimes i can not see new folder by windows 7 clients. Also with some refresh I still can not see new folders. After some minutes they appear. Is possibile to change the…

Tobia
- 1,272
- 9
- 41
- 81
9
votes
1 answer
Unable to mount cifs share in fstab with spaces in share name
I'm running a Debian Squeeze system and trying to mount a windows share in /etc/fstab. I've got an existing cifs mount working, but it's a simple //xx.xx.xx.xx/sharename situation. This second one isn't working however.
The issue - the second share…

Rus Ti
- 93
- 1
- 1
- 6
8
votes
3 answers
Difference between durable file handles, resilient file handles and persistent file handles
In CIFS/SMB protocol, I see that there are 3 types of file handles: durable, resilient and persistent. What is the difference between them?

Waveter
- 564
- 2
- 6
- 23
8
votes
1 answer
Directories shown as files, when sharing a mounted cifs drive
I have an issue where a directory is shown as a file when accessing a samba share ( on Ubuntu 12.10 ) from a Windows machine.
The output from ls -ll in the folder on the linuxbox is as follows:
chubby@chubby:/media/blackhole/_Arkiv$ ls -ll
total…

Johan Sigfred Abildskov
- 251
- 2
- 10
8
votes
3 answers
It is possible to put FreeNAS as Auth Server (SMB or LDAP), File server and Ubuntu as "Client" (Kerberos auth-pam)?
I want to configure my FreeNAS server as authentication server (user FreeNAS local user's to auth into ubuntu clients) and NAS server, of course. I have Ubuntu as clients and they are booting over DHCP/PXE, so i can configure them all quickly.
I…

cusspvz
- 105
- 1
- 2
- 8
8
votes
4 answers
How to mount a windows administrative share on linux via SMB
I'm currently trying to mount a windows shared drive under linux.
The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I've been able to login and list/copy/delete files via my android phone…

tftd
- 1,498
- 7
- 25
- 40
8
votes
3 answers
How to fix OSX client to Windows share hangs?
I have 2 x MacBook Pro's (OSX 10.6.7) that access files stored on a 64-bit and a 32-bit Windows 7 PC.
The MBP clients can connect to the Windows shares and transfer files with no problem.
However, after a day or so, the shares become unresponsive.…

John McC
- 918
- 1
- 7
- 15
7
votes
1 answer
mount windows share read only
I would like to mount a windows share which is read only for my backup user but I'm always getting the error message no permission.
mount -t cifs //192.168.0.10/office /mnt/shares/office -o…

user345234674567
- 205
- 1
- 2
- 6
7
votes
2 answers
how can I mount a windows share with rw access?
The question is in the title.
Here is what I tried but the folder is read only.
sudo mount -t cifs -o username=maazza,domain=MYDOMAIN //192.168.123.2/company-files /mnt/test
I am on debian jessie.
I read something about forcing an user id and a…

maazza
- 254
- 1
- 6
- 14