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
3answers
2k views

RSYNC to windows CIFS copies all directories on update (but not old content)

I have mounted a remote windows share (that will be where my backups to tape will be archiving). I have 70GB of data that doesn't change that much, so I want to use RSYNC to mirror the data. /usr/...
3
votes
1answer
3k views

Cannot unmount CIFS mount?

I am using Ubuntu 10.04.3 LTS. I have a NAS using CIFS protocol. I have mounted a share. I am not using fstab at all. Running mount yields the following: //10.0.1.38/FOO on /home/s3backup/S3Backup/...
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/...
3
votes
2answers
1k views

How fast can a Windows 2008 CIFS client write to SAMBA server using 10Gb NIC?

We are experiencing a performance problem using Windows 2008 CIFS client. We have a FreeNAS server that delivers 1.3GB/s on ZFS write. We have 10Gb network connecting NAS server and CIFS clients. ...
3
votes
1answer
238 views

Linux phantom mounts

For the second time in a year, I have encountered phantom mounts. "Normal" system tools show a CIFS mount does not exist, yet it's still really there. Adding or (mass) deleting files is instantly ...
3
votes
4answers
2k views

Looking for a way to mount cifs shares on centos 6 with multiple users

We have a CIFS share on our network. I have a centos 6.3 server in which I want to map the share. The problem is that when mounting it in /etc/fstab I have to set which user (and password) to use. 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,...
3
votes
0answers
1k views

Mount Windows 7 share using mount.cifs: Symlinks staying inside the share cannot be created

We have multiple Windows systems using Windows 7 (64bit). For web development, we want a project workspace directory that can be shared with a VM (Oracle VirtualBox). The solution included in ...
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 ...
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 ...
2
votes
6answers
2k views

Bash shell snippet to check if mounted Samba share is not busy

#!/bin/sh mount -t cifs //192.168.5.90/share -o password='' /mnt/tera_nas rsync -av --super --delete --recursive /home/ /mnt/tera_nas/home/ # sleep 5m (i want to avoid using this) # Bash shell ...
2
votes
3answers
22k views

Disable Windows 2003 File Sharing

What's the best way to temporarily disable the Windows 2003 File Sharing service(s)? Sorta like the equivalent to shutting down Samba on a Linux box.
2
votes
1answer
18k views

How do I pass credential file to mount.cifs?

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. The current implementation in linux is in /etc/fstab ...
2
votes
1answer
282 views

How efficient is a file move on the same fileshare?

From a windows208r2 client connected to a SMB/CIFS share, I move a file from one directory to another directory on the same network share. Does windows send a "move" command to the share, or does ...
2
votes
3answers
349 views

Is Samba good for anything in a pure Unix/Linux network?

I'm learning for the LPIC exam which includes a section about Samba. I'm asking myself, whether there is any meaningful or useful application for Samba in a pure Unix/Linux network without any Windows ...
2
votes
1answer
2k views

“mount error(13): Permission denied” only in LXC container for CIFS/Samba share

I have a samba share that mounts just fine under the Ubuntu 12.04 host: root:~# mount -t cifs -o credentials=/var/lib/lxc/vpn/rootfs/etc/samba/desktop.credentials //desktop/Media /media/Media But ...
2
votes
2answers
183 views

Backup maildir to windows cifs share

How can I incrementally backup a maildir to a cifs share without creating a full image each time? I have dovecot running with some large mail accounts. The only backup available is on a Windows ...
2
votes
2answers
428 views

Partions, RAID, LVMs, and Encryption

I have an existing production server that is running 4 drives each 750 GB in size in two software RAID levels. RAID 1 for the /boot partition and RAID 5 for the rest of the partitions including the /...
2
votes
1answer
4k views

Using same drive for iSCSI and SMB share under FreeNAS

I'm setting up a new FreeNAS server this weekend with pretty good success, but I am stuck on one last issue. Right now I have 2x 1.5 TB drives that I want mirrored (I was planning Software RAID 1) ...
2
votes
1answer
1k views

cifs Required Key Not Available

I have joined to a zentyal domain (AD Domain) using PowerBroker IS and I want it to mount my remote home directories when a remote user logs in. this is the config for PBIS: AllowDeleteTo "" ...
2
votes
2answers
7k views

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....
2
votes
1answer
2k views

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 ...
2
votes
2answers
588 views

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 ...
2
votes
1answer
109 views

Permissions to ports Alfresco

