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.

learn more… | top users | synonyms

3
votes
1answer
8k views

How to setup shared folder as virtual directory in IIS 7.5 (cross-domain)

This is my current understanding of how this should be done: (TL;DR for the actual problem, please see the bold text.) Create a folder on you storage server, henceforth known as B. Create a local ...
3
votes
1answer
1k views

Filename encoding switched to UTF-8 by tar when untaring to Windows share

We have different Magento installations (webshop) that allows images to be added to a product freely. When an image is added to a product, the file is named in a specific way that sometimes ...
1
vote
1answer
4k views

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, ...
0
votes
0answers
23 views

Samba Share Not Showing All Available Space

So here's the issue. I have two Ubuntu Server systems, one on 12.04 and one on 14.10. I need to mount a share on the 14.10 system (hereby referred to as the NAS) on my 12.04 system (hereby referred to ...
0
votes
0answers
33 views

mount.cifs command working on centos6 but not on centos 7

I have successfully mounted a windows share over the internet to my CentOS 6 machine with the following command : mount -t cifs //1.2.3.4/Commun /mnt/Commun -o username=some_user,password=...
0
votes
2answers
2k views

How can I connect to a CIFS/SMB share on a non-default port?

I'm trying to get a contractor connected to a CIFS share (port 445). He's not a big shop (so no go on using VPN). His ISP blocks outgoing connections on port 445. I've been doing some rsync to ftp ...
0
votes
1answer
7k views

How to set permissions for a CIFS mount with autofs?

I've set up a CIFS mount on my CentOS 6.4 server with autofs : File /etc/auto.mnt : Photos -fstype=cifs,perm,rw,uid=505,forceuid,gid=505,forcegid,file_mode=0770,dir_mode=0770,credentials=/root/...
11
votes
2answers
141k views

TCP/IP ports necessary for CIFS/SMB operation

If I want to allow Windows networked drives between two firewalled computers, do I need to open ports 137-139, or is port 445 sufficient? I have to submit a form and get approval to open firewall ...
0
votes
0answers
12 views

slow shared folder file append operations (VBox/VMware/CIFS)

The next problem occurs in both Vbox and VMplayer. I am having windows 10 as HOST, and debian 8 as guest. I am developing in both PHP and nodeJs, my plan is to use HOST windows 10 as development ...
0
votes
0answers
50 views

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. ...
0
votes
0answers
44 views

Windows server 2008 show which domain user have opened specified file via cli

Is there a way to see which user have specified file opened on a share via cli? There is a mmc add-in that allows to see which user have opened specified file but i would like to have possibility to ...
0
votes
3answers
5k views

Can't access SMB shares on Windows but can on Linux

I've been having some problems with a Samba share that I recently set up. The share's configuration is as follows: [data] path = /media/data available = yes valid users = admin read only = no ...
8
votes
5answers
60k views

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 ...
0
votes
0answers
23 views

OSX clients showing incorrect owner on samba share

We currently have a NetApp SAN with a large volume set to NTFS security style, whose permissions are managed by our active directory server. This volume us then shared via a CIFS server built in the ...
3
votes
1answer
40 views

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 noperm,rw,nounix,iocharset=utf8,gid=java,file_mode=0774,...
2
votes
1answer
286 views

CIFS/SAMBA Mount still attempts before network is ready even with _netdev

The title gives a pretty good synopsis. I am running a debian derivative (osmc) on a raspberry pi 2 in this case. and am trying to mount a share. It mounts 100% a ok from the command line or just ...
1
vote
0answers
10 views

Access CIFS share through another server [duplicate]

I have CIFS-share on NAS-server and that share is accessible to one server. That share is mounted to my server \NAS-server\share -> U:\ The server to which the NAS-share is mounted is sharing its ...
0
votes
0answers
28 views

cifs samba share acces over credential file not working

basicly i'm trying to chance the user and pw to use the credentail file, this is working: mount -t cifs //ip/c$ /mnt/System/ -o username=administrator,password=<pw> umount /mnt/System/ this ...
1
vote
0answers
61 views

Cifs mount hanging

I have a problem with a mount between a windows server and a linux machine. The share is on the windows machine. From time to time, the windows machine goes nuts and some services fail on it. After a ...
0
votes
0answers
11 views

mySQL/mariaDB stops to work when CIFS mount is broken

