Questions tagged [cifs]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
536 views

Mount cifs share with different machine users - Ubuntu 16.04

I have a ubuntu machine which has different users on it. I wonder if there is a way so I multiple users can login to the same cifs server share using their different ubuntu credentials and different ...
13 votes
2 answers
31k views

mounting a network drive cifs mac osx

I've been handed a mac and I'm having issues. I had an ubuntu setup where I would type: sudo mount -t cifs //fs/CakeRecipes /mnt/fs/CakeRecipes -o username=fegur,domain=KitchenLord,iocharset=utf8,...
1 vote
2 answers
2k views

VirtualBox with Win10 host / Linux guest, how to share files with full unix semantics

I have Windows 10 running on a laptop that runs VirtualBox that runs a Linux guest. I do a lot of programming for the Linux environment and am working with sourcecode repositories sitting in an FS / ...
0 votes
1 answer
369 views

How can I create and edit files from a Windows file share on Linux (CentOS)?

I have a Windows shared drive that I have mounted on my CentOS 7 machine using the instructions by Red Hat that I would now like to create and edit files on. However I must be elevated to create and ...
1 vote
1 answer
14k 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
0 answers
2k views

File permissions across samba share

I've been trying to figure out how to manage a file permissions issue that I'm having, but any combination of things that I've seen in researching the problem haven't resolved my issue. I have two ...
2 votes
1 answer
2k 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, ...
0 votes
1 answer
461 views

How to tunnel network share directly to share's host?

