SMB / CIFS is a network protocol that allows sharing of files across a network of nodes. The protocol is based on a design where the customer requests it sends packets to the server, the server in turn sends response packets to the client.

learn more… | top users | synonyms

8
votes
2answers
1k views

What is going on when I can't access an SMB server share (not accessible error) until I run cmdkey to delete the credential?

I have a network connection share issue. The first connection works, and seems to stay connected for at least a few hours. However, after each time my windows 7 PC reboots, it can no longer form a ...
7
votes
1answer
5k views

Error mounting samba share, cannot mount block device xxxx read-only

After installing Ubuntu 12.04, I'm trying to mount a samba share from Windows under Linux, using a scripted command that's always worked, and the server hasn't changed. The error is as follows: $ ...
7
votes
1answer
4k views

How can I stop $RECYCLE.BIN from being created (or hide it) on network drives/folders?

I have a Windows 7 desktop which has 3 drive mappings to CIFS shares on a FreeBSD home server. There are also special folders (Desktop, etc) stored on the CIFS shares. Each of these (including the ...
5
votes
4answers
22k views

CIFS share mount errors

I'm trying to mount a network share from a Linksys NAS200 to Fedora 16. The program I am trying to run won't accept network addresses to save to. I ran it without specifying the IP address of the ...
5
votes
2answers
9k views

mount cifs through fstab non readable/writable

I have FreeNAS server and domain-controller with Windows Server 2008. I use OpenSuse 11.4 and my Windows account have full access to FreeNAS CIFS share. I can connect through any filemanager with smb ...
5
votes
3answers
3k views

How to keep group-writeable shares on Samba with OSX clients?

I have a FreeNAS server on a network with OSX and Windows clients. When the OSX clients interact with SMB/CIFS shares on the server, they are causing permission problems for all other clients. ...
4
votes
1answer
47 views

Why does cifs asks for su rights to write any data into it?

I'm mounting a windows share as follows: sudo mount -t cifs //192.168.178.49/public -o users,username=name,dom=domain,password=pword /mnt/nas Then I'm trying to create a simple file with some basic ...
4
votes
2answers
503 views

How to link to a subfolder of a share?

On my Windows XP server, a folder called Share2 is shared. It contains a subfolder called folder3. The guest account is protected by a password, which means network users have to type the guest ...
4
votes
1answer
968 views

How to mount remote samba share from local host with multiple groups?

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this: mount.cifs //sambaserver/samba /mountpath -o ...
3
votes
2answers
1k views

Samba share automatically do username and password

Right now I'm connecting to network shares on my windows 7 machine with a command like sudo mount -o username=Robert //192.168.1.56/share /mnt/share and then it asks for my password. No big deal, but ...
3
votes
1answer
6k views

How to mount via cifs non-unicode samba sever with character set conversion?

in old times of smbfs I use codepage and iocharset options, but cifs does not support codepage. What I can do?
3
votes
1answer
3k views

Cant open file for writing with cifs mount

Hi I have mounted my QNAP on to a drive on my ubuntu machine using the following fstab entry //<ip-address>/Documents/Aly /home/aly/Documents cifs ...
3
votes
2answers
2k views

Cannot access SMB Shares from OpenIndiana server on OSX Lion?

I've clean installed a copy of OpenIndiana 151a (latest). I've imported my pools I've run through these directions http://blogs.oracle.com/timthomas/entry/solaris_cifs_in_workgroup_mode I can ...
3
votes
3answers
2k views

CIFS mount issue over IPsec VPN

I'm trying to connect a client running Ubuntu 13.04 to a network share hosted by a file server which has recently been upgraded from Windows Server 2003 to 2012. Currently I am able to mount the ...
3
votes
1answer
970 views

mount CIFS volume with pam_mount and password stored in gnome-keyring

I would like to store the passwords for CIFS volumes in gnome-keyring. I am currently using a text file with credentials in it and passing that to pam mount / mount.cifs which then will mount the ...
3
votes
1answer
3k views

Permission denied while mounting samba cifs share on linux

I have a samba server set up on a Linux computer that uses winbind on an AD domain. Everything seems to be working but I haven't been able to mount a samba share on another machine. Right now, I would ...
3
votes
0answers
2k views

Windows 7 slow write to Samba/CIFS OpenSolaris server

I have a NAS server with OpenSolaris and kernel-based CIFS/Samba share and I get these weird results when working with it from different computers over the Gigabit LAN: Read speed is blazing fast ...
3
votes
1answer
684 views

File 'pagefile.sys' in CIFS mount of '//windowshost/C$' makes Nautilus give up in disgust

So, I'm running a Fedora 13 VM in VirtualBox under Windows Server 2008. I need to have access to the host drives from inside the VM, so I mount them. I use the C$ and D$ default shares. Here's the ...
2
votes
2answers
569 views

What is wrong with my fast-network's slow-network-share(s)?

I have done extreme amounts of testing. cp, dd, rysnc, iperf, netcat, custom-dd and probably more. What I am looking at is a strong network. The iperf results below show that, and I have other data ...
2
votes
2answers
10k views

Configure CIFS mount point permissions

On my Ubuntu machine I am mounting a CIFS share by having the following in my /etc/fstab //netgear0/photos /media/netgear0-photos cifs ...
2
votes
2answers
416 views

Persistent Samba Share

There are hundreds of entries for this - and as far as I can tell I am doing it right. But it is not working... I run a latest Raspbian (Debian Wheezy) Distribution on a Raspberry Pi. I have ...
2
votes
1answer
3k views

Write permission when mounting Windows shares from Ubuntu

I think I'm close to having my dev environment set up exactly the way I want, but one final snag remains. I'm running VirtualBox on a Windows 7 x64 host, with my dev enviroment inside a Ubuntu 12.04 ...
2
votes
1answer
7k views

Cannot mount Windows share anymore from Debian Linux

Since I upgraded my Debian 'testing' with an apt-get dist-upgrade yesterday (Wed Jan 6th 2012), I cannot mount anymore a Windows share. The share is still available, as I can connect to it using ...
2
votes
1answer
2k views

Automatic remount cifs/SMB after short network interruption

A Windowsserver provides a network directory called data via CIFS/SMB protocol. The data folder is mounted on a Linux client with password and user authentification. Sometimes the drive gets ...
2
votes
1answer
595 views

Mounting samba share from fstab

Currently I have 3 network drives I mount each time i restart my system. The command I use is: sudo mount -t cifs //192.168.1.8/ARES /media/Ares -o user=USER,password=*** sudo mount -t cifs ...
2
votes
1answer
2k views

NTFS: prevent/deny directory delete in a otherwise “personal” folder

I have a directory shared via CIFS from a Windows 7 "server". No domain: just simple workgroup. My clients access this directory via LAN via "Standard User" (no "Administrator") accounts on the ...
2
votes
1answer
331 views

Weird file truncation issue in CIFS mount

With reference to: http://stackoverflow.com/questions/12211629/php-file-put-contents-not-truncating-file-in-cifs-mount We have a Seagate BlackArmor NAS device, which is mounted on our Ubuntu 10.04 ...
2
votes
1answer
466 views

Samba upgrade from 3.0 to 3.6 broke my ADS authentication

I just upgraded my CentOS 5.4's Samba 3.0.33-3.15.el5_4 to 3.6.4 built from source. I copied over config and stuff from the old distro-locations to the source-expected location in /usr/lib. I copied ...
2
votes
1answer
872 views

linux shutdown hang with wifi cifs mounts

Since fedora 15 (and now with 16) it seems that wireless clients take a long while to shutdown when they have network filesystems mounted at shutdown time. I've pushed out a cifs mount via puppet, ...
2
votes
2answers
9k views

CIFS Share Mount Error

I have a samba share on my Fedora 13 machine. The problem is that on my system if I try to mount the share it failed every time, on all other windows and Linux machines there is no problem. I used ...
2
votes
1answer
1k views

prevent chown/chmod access denied errors with cifs mount

I have a user directory mounted to ubuntu 12.04 with cifs. /etc/fstab contains a line; //cb/share /home/cb cifs user=ubuntu,password=abc123,uid=cb,gid=users 0 0 The share mounts and works fine ...
2
votes
0answers
695 views

Are there any good CIFS proxy out there?

I know samba4 can do this, but apparently it's still in alpha. I want to have a caching CIFS proxy. Any thoughts?
1
vote
2answers
6k views

Temporarily mount Windows share via cmd line? (Ubuntu 11.04)

What is a simple way to (temporarily) mount a windows share from within Ubuntu 11.04 via the command line? Basically, I'd like the path /home/myuser/windowsbox to map to a windows share. (Need to ...
1
vote
2answers
1k views

CIFS auto mounted shares on shutdown

Running Ubuntu I've recently encountered an issue with shutting down the computer - it simply hangs whenever I shutdown, whether from the GUI or command line with sudo shutdown -hP now ~$ uname -a ...
1
vote
2answers
2k views

rsync to cifs mount but preserve permissions

I'm backing up a linux server to a windows share. I'm currently mounting the windows share with cifs and using rsync for incremental backups. File permissions and ownership are not being preserved, as ...
1
vote
1answer
5k views

Is there no SMB/CIFS client component in Windows?

I know that Windows acts as an SMB/CIFS server by default. So one can easily access Windows files from another machine in the network with a proper SMB client. But what if I want to do the opposite ...
1
vote
2answers
7k views

Windows 7 offline files - work temporarily offline even if network connection works

Sometimes I am connected via VPN to a network containing the server where files are stored which are cached by Windows offline files feature. Sometimes the connection works good and working this way ...
1
vote
3answers
4k views

Automatically mounting windows share in Fedora 12

I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12). When I manually mount things work: mount -t cifs //nas01/servers -o username=guest,password=myPassword ...
1
vote
1answer
800 views