A few weeks ago I switched from CentOS 5.7 to the new installation with 7.1. The system have two functions: apache|php|mysql webpage for our local database gate that allows to use windows exports (...
0
votes
0answers
10 views

Apache write access to a SMB Share

Apache server can follow symlink, i've tested it in the local filesystem and all worked fine. So the problem is in the SMB share. I authorized the user ApacheSLINUX01 to be the one who have the full ...
0
votes
0answers
25 views

Apache won't write in a CIFS drive from himself

I want to connect a virtual SMB drive to a Linux server to let peoples save their files/data in a "cloud". To do this, i'm using wordpress, and now what i have to do is to let the apache User write on ...
0
votes
1answer
55 views

IIS 8.5 500.19 status code with 0x80070038 access share

We are experiencing an intermittent issue with websites accessing resources/images over CIFS/SMB shares (running on our storage array). It comes and goes and we are trying to get to the bottom of it. ...
5
votes
7answers
33k views

Windows networking performance (SMB/CIFS)

Are there registry settings or other settings available to tune Windows networking (SMB/CIFS) performance? I'm trying to get maximum throughput for large file copy operations but any settings would ...
0
votes
1answer
14 views

Wanting Cifs / Samba to restamp times with server-time for “mv” commands

Short background I have built a small cluster of linux machines and been creating and running scripts for distributed computing. After having gotten some basic things up and running now I'm tuning ...
0
votes
0answers
45 views

How to identify Access Denied in event ID 5145 : shared object in Win 2012 R2 server

In a Windows 2012 R2 that is serving CIFS folders, how to spot when a file or directory access has been denied? I had activate GPO "Detailed File Share Audit" ID 5145 to both cases 'Success' and '...
0
votes
0answers
31 views

CIFS/SMB file manipulation list

I want to list all operations (for example: read, write, create, remove ...) for file and folder in CIFS/SMB share in Windows Server. But I cannot find any source mention about that. Do you have any ...
0
votes
0answers
22 views

Symbolic link in CIFS/SMB and Samba

As I know, Symbolic links is supported in SMB2. Has Samba implemented this feature yet?. If it is implemented in Samba, is there any difference between symbolic link supported in Windows Server share (...
1
vote
0answers
24 views

Difference between Level 1 Oplock and Filter Oplock

As I know, there are 4 types of Opportunistic Locks: Level 1, Level 2, Filter, and Batch. For me, Level 1, Level 2 and Batch Oplock are not so difficult to understand, but I still don't understand ...
5
votes
2answers
252 views

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?
3
votes
1answer
182 views

Cache of share in windows server

I have a folder, which is shared by Windows Server 2012 R2. When I setup this share, I saw in the configure share setting panel, it has a check box for Allow caching of share with the comment Caching ...
2
votes
2answers
10k views

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 ...
0
votes
1answer
56 views

Robocopy permission denied as I cannot traverse folders

I am in the process of migrating few NAS shares from one storage to other. I am using robocopy to do the migration. Let me try to explain the issue. Sorry in case if its lengthy. I have cifs share ...
1
vote
1answer
33 views

Identifying files being actively written to CIFS share

Is there a way to identify files that are actively being written to a CIFS mount in Linux? I am interested in skipping those files. My first thought would be to fine tune the find command with mmin....
2
votes
1answer
121 views

mount.cifs operation not supported but smbclient connects as expected

When mounting OSX 10.9.5 shares on Debian 8.2 with mount.cifs ver. 6.4: mount error(95): Operation not supported Credentials are not the issue. I can access them via smbclient. Mount reads domain ...
3
votes
1answer
1k views

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/...
1
vote
0answers
101 views

How do audit file permissions changes over CIFS?

I have a few windows file servers but am slowly changing to Freenas/ZFS boxes which are working much better however I can't figure out how to audit when people change permissions to critical folders. ...
0
votes
1answer
35 views

Ubuntu 14 mount.cifs with credentials did not work

I can mount the Windows share drive in the following way: mount.cifs //192.168.1.151/_wymiana /mnt/share_2 -o user=wega,password=1234 but I can not in this way: mount.cifs //192.168.1.151/...
2
votes
3answers
7k views

Windows file explorer using port 80 (webdav) instead of 445 (samba smb cifs) for UNC path

I have a Windows 7 Ultimate x86_64 machine, which is failing to access a network samba server. I launch the "Run" dialog, and type in \\192.168.x.x so I am bypassing DNS and NetBIOS name resolution, ...
1
vote
2answers
38 views

gfvs-mount share password-protected

I want to mount using gfvs-mount samba remote server with password-protected, so I do: gfvs-mount smb://ip/share but I need to insert everytime username, I'd like avoid username but have only ...
0
votes
1answer
58 views

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. ...
0
votes
1answer
95 views

CentOS 7 autofs wildcard mount not working

I've got a couple of CentOS 7 client machines authenticating against OpenLDAP right now. The next step is to get autofs working. Which I have, but my map loads all users at once. I'd like to avoid ...
1
vote
0answers
22 views

io error on no-match glob within cifs OSX -> debian jessie mount

Using a wildcard/glob (at least * and ?) in bash causes an input/output error when there are no matches on a samaba cifs mount in Debain Jessie 8.2. On other filesystems, the expected No such file ...
0
votes
1answer
733 views

pam_mount not working when logging in from ssh or console

okay so i configured pam_mount on my centos 6 machine as i did on my centos 7 and 5 machines. But when i login locally or via ssh, pam_mount can't mount my home dir. when i login with a local user, ...
1
vote
0answers
111 views

One slow SMB/CIFS share causes slow and laggy network performance to or from fast ones in Windows 7

Windows 7 SP1+ (Ultimate), connected to both local network Samba (latest stable versions) over Gigabit Ethernet, as well as a VPN'ed Samba share that goes out over my ISP link (1200 kbps uplink). All ...
0
votes
2answers
280 views

Unable to mount CIFS share, but able to mount on others

I have a working windows 2008 R2 file share that I can connect to from one server (running redhat 6.6) with the following syntax in /etc/fstab //servername/ELK\es1 /ES1 cifs username=domain\user,...
4
votes
3answers
8k views

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, ...
0
votes
0answers
12 views

remote location mounted with mount.fcifs doesn't show in FTP

I am using Centos 6.6 and I mounted a remote location by this command: mount.cifs -o user=adrian,pass=1234,uid=adrian_site,gid=psacln //server/path /local/path So I specified the user and group, in ...
3
votes
3answers
11k views

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 ...
0
votes
0answers
113 views

Mount a Windows 10 share on an old device, “Host is down” due to old “Called by” field

I have an old device which I would like to mount a share on to transfer a few files from it, it has an old version of busybox on it and runs a small Linux Operating System on it. I would like to ...