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
498 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
697 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
5k 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
544 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
460 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
3k 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
425 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
996 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 ...
2
votes
1answer
186 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
741 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
81 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
200 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
0answers
479 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
836 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
596 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
316 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
249 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
120 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
933 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
284 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
685 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
259 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
3answers
787 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
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
1answer
740 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
66 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
2answers
1k 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
3k 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
843 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
3answers
390 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
854 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
2answers
5k 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 ...
1
vote
4answers
982 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
2answers
237 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 ...
1
vote
1answer
2k views

Mount Windows share via CIFS in CentOS not working (but smbclient does)

I'm a bit frustrated...I'm trying to mount a windows share via CIFS in CentOS 6.3, but it's not working: mount -v -t cifs -o credentials=/data/conf/credentials/fileserver //10.0.1.200/projects ...
1
vote
1answer
348 views

How many folders you can mount on centos from windows shared folder using Samba with CIFS protocol

Currently I have an interesting problem to solve: In short I will need to pull custom text application log files from server windows servers (Mixed environment of windows server 2008 / 2003 sp2 ...
1
vote
1answer
120 views

ZFS ACL's with Snapshots

Let's say I have a ZFS filesystem set up to share to users via CIFS, but ACLs are fine grained into the subfolders of the share to where certain users can't go into. Let's also say I'm leveraging ZFS ...
1
vote
2answers
289 views

Permanent Mount / umount on each execution

We're implementing a service that needs access to three disks that reside on different servers. I have mounted the disks (2 are on windows fileservers, cifs ; 1 is on another Linux server, nfs) and ...
1
vote
2answers
409 views

Duplicity Errno 2 - no such file or directory

I am trying to setup a script for backing up a linux box to a CIFS share. I manually mounted the CIFS share and created a few test folders - OK I then ran duplicity manually with a rather simple ...
1
vote
2answers
2k views

Open NetApp CIFS Share

I have a CIFS share on a NetApp device. I want this share to be completely open to any user/computer on the same network. I don't want any authentication (domain, workgroup, etc) required; no ...
1
vote
1answer
37 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 ...
1
vote
1answer
90 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 ...
1
vote
1answer
2k views

Why won't the CIFS service start?

When I try to enable the CIFS service (to use it with my OpenLDAP directory) on my FreeNAS 9.1.1, I get the message The service could not be started. In the shell of my FreeNAS, I see the ...
1
vote
1answer
185 views

Why can't cron access a CIFS share using Kerberos authentication?

I'm on CentOS 6.4. Using kstart I have a TGT kept active using the machine account (ie computername$) from Active Directory. The ticket cache is assigned to root and is located at /tmp/krb5cc_0. I ...
1
vote
1answer
297 views

Can a Windows machine authenticate against Samba with Kerberos when users are stored in AD?

I understand the title is probably less clear that it should be, but I couldn't think of anything better. We have two domains, let's call them example.com and subnet.example.com. The former is ...
1
vote
1answer
186 views

How to manage iowait over cifs?

For backup purposes we have Cifs file Server running that contains encrypted containers for backing up the more sensitive data. The container is mounted with cryptsetup and loop as a local filesystem ...
1
vote
1answer
471 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 ...