nfs and cifs shares hanging from Linux

I've got a NAS (Dlink DNS-323) that I mount from my linux box. It used to work fine, and then I upgraded my distro (apt-get upgrade). I'm running Linux Mint Debian Edition. Current kernel is: ...
1
vote
1answer
369 views

Git cannot clone repository into CIFS mounted directory

Attempting to clone a remote Git repository into a CIFS mounted directory on Linux. The error is: $ git clone ssh://git@github.com/ghuser/ghuser.git dir Cloning into 'dir'... fatal: Unable to create ...
1
vote
1answer
11k views

Cannot Mount Windows 7 Share from Linux using CIFS: Mount error(13): Permission denied

We have a windows XP share entry in our FSTAB that works as follows: //MAIN/StorageD /mnt/storaged cifs username=admin,password='',uid=1001,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm ...
1
vote
4answers
4k views

How to Share Windows 8 files with Ubuntu Server 12.10

On my network I have a Windows 8 laptop and a Ubuntu Server running 12.10. I can connect to a Ubuntu file share from my Windows 8 laptop with out any issues. Question: How would I connect & mount ...
1
vote
2answers
386 views

Samba/cifs shares on Linux

I'm trying to setup 2 samba shares (actual Linux permissions on them are 777): Volume_1 (cifs username is firstUser) Volume_1/someSubDir (cifs username is secondUser) I get this error when second ...
1
vote
1answer
428 views