I have tunneled mixed linux and windows clients to a 'within-firewall client' (that could access the share's host) before, so I know that that, at least, is possible. But what about tunneling ...
3 votes
0 answers
4k views

Mounting a Samba/CIFS Share on Linux "Correctly"

The problem is that I can't get files on the CIFS share to show correct permissions on the Linux client without forcing vers=1.0 in the mount options. The server is a FreeNAS system running Samba 4.7....
1 vote
0 answers
2k views

Mount windows network folder in linux [debian]

I've got a Windows Server 2016 with a VM Host running a Domain Controller, Exchange Server and a 3CX-Server. The ladder is a linux server running Debian 4.9.65-3+deb9u2. I've got the folder C:/PCAP ...
2 votes
4 answers
6k 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 ...
0 votes
2 answers
932 views

Is there a way to backup deduplicated NTFS drive with rsync or other linux tool?

Is there a Linux way or a tool that is aware of Windows Deduplication on NTFS? Here I use rsync to sync files from a AD file server shares. The shares are mounted, readonly, using mount.cifs on linux. ...
0 votes
1 answer
1k views

Samba mount only allows modification if root

I am attempting to mount a Samba share from a Synology. It's still Samba and Linux. The Guest OS is Ubuntu 16.04. When Ubuntu mounts the directory, it looks just dandy. However, I am unable to ...
6 votes
1 answer
8k views

How to debug slow samba share by Nautilus?

I have Fedora 23 with Gnome 3 and Nautilus 3.18.5-1.fc23. I have troubles with SMB speeds by using Nautilus. It is about 4.4MB/s, while by any other methods (e.g. smbclient from terminal) I got 11MB/s ...
2 votes
1 answer
2k views

Raspberry Pi/Raspbian: Trying to mount router hard drive

Linux/raspberry pi noob here. I'm trying to mount a hard drive that's connected to my router (ip: 192.168.0.1). I can find and explore it through the file explorer through Go > Network and it shows ...
2 votes
0 answers
2k views

Unable to mount cifs share

Debian squeeze. # mount //192.168.2.6/Pub/ m -o guest mount error(1): Operation not permitted Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) I test it on clear system (Debian squeeze ...
0 votes
1 answer
2k views

I can't mount a windows 10 shared drive on Linux

I have a shared directory under windows set to full access for everyone. When I use mount.cifs it just hangs there, and when I use smbclient I get the following error? I can connects to share fine ...
0 votes
1 answer
2k views

Create CIFS mount read/write for multiple users in group users

I can't seem to figure this one out. Running on CentOS 7, I'm trying to get a CIFS mount working using my FStab file. //<ip>/downloads /mnt/downloads cifs user,gid=100,forcegid,rw,auto,username=...
5 votes
1 answer
24k views

Use SMB2 protocol while mounting CIFS Share on a Unix client

I am trying to mount a CIFS share on my Unix client. My Unix client has Samba installed. # smbstatus Samba version 3.6.9-151.el6 sudo mount -t cifs -o domain=domain_name,user=user_name,password=...
2 votes
1 answer
3k views

Connecting to Windows share "Name not unique on network"

I'm trying to connect from a stock Debian 8 or 9 Desktop to a Windows shared folder, by clicking "Connect to Server" from Nautilus or Cinnamon using a Server Name: smb://servername/shared which ...
3 votes
2 answers
4k views

Linux (Ubuntu) CIFS mount with restrictive umask

I'm trying to mount a NAS share using CIFS in Ubuntu 14.04. This is my personal share and I'd like to make sure that files are readable only by me and not by anyone else logged in. So ideally, I'd ...
2 votes
1 answer
673 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 ...
1 vote
1 answer
2k views

Address LAN computers by name over Open VPN

Using OpenVPN client on Windows 7 laptop to access my home network. Workgroup on the laptop is "MyWorkgroup". Home network: Wifi router on 192.168.1.1 - Linksys EA6500 with USB hard drive plugged ...
1 vote
0 answers
2k views

Mount fails with "no such device"

I have a network share on a fritz box router. I was able to mount it from a raspberry with /etc/fstab //FRITZ-NAS/myBox/SanDisk-Cruzer /mnt/fritz_box cifs defaults,noauto,nofail,credentials=/root/...
4 votes
2 answers
13k views

How to force autofs cifs (samba) to use smb version >= 2.0

I'm using autofs mounting of a samba share from a Windows 10 (Creators edition). Microsoft patched its OS to no longer accept smb version 1.0 sometimes in 2017. SomeFolder -fstype=cifs,rw,username=...
0 votes
0 answers
430 views

CIFS share: files getting locked with VIM but not with Nano

I have an heterogeneous share, between Linux and Windows systems, hosted on a NetApp. On Linux, I mount the share with those options: mount.cifs -o username=`logname`,dom=DOMAIN,cifsacl,multiuser,...
0 votes
1 answer
440 views

Keeping CIFS mount over unstable WiFi

I have a FreeNAS box that contains all of my music and movies. Since I want this box accessible to both myself (Linux desktop) and my wife (Windows desktop) I have the filesystems on this box exported ...
7 votes
2 answers
12k views

can we use unix hardlinks on a mounted windows share?

The ln command can create hard links on the mounted Windows share, but cp -al fails. Is this expected behaviour? I'm trying to save disk space by creating a copy on write style backups using cowdancer,...
1 vote
1 answer
751 views

Very weird behaviour with SMB/CIFS file copy over VPN

Reach/initial connection of the share is fine. Can render directory list. Can even download off the share (copy/cut from it, paste local). But.. trying to upload (copy/cut local and paste there) sees ...
0 votes
1 answer
559 views

SMB/CIFS pipelining

Is pipelining a feature of the SMB/CIFS protocol? I found that SMB2 does have a pipelining mecanism but no clear answer is available for the previous version. I have a network capture with several SMB ...
0 votes
0 answers
2k views

How to mount Windows share on Linux without using passwords?

I have looked at the manual of mount.cifs but it is a bit unclear to me which of the security methods (ntlm, krb5i etc) require password-based authentication, and which can do without. I have a ...
1 vote
0 answers
3k views

Connecting to SMB/CIFS share not working in Thunar on Fedora 25

I set up a system with the XFCE-spin of Fedora 25. The thing that is not working for me is connecting to samba (CIFS) shares using the default file manager Thunar. I click on explore network in the ...
1 vote
1 answer
665 views

weekly burst of smbd process_usershare_file errors: from where?

For the past few weeks, every Monday morning between about 6:30 and 7:45, in a burst lasting less than a second, my Ubuntu 14.04.5 LTS fileserver logs a spate of errors from smbd. ../source3/param/...
0 votes
0 answers
325 views

Error mounting university windows file server (mount error(13): Permission denied)

I am trying to mount my university's windows file server under linux. When I run sudo mount -v -t cifs -o ro,username=****@***.ca,password=*** //server.cm.uni.ca/ /media/marcel/server, I get the ...
1 vote
0 answers
765 views

autofs cifs mount(s) hang / become momentarily unreachable

I use autofs on my Fedora 25 desktop in order to access some cifs mounts on my work network. /etc/auto.master: /home/user/work/mountpoint /etc/auto.custom --timeout=43200 --ghost /etc/auto.custom: ...
0 votes
0 answers
684 views

Input/output error on specific files within a TrueCrypt container

I have some files within a TrueCrypt container that I can no longer access. IIRC, they were moved from another TrueCrypt container (FAT32) that resides on a USB memory stick (FAT32) to an NTFS based ...
1 vote
0 answers
803 views

Can't see/mount SMB (SAMBA 4) shares through terminal in Debian Jessie

I would like to mount a SAMBA share on my computer, where I'm running Debian 8 (Jessie). The SMB share is located at the server of my institute and works as a domain controller (it's a SAMBA 4). All ...
0 votes
0 answers
1k views

