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

2
votes
6answers
3k views

Mount CIFS Credentials File has Special Character

I'm having trouble mounting a share on my XenServer (5.6 FP1). From the command line I try: mount.cifs //server/share /mnt/share -o credentials=credfile The contents of credfile is: ...
2
votes
1answer
963 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 ...
4
votes
6answers
7k views

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

CIFS shares disconnection

On a SOLARIS system I have a CIFS share on which clients access via AD. The problem is that it desconnects (once a day maybe) when it should remain persistent. I have every time to rejoin again to the ...
1
vote
3answers
1k views

How can I set up disk quotas on a remote server in a Samba environment?

I've been working with an install of Ubuntu 8.04 and Samba. I'm trying to set up user disk space quotas for our shared drive. That is, each user will have their own folder on our Network Attached ...
0
votes
3answers
2k views

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

How to display free disk space on cifs mount on linux command line? [closed]

In case there's any distinction between OS and shell necessary, I want to run the command on Ubuntu 14.04 with Linux 3.13 in GNU bash 4.3.11. mount.cifs's version is 6.0 using smb2 protocol. After ...
0
votes
1answer
1k 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 ...
1
vote
1answer
3k 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, ...
1
vote
4answers
2k views

Unable to mount XP share using fs-cifs from Linux

I have a head unit that runs Linux that is connected to my PC via an Ethernet cable. I have a Windows XP share on this PC that the head unit needs to be able to mount, however, when mounting using the ...
0
votes
2answers
67 views

ERROR when mounting RHEL samba share on another RHEL server