boot2docker mount windows share

I am running boot2docker on windows and I am trying to access a shared folder on my host from the VM. I have executed the following sudo mkdir /mnt/docktest sudo mount -t cifs ...
1
vote
1answer
214 views

Cannot follow Shortcuts in CIFS-mounted windows shares

I have a windows share: \\MYSERVER\SHARE\ MyFolder MyShortcut\ SubFolder1 Subfolder2 Using a windows box, I ...
1
vote
1answer
658 views

Using CIFS to mount a Windows share that symlinks another Windows share

I have a Windows Server 2008 VM that hosts some files that are accessed by a mixture of Windows and Linux (Ubuntu 12.04) machines via a windows share. Due to space constraints on the VM host that the ...
1
vote
1answer
4k views

Can I install a different Samba client on OSX Lion?

Right now I am using the standard OSX Lion Samba Client to connect to my Windows 2008 Samba Shares. Is there an alternative client to the one that ships with OSX Lion? I am experiencing software ...
1
vote
1answer
657 views

CIFS (Windows Share) or NFS for Windows directory share

I have a (Virtualized) Linux server which I'd like to backup regularly. The rest of our environment is Microsoft and our backup solution (ArchiveIQ) runs only on Windows - there are no Linux clients. ...
1
vote
2answers
824 views

Why can't certain files on my external drive be deleted with Unix utilities?

I have an external drive (WD My Book World) mounted on my Ubuntu system which I've used for backups over the last few years. Some of the backups included SVN repositories which now include files ...
1
vote
0answers
9 views

Cannot set appropriate permissions to avoid 403 error

Excuse me, I know there are many questions similar to this one, but I wasn't able to solve the problem. My primary problem is that I cannot access my own web page because of "403 Forbidden" error. I ...