Why does cifs share show as used disk space on client

I have mounted a CIFS share on a Linux client machine. IF I copy 100MB of data onto the server, the client shows a drop of 100MB in disk space. Are the files on the server replicated to the client? ...
5 votes
2 answers
11k views

Cannot access a remote share which in itself is a symlink to a remote share

I have this scenario: Domain A: A file server provided by a third party, which provides a volume available thru CIFS. This file server does not have an external IP address. permissions are set to ...
2 votes
1 answer
2k views

Mounting Airport TimeCapsule on Synology with spaces

I'm trying to mount my Airport Time Capsule on my Synology DS916+ NAS. However, it is not working for a directory that has a space in it. There are two folders on the TC "Data" and "User Name". I can ...
1 vote
0 answers
148 views

Read/Write directly to Linux files from Windows using editor

Is there a way to mount and share a linux directory so Windows can access it? I would like to read/write directly to files from a text editor for quicker live development with Apache Running CentOS ...
0 votes
0 answers
1k views

SLOW CIFS/SMB file transfer for authenticated users

How to configure CIFS that local and domain users have fast transfer speeds? I do have massive performance issues using CIFS / SMB / Samba in combination with users. It's independent from Active ...
1 vote
1 answer
2k views

Mounting remote CIFs share using hostname

I'm trying to mount a remote Windows share on a VPS using the following command: sudo mount -t CIFS //cifs.example.com/sharename -o username=blah But this throws a wrong FS type error. If I ...
5 votes
1 answer
6k views

Mount cifs for 2 users

I would like to mount a cifs drive for 2 user accounts on a Linux server. I have no trouble mounting the cifs drive for me, or for sudo, but I need to mount it so that two users can access it: sudo ...
2 votes
1 answer
2k views

Yum repo on cifs mount

What I want to do Build my yum/dnf repository on a cifs share. Long version My windows server is my main file server, and I store my Support/Platforms/Korora22/ directory there for the time being. ...
5 votes
2 answers
9k 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=...
0 votes
0 answers
109 views

Permissions difficulty accessing remote '/' with CIFS

I'm having trouble accessing the root directory of another Linux machine. In my fstab I have two entries for the machine in question //ltotto/root /mnt/ltroot cifs auto,users,credentials=/...
1 vote
0 answers
124 views

What are my options for setting user permissions with a CIFS share?

I have a NAS that only allows CIFS mounts on a Linux machine. I would like to set it up on a server, that I don't have root access to (but can ask every once in a while the root to do something on the ...
0 votes
1 answer
785 views

Translate network mount command to fstab

I've got the following working mount command: mount -t cifs -o credentials=/home/git/.smbcredentials,sec=ntlm //SRV010/Service\ Center\$/Informatie\ Management/Development /home/git/repositories ...
2 votes
0 answers
1k views

Mount subfolder on cifs share fedora 23

I have a home folder on windows box at work. //SERVER/SHARE/hq/USERNAME username is what i want to mount. SHARE is the share. HQ is folder I don't have access to or SHARE directly it seems. I can ...
user avatar