I have a server (let's call it ServerA) where I have configured two Samba shares, that are currently accessed from a few Windows computers with no issues. I've also been able to mount these two ...
0
votes
0answers
178 views

How to setup/overcome file size limitation/“file too large” error in samba/cifs 2.1 on Synology DS214 with DSM 5

I'm mounting a samba share with some sparse files over cifs with -o username=user,gid=999,uid=999,rw,vers=1.0. The NAS has 3TB capacity and 500 GB free disk space, creating a 4TB sparse file with ...
1
vote
2answers
422 views

Linux: CIFS/Samba mount hangs for several minutes

I have a small local network which has a Gentoo box and a Windows box. I mount a share originating on the Windows box onto the Gentoo box with a command like: mount -t cifs -o ...
-1
votes
1answer
46 views

Unable to mount cifs in redhat 6

I am relatively new to Linux, and I am trying to mount a CIFS filesystem from an openfiler instance I have on my network in Red Hat. The openfiler instance is authenticating using AD. I am able to ...
0
votes
3answers
293 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 ...
2
votes
2answers
915 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 ...
1
vote
1answer
372 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
3answers
4k 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
1answer
514 views

How to give computer account access to EMC VNX CIFS share?

I have a web application that runs using the NETWORK SERVICE account and which has a Virtual Directory to a shared folder (containing images) on an EMC VNX NAS/SAN Unified Storage file server. I ...
1
vote
1answer
658 views

CIFS mount in fstab succeeds on IP, fails on hostname written in /etc/hosts

I wonder why my Ubuntu Server 14.04 LTS has problems resolving a hostname from fstab. I tried to mount the following entry: //NAS-5h2-20/backuppc/ /mnt/backuppc cifs ...
27
votes
3answers
77k views

Mount Remote CIFS/SMB Share as a Folder not a Drive Letter

Is there any way to mount a remote CIFS/SMB/SAMBA share as a folder/directory and not as a drive letter. For example, I want this map: \\Server\ShareName -> C:\Folder\ShareName Instead of the usual ...
9
votes
1answer
1k views

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 ...
1
vote
1answer
284 views

CIFS and NFS: Permissions and underlying file systems

I have been doing a little reading, but am not completely clear still. My understanding is that NFS permissions are fairly black or white, and are controlled by the exports file (I believe there are ...
0
votes
0answers
53 views

*NIX devices getting Permission Denied errors after downloading ~4/5MB of data on FreeNAS CIFS share

I have my FreeNAS (FreeNAS-9.2.0-RELEASE-x64 (ab098f4)) which is set to rwx for my FreeNAS user and can be anonymously accessed through my network. When copying stuff from my windows host I get no ...
0
votes
0answers
37 views

mounting a CIFS share fails in localized environment with non-english password

A windows host creates a CIFS share and gives access to newuser (newuser is the user on windows host) newuser's password is set as ŰŰŰŰ*123 Windows host has a French Locale installed Now on linux ...
2
votes
0answers
293 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 ...
0
votes
0answers
64 views

Mounting two CIFS shares using a VIP

I have two CIFS shares on two different storage servers. I've created a VIP on an F5 node which sends all traffic to it's IP to a pool containing the two storage servers. It sends to one server and in ...
1
vote
3answers
416 views

linux renames folders automatically

I have a file server with ubuntu installed It is accessed usually through smb either from pc (ubuntu) or laptop (windows 7) Sometimes it happens that folder names on the file server are changing to ...
-1
votes
1answer
134 views

I can't automount cifs filesystem

I have some problem with automount. I'm using Ubuntu 12.04. Here is /etc/auto.master file. #+auto.master /mnt/nfs /etc/auto.nfs --timeout=60 --ghost /mnt/samba /etc/auto.sam --timeout=60 --ghost ...
0
votes
0answers
56 views

Why could ntfs mount hung up?

I've got a centos with mounted ntfs folder. From time to time a backup script performs certain backup routine on that ntfs folder. However, periodically it hangs up: either it takes years to receive ...
2
votes
1answer
791 views

EMC Celerra and Access-based Enumeration

I have a few CIFS shares for Windows on our Celerra, and I've run the EMCABE tool (in enable mode) on one of our CIFS virtual servers. When I check if ABE is enabled using the same tool, it comes back ...
1
vote
1answer
463 views

How do I determine the actual size of a NetApp filer snapshot?

We have a volume serving up CIFS data, which seems to have a lot more snapshot data than the rest. I suspect that this is due to a higher rate of change, and that I could determine this using the snap ...
1
vote
0answers
580 views

Why is my OSX client having so much trouble connecting to our SMB server?

I'm asking this here because I think I'm more likely to find SMB/kerberos experts here than in Ask Different, which seems to be mostly related to OSX client issues. When I first connect to our SMB ...
3
votes
1answer
15k views

Does enabling SMB2 on a NetApp filer require a cifs restart?

I would like to enable SMB2 on a FAS 2050 running Data ONTAP 7.3.2 as by default it is disabled. I have discovered that to enable SMB2 the following option must be set: options cifs.smb2.enable on ...
1
vote
0answers
250 views

CIFS mounts hang on read

I have a problem with a bunch of CIFS mounts that look like this: //192.168.10.2/remote-share /home/windows-shared/remote-share cifs defaults,user=xxx,password=xxx,uid=603,gid=603 0 0 This ...
0
votes
1answer
435 views

CIFS error -512 on a mount

So we have Alfresco running at work and I like to have our repository mounted via CIFS: mount /mnt/alfresco/ -v mount.cifs kernel mount options: ...
2
votes
3answers
18k 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.
1
vote
2answers
647 views

mounting windows shares on linux while keeping windows permissions

I have a windows share on a windows2003 server (WINJOE) which I want to back up to a Linux machine (LINUXJOE) that is properly joined to the domain. My goal is to backup shared folders of WINJOE to ...
0
votes
1answer
2k 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 ...
0
votes
0answers
1k views

Mount a shared windows folder in debian

I am trying to mount a shared windows folder on my debian machine. I have installed smbclient and cifs-utils and then to mount it I enter /etc/fstab and apply the following line ...
1
vote
1answer
136 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 ...
0
votes
0answers
705 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 ...
6
votes
1answer
1k views

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

Samba mount error(6): No such device or address - but device exists

I am running Virtualbox on a Windows 8.1 host, and Debian guest. I have a folder on Windows shared, and want to mount it with cifs on the guest, as follows: mount -t cifs ...
2
votes
1answer
513 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
0answers
118 views

Jenkins Publish over CIFS performance suddenly slow

Running Jenkins on linux, builds happen on Mac slaves. Suddenly my performance for copying build artifacts to our NAS with the Publish Over CIFS plug in has gone from 10 minutes for 300MB to over an ...
4
votes
3answers
6k views

Mount CIFS Host is down

I have an issue with a mount point that was previously configured. It shows the folder, but the mount is missing and holds "?" values for size, permissions, etc. So I tried to remount using cifs and ...
0
votes
0answers
92 views

Mounting CIFS share works with mount but not with autofs

My server is Debian Wheezy (3.2.0-4-amd64 kernel). I want to access a Windows 2003 Server share. This Windows server does not belong to a domain: it's in the default workgroup ('workgroup'). This ...
1
vote
1answer
167 views

Restoring NTFS permissions

I have two large file shares where the following has occurred: A (currently unknown) administrator took ownership of the share. The administrator broke inheritance on the share, and removed the ...