When I restart Alfresco, it starts... I got the page... But on the logs I got the error: 2015-11-10 09:58:55,282 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] ...
2
votes
2answers
361 views

How do I configure a CIFS only NetApp filer for ssh public-private key access?

I've a NetApp filer that's running exclusively CIFS. (/vol/vol0 is CIFS exported) Account logins via ssh are possible as DOMAIN\username, but we're having difficulty with configuring ssh public-...
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, ...
2
votes
2answers
2k views

rsync fails with error: Cannot stat destination… cannot allocate memory (12)

I am trying to rsync some directories on my linux server to a Windows 7 share mounted locally on the Linux server at /mnt/backups. My rsync command looks like this: rsync -avz --progress --partial --...
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 ...
2
votes
1answer
2k views

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 ...
2
votes
2answers
1k views

What is the safest way to give anonymous read/write access to Windows file shares?

I need to create a Windows file share and configure it so that the files can be modified over the network without the user needing to authenticate. In some cases this will be an interactive user ...
2
votes
1answer
284 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 ...
2
votes
1answer
847 views

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 ...
2
votes
1answer
4k views

kerberos cifs multiuser mount from AD PDC

I'm trying to mount a cifs folder on a ubuntu server with multiuser support from a windows DC. I can get user kerberos tickets as root on the server and mount the directory with kerberos without any ...
2
votes
2answers
1k views

CIFS Mounting Permissions

I have an issue that I;m going round in circles with, I hope you can help. The Set up: Server 1 (CIFS Client) - CentOS 6.3 AD integrated uing Samba/Winbind & idmap_ad Server 2 (CIFS Server) - ...
2
votes
1answer
4k views

ldap-authentication without sambaSamAccount on linux smb/cifs server (e.g. samba)

i'm currently running samba-3.5.6 on a debian/wheezy host to act as the fileserver for our department's w32-clients. authentication is done via OpenLDAP, where each user-dn has an objectclass:...
2
votes
1answer
2k views

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 ...
2
votes
1answer
801 views

Mount a samba share as regular user using cifs

Server: Ubuntu SAMBA 3 Client: Ubuntu 12.04 I can access the shares using Nautilus but I can't mount the same share using shell. I issue the following command: sudo mount -t cifs //auth.local/...
2
votes
1answer
893 views

Intermittent logon failures or lock out failures when under high impersonation load

Recently we've been seeing an interesting slew of failures on our cluster where users' jobs will intermittently fail with logon errors, account locked out errors, or file permission errors. Our ...
2
votes
1answer
2k views

GVFS Locations Not Available In ~/.gvfs

So, I can mount GVFS locations correctly (specifically CIFS) either from the Gnome "Places" menu, or via the command line gvfs-mount, but the filesystem is not mounted in the expected location; ~/....
2
votes
1answer
7k views

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-...
2
votes
3answers
622 views

PHP-CLI cannot execute scripts on Samba Share (using cifs) inside a guest VM (Centos 6)

I have a centos 6 VM running as a guest within Virtualbox. I've set up a LAMP stack which I am able to access from the host (Windows) environment. I've mounted a SMB share using 'mount -t cifs' and I'...
2
votes
1answer
266 views

How I can prevent multiple mountings?

I have a Ubuntu Server, a NAS, and I am using CIFS protocol to mount. I ran into a situation where I had repeats of the same mount. The below is the output of me running the mount: //10.0.1.38/FOO ...
2
votes
2answers
1k views

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 ...
2
votes
2answers
148 views

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 ...
2
votes
1answer
896 views

Recursively traverse a directory?

On Linux, how would I recursively traverse a variable number of shares?
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 ...
2
votes
1answer
620 views

Windows 7 versus 8 Access CNAME'd Share

Here's a situation that came up yesterday: we have a share on a machine we have to access using an alias (CNAME). The machine is running Windows Server 2012 R2, and services Windows 7 and 8 clients. ...
2
votes
0answers
43 views

Rsnaphost “works” when tested but not when run

I have set up rsnapshot successfully a couple of times, and maybe because everything was rather painless (except for the vi tab fiasco of 2013) I am now out of ideas. I have a cifs mounted remote ...
2
votes
0answers
958 views

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 ...
2
votes
3answers
907 views

Automate mounting a persistant CIFS drive natively on Windows.

Trying to create a script to automate mounting CIFS shares as drives on windows 2008/2012 server. The share requires a login (Unfortunately, AD can not be used) and needs to be mounted as a ...