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

26
votes
3answers
71k 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 ...
16
votes
1answer
19k views
8
votes
1answer
359 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 ...
7
votes
2answers
27k views

Permanently mount network share without the need for log on? (Windows)

On a Windows 2008 R2 Server (Standard) I need to have a network drive mounted without having a specific user to log on to the machine first. Sort of like an NFS mount via fstab on Unix machines. The ...
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: ...
6
votes
3answers
3k views

It is possible to put FreeNAS as Auth Server (SMB or LDAP), File server and Ubuntu as “Client” (Kerberos auth-pam)?

I want to configure my FreeNAS server as authentication server (user FreeNAS local user's to auth into ubuntu clients) and NAS server, of course. I have Ubuntu as clients and they are booting over ...
6
votes
3answers
3k views

Mounting Linux user home directories on CIFS server

I was wondering about peoples experiences with mounting users home directories from an Active Directory authenticated CIFS server under Linux. Preferably the mount would be accomplished upon login ...
5
votes
4answers
6k views

Mount CIFS share with autofs

I have a system running RHEL 5.5, and I am trying to mount a Windows share on a server using autofs. (Due to the network not being ready upon startup, I do not want to utilize fstab.) I am able to ...
5
votes
2answers
266 views

Heterogeneous environment “roaming” profiles

By "roaming profiles" I really mean "shared home directories". So, I set up an AD pair, and shared a folder on \\ad-1\homes. Then set the AD user object to mount H:\ = \\ad-1\homes\%username%. This ...
4
votes
1answer
442 views

How to troubleshoot Linux in-kernel dns_resolver

Linux provides a facility that lets kernel and its modules to resolve DNS names by relying on user-space tools. This, for example, is used by CIFS to support referrals in the DFS. The problem I'm ...
4
votes
5answers
5k views

Multiple logins with pam_mount means multiple (redundant) mounts

I've configured pam_mount.so to automagically mount a cifs share when users login; the problem is if a user logs into multiple times simultaneously, the mount command is repeated multiple times. ...
4
votes
3answers
4k 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 ...
4
votes
4answers
39k 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 ...
4
votes
3answers
8k views

How to fix OSX client to Windows share hangs?

I have 2 x MacBook Pro's (OSX 10.6.7) that access files stored on a 64-bit and a 32-bit Windows 7 PC. The MBP clients can connect to the Windows shares and transfer files with no problem. However, ...
4
votes
1answer
1k views

GlusterFS with CIFS, quotas and LDAP

Has anyone had experience plugging GlusterFS and Openfiler together or something similar? Here is the motivation: Disk space on multiple server regrouped using GlusterFS Centralized access using ...
4
votes
1answer
1k views

Mounting windows shares with Active Directory permissions

I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 ...
4
votes
4answers
1k views

Apache has a 2GB file limit on a CIFS network drive?

Setup: A Windows and a Ubuntu Server are hosted in VMware ESXi I have a a 6GB file on a Windows share The Windows share is mount on Ubuntu with smbmount A symlink pointing to the 6GB file is created ...
3
votes
6answers
6k views

NexentaStor CE or Openfiler? Which do you recommend? [closed]

I'm planning to implement a 'poor man's storage' using Openfiler or NexentaStor CE. I need the filer solution to provide iSCSI target and CIFS sharing abilities. The iSCSI target and CIFS share will ...
3
votes
3answers
7k views

How to setup samba share to be mounted as specific user?

I want to create samba share to which users can connect as specific samba user. I created user, let's say henry, and I want to make storage in his home. So I have in my /etc/samba/smb.conf: ...
3
votes
5answers
19k 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 ...
3
votes
2answers
949 views

How are CIFS and SMB related to each other?

Are they synonyms, or components of a protocol stack? Answers with proof links are welcome.
3
votes
3answers
4k views

Native SMB/CIFS through ZFS or Samba Instead

I was totally unaware of native SMB/CIFS on ZFS. This wiki doc does not mention performance differences. What kind of performance differences exist between the two?
3
votes
2answers
5k 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, ...
3
votes
3answers
12k views

Mount NTFS (read/write capability) on Ubuntu

I'm trying to mount Windows 2000 shared folder on Ubuntu in an effort to get Read/Write capabilities. Any advice? I've verified that the user credentials have writable permissions from a windows ...
3
votes
5answers
5k views

server 2008 to 2003 slow filetransfer using cifs

I just tried copying a file over cifs (windows file sharing) between a server 2003 R2 and a new server 2008 SP1 and I'm getting horrible speed. it's a 300MB file that is taking around 30 minutes to ...
3
votes
6answers
5k 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 ...
3
votes
1answer
19k 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 ...
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 ...
3
votes
1answer
652 views

Active Directory profile storage on ZFS

I'm considering storing Active Directory profiles on a ZFS file server. I ran across these instructions for using ZFS and the native Solaris CIFS protocol to integrate with Active Directory. It ...
3
votes
2answers
2k views

Increase data transfer speed through bonding/lacp?

I want to maximize the throughput of a data transfer between two servers. The copy will be made at the application layer using Robocopy. To clear things up, please check my Visio schema of the ...
3
votes
1answer
235 views

Why is my CIFS share showing the same files multiple times?

I have a Debian backup server running the FreeBSD kernel and a ZFS filesystem on which I store backups, using ZFS's snapshot and compression technologies. The Debian server uses rsync to pull files ...
3
votes
1answer
964 views

Migrating Windows shares to a Samba Linux based Share

We are looking at migrating all of of shared folders and files to one server. Currently it's spread out over a few severs which has been the method for the past years but now we want to upgrade and ...
3
votes
5answers
3k views

Samba by CIFS, problems with copying directory tree

I have server with samba share, which is mounted by CIFS on my client machine under /media/photos. /media/photos ownership is root:samba, and my user also is member of group samba. In smb.conf on ...
3
votes
3answers
1k 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. ...
3
votes
2answers
780 views

Web-based SMB/CIFS file server

I am looking for a web-based file server which can be used to browser SMB/CIFS shares. I want something easy to deploy (can be Windows or Linux software) and which can be used to download/upload ...
3
votes
2answers
321 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
116 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
1answer
414 views

How to display windows group membership and Permission access in a CIFS mount

I have a CIFS mount point to a Windows Server from my Debian Linux box: mount -t cifs //192.168.0.10/users /mnt/users -o credentials=/etc/demo.smbpass It mounts properly but all the permissions of ...
3
votes
4answers
602 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 ...
2
votes
6answers
1k 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
4answers
402 views

Restrict file server (CIFS) access by time of day

How can I (in order of preference, descending): Disable file-server access to a specific share for a user or group based on the time of day. Disable file-server access entirely for a user or group ...
2
votes
3answers
17k 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
165 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
2answers
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 ...
2
votes
1answer
5k 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
5answers
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
2answers
343 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

CIFS mounted drive setting “stick-bit” on all files, cannot change permissions or modify files

I have a folder mounted on an Ubuntu 8.10 sever through cifs that I simply cannot change the permissions on once mounted. Here is a breakdown of what's going on: All files within the mounted ...
2
votes
1answer
3k 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
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 ...