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

13
votes
5answers
64k 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 ...
11
votes
1answer
9k 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: $ ...
8
votes
1answer
5k 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 ...
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 ...
6
votes
2answers
18k 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 ...
6
votes
3answers
6k 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. ...
5
votes
1answer
473 views

How to connect to a 3DS's SMB share from Linux?

Nintendo's New 3DS ("new" is part of the name) has the ability to expose an SMB share of its micro SD card. It asks you to define a name for the 3DS to appear as, and also a username and password. ...
4
votes
2answers
16k 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 credentials=/home/bob/passwd/netgear0-smb-cred,iocharset=utf8,...
4
votes
1answer
60 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
1answer
5k 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 ...
4
votes
2answers
4k 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 credentials=/root/.credentials,uid=1000,gid=...
4
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 ...
4
votes
2answers
568 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
1k 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 credentials=/path/.credentials,uid=someuser,...
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
2answers
7k 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
4k 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 ...
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
1answer
1k 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
465 views

Master browser msbrowse registration

On a SMB/CIFS network using NetBIOS over TCP, the group name \x01\x02__MSBROWSE__\x02\x01 is registered, which is the master browser for the subnet. If I have different domains/workgroups on my ...
3
votes
1answer
130 views

How do I trick Nautilus to use “sudo mount” instead of just “mount”?

Thanks to new "security fixes" in mount or mount.cifs (I'm not sure which) it's no longer possible for normal users to mount anything, even if they are explicitly allowed using the user, users or ...
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
0answers
1k views

How to mount a samba share on non-standard port?

The firewall on my network drops all packets on TCP port 139 and 445. So all samba shares don't work outside the LAN. I tried letting the samba daemon listen on a non-standard port. This method works ...
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
760 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
3answers
8k 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 ...
2
votes
2answers
635 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
3k 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 ...
2
votes
2answers
24k 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 ...
2
votes
1answer
2k 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: oliver@...
2
votes
2answers
589 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
839 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 //192.168....
2
votes
1answer
5k 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
8k 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
2answers
2k 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 ...
2
votes
1answer
524 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
701 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
1k 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
12k 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
0answers
21 views

Is there a way to failover mount.cifs to new ip address recorded in the DNS?

Is there a way to failover mount.cifs to new ip address recorded in the DNS? Consider this scenario: mount.cifs -o user=test //fileserver/share1 /mnt move "fileserver" to second server with new IP ...
2
votes
2answers
357 views

User space application for CIFS

I need to mount my windows share on linux machine which does not have CIFS kernel module. Is there any user space application available equivalent to CIFS kernel module? Or is there simply anyway I ...
2
votes
1answer
2k 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
889 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
4k views

Allow chmod on CIFS mount

I have a Windows 7 host, with a CentOS 6 guest under VirtualBox. I have a Windows directory shared with the Linux guest using CIFS. Everything worked fine so far, until I realized that all chmod ...
1
vote
2answers
2k 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
1answer
1k 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
8k 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
7k 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
8k 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 /mnt/nas01/...