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

Can't create or follow symlinks from linux client with a cifs mounted Windows Server 2008 R2 share

Windows Server 2008 R2 NTFS supports symlinks. If I log into the server as Administrator I can create symlinks with mklink, so I know the Admin user has the permissions to do this. If I mount a share ...
2
votes
1answer
1k 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
542 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
2answers
1k views

Samba does not reload user group members

I am running a simple samba server setup where users connect to a share which contains folders for specific user groups. The folders are chmod 2770, so only users which are in the correct group can ...
2
votes
2answers
1k 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
6k 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

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 ...
2
votes
2answers
758 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
621 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
1k 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
4k 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 ...
2
votes
3answers
498 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 ...
2
votes
1answer
203 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
849 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
1answer
678 views

Recursively traverse a directory?

On Linux, how would I recursively traverse a variable number of shares?
2
votes
0answers
397 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
0answers
354 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 ...
2
votes
1answer
629 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 ...
2
votes
3answers
488 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 ...
2
votes
1answer
2k 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
0answers
2k views

Linux samba server: cifs_mount failed w/return code = -12

Server: RHEL 5.9 / smbd 3.0.33 - Clients: various, though all were using current mount.cifs (5.2) I already solved this problem, but it was such a nightmare to hunt down these error codes I felt like ...
2
votes
1answer
1k 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
400 views

ZFS CIFS shares, clients can't see mount points of other shares in root folder?

I'm in the process of migrating data from a Win2k3 file server to a box running Solaris. All was going well until I started coming across nested shares. An example of this is a share that the ...
2
votes
1answer
291 views

NTFS network file copy hangs on +R attrib files / Server 2008 R2

I have encountered at least two server 2008 R2 machines that were recently built that exhibit identical behavior. When using explorer to copy a folder of files from or to the affected host, any file ...
2
votes
1answer
125 views

How to check which user a share was mapped as

I am using net use to map shares on a windows machine to Red Hat Linux using Likewise CIFS. I was wondering if there is a way to check which user a particular share was mapped as. I desire this ...
2
votes
0answers
998 views

How can I improve performance over SMB/CIFS for an application that has poor write speeds?

I have a third party application that reads several large files and generates a third large file. Its performance is quite good when the generated file is stored on "local storage", i.e. either a ...
2
votes
0answers
296 views

Why do I have to remount an smb share if I want to recreate a directory?

Suppose I have an SMB share mounted somewhere in a Linux filesystem. If I do this (from within the mounted share): rm -rf some-directory mkdir some-directory ls -a some-directory some-directory is ...
2
votes
1answer
815 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
3answers
3k views

Allowing a user to mount a samba share from fstab

I am unable to get mount.cifs to respect the user flag passed to mount. The entry in /etc/fstab is //10.0.1.205/rm /home/robert/remote/rm cifs ...
1
vote
3answers
1k views

How to empty Samba network cache on Linux server?

One of our Linux servers (Debian 5) uses Windows shares mounted via cifs. Each time, when the credentials are changing due to security policy, shares begins to be inaccessible for several hours, or ...
1
vote
3answers
286 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 ...
1
vote
2answers
2k views

Where are the Kerberos time outs in Windows 2008R2?

We have a DFS share that redirects users to a EMC CIFS share. Several end users are unable to access it and get the following Kerberos Security warning: The System Detected an attempt to ...
1
vote
3answers
1k views

Sync Large File Shares

What is the best way to sync large sets of files between to geographically separate locations so that both locations have the same file? We have a constantly changing 500gig file share in Location1 ...
1
vote
3answers
4k views

Auto-mounting a windows share on Linux AD login

I've managed to configure my test Ubuntu 10.04 Beta 2 Server VM to accept logins (via ssh) from users who have domain accounts in active directory via Kerberos, nsswitch.conf and PAM configurations. ...
1
vote
1answer
1k 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 ...
1
vote
1answer
67 views

Add more ressources to Server service on Windows 7

I'm trying to configure Service service on Windows 7, to add more ressources to it. In our infrastructure there is a Linux server, which has mounted partitions from a Windows 7 machine. Partitions ...
1
vote
4answers
1k views

Backing up Linux server to Windows server?

I need to back up a (virtual) Ubuntu server. The backup media (an external USB disk) is mounted on the Windows (Hyper-V Server) host. The Windows servers on the same host can simply back up using ...
1
vote
1answer
1k views

How can I script a download from Windows File Sharing?

Given a set of XML files available on a Windows Share \\server\share contains spaces\direcory\, I need a bash command to download one specific file from that share. Neither wget nor curl support any ...
1
vote
1answer
2k views

NetApp filer - resetting NTFS permissions with fsecurity?

I have a NetApp filer, with a CIFS export. The permissions have been locked down on it, to a point where it's no longer accessible. I need to reset the permissions on this - I've figured out I can ...
1
vote
3answers
425 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
vote
3answers
1k views

Access Windows file share over the internet

At home I have a fileserver which is running Windows XP Pro. There are various SMB shares set up on it which can be accessed fine from within the network. Recently there has been the need to access ...
1
vote
1answer
26 views

redhat 5.8 uses cifs protocol version 1 or 2?

I have one redhat 5.8 server and i would like to know if the server uses the cifs protocol versiorn 1 or 2. I was looking trough /sys and /proc, but i didn't found nothing, my question is, how can i ...
1
vote
2answers
949 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
1answer
1k 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 ...
1
vote
1answer
479 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 ...
1
vote
1answer
713 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
3answers
3k 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
vote
2answers
381 views

Have both domain and non-domain users use NetApp CIFS storage

My specific use case is that I have a NetApp CIFS storage that's in the domain, say, intranet. But I also have one hyper-v host that's not in the domain. I can't allow it into the domain, but I need ...