Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
2answers
12k views

SSH tunnel on Windows 10 to Linux Samba

I know This question has been asked a few times already but I think my problem might be slightly different. Maybe I'm not understanding the fundamentals of the issue. I have a Linux Samba share that ...
2
votes
2answers
720 views

Automount Windows shares on Ubuntu 18.04 using a Kerberos ticket

I've been struggling with this for a few days now. I'm trying to integrate a Ubuntu 18.04 workstation in a network that is mainly Windows. Authentication is done by Active Directory on a server ...
0
votes
1answer
23 views

Change SE Linux context label of a specific folder inside a cifs mount

I have cifs mount on my setup mounted via /etc/fstab with context set to system_u:object_r:cifs_t:s0. There are some specific folders that I want to override default context to set public_content_t ...
2
votes
3answers
19k views

samba mount failed with “CIFS VFS: cifs_mount failed w/return code = -6” and “is not a valid block device”

Environment: server: Windows client: RHEL 6.7 (samba-common-3.6.23-20.el6.x86_64) or Debian Wheezy (samba-common-bin 2:3.6.6-6+deb7u7) Client's /etc/fstab: //10.0.0.10/share/ /media/smb cifs ...
1
vote
1answer
33 views

Im making a plex server on a raspberry pi, but i am unable to mount a network drive

I write the following command: sudo mount -t cifs -o username=XXX,password=XXX //192.168.0.29/mp3/ /home/pi/DRIVE/share and it returns with the following error: mount error(22): Invalid argument ...
1
vote
0answers
29 views

What are the differences between illumos kernel CIFS, Linux kernel CIFS and Samba? [closed]

I'm aware of the comparison between kernel CIFS and Samba package in illumos. What are the differences between illumos kernel CIFS and Linux kernel CIFS? Moreover, I read that kernel CIFS is the new ...
0
votes
0answers
64 views

CIFS Windows share mounts fine using mount.cifs but gives Error 13 with fstab

I'm having issues getting my Windows file share to auto mount in Ubuntu Server 18.10. Running sudo mount.cifs //192.168.1.96/Media /mnt/Media -o username='username@live.com' will prompt for a ...
1
vote
0answers
110 views

Can mount CIFS share but not read / write to it

I have a GNU/Linux (Xubuntu) guest running in Hyper-V on a Windows 10 Pro Host. I'm trying to mount a folder shared by a host locally. What seems strange to me is that I can mount the folder but not ...
3
votes
1answer
6k views

Issue with SMB/CIFS on OpenMediaVault 3.0.59 with Windows 10 PC?

I have installed OpenMediaVault 3.0.59 on my Rpi3. I'm trying to use it as a NAS for my other Windows 10 PC. But even after enabling the SMB/CIFS, it does not shows up in the network of the Windows 10 ...
29
votes
8answers
158k 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 ...
2
votes
1answer
8k views

Linux Force Default Mount CIFS Version to 3.0

I'm running Ubuntu Server 16.04.3 LTS 64-Bit with cifs-utils installed, as a VM, on a VMWare ESXi 6.5 hyper-visor. I have a regular network share setup on Windows Server 2016. The objective is to ...
0
votes
1answer
190 views

CIFS mount from fstab not working

This method used to work with RHEL 5, and 6, so I used to just add this Line in /etc/fstab: \\192.168.1.50\V$ /mnt/N cifs user,uid=500,rw,suid,username=Administrator,password=password 0 ...
0
votes
0answers
8 views

Manager CIFS/Windows folder permissions from Linux

We are creating CIFS shares from a simple custom Admin Website (hosted on a Ubuntu 18.04 Host running Apache and php) The shares are located on a NetApp Fileserver and are created via the the ...
1
vote
0answers
153 views

Wrong user in “File is locked for editing by another user”

We use CIFS shares to store data including Microsoft Office files. If user tries to open Microsoft Office file which is already opened by another user, there is a message Filename is locked for ...
-1
votes
1answer
119 views

Run command to mount a CIFS volume on boot on a Raspberry Pi

I am trying to make it so as soon as my Raspberry Pi boots up, it runs the command below so I can mount the drive on startup. sudo mount -t cifs -o username="USERNAME",password="PASSWORD",uid=$(id -u)...
0
votes
1answer
123 views

Systemd: Starting of *.automount not supported

I'm running ubuntu 18.10 as lxc-container at proxmox 5.2 on my homeserver. I want to automatically mount a cifs share which i added to /etc/fstab file: //fileserver.lan/Serien /srv/storage/serien ...
-1
votes
1answer
36 views

machine name resolution over SMB on windows

In order to resolve IP to hostname on my environment, I can do it by 3 ways: DNS, Netbios and SMB. to test DNS i use "ping -a IPAddress", To test netbios i use "nbtstat ", How can i test smb ? I ...
0
votes
0answers
257 views

Gain write access on multiuser SMB share with credentials of different user via cifscreds

I have a SMB share with 2 users (which are identical on both server and client): 1 is in the write list, 1 can only read. The share is mounted as multiuser with the credentials of the write-user. I'm ...
0
votes
1answer
98 views

How to find out from a client if a smb/cifs connection is encrpyted?

SMB can be encrypted in its different versions and can be activated as described on https://docs.microsoft.com/en-us/windows-server/storage/file-server/smb-security . On the server the encrytion can ...
0
votes
0answers
92 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 ...
0
votes
0answers
37 views

Rsync displays wrong speed (grossly overestimated)

I realize that there are many threads about rsync. In any case, I did not find anything about a gross overestimation of displayed copy speed. At this moment, speed optimization is a the priority, ...
8
votes
3answers
13k views

Mount error(5):Input/output error on mount

I am getting mount error (5): Input output error on mounting to cifs windows share. Command executed: sudo /bin/mount -t cifs //server/folder /mnt/folder/ -o username="domain/username",password=...
9
votes
2answers
10k 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,...
0
votes
2answers
228 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
1answer
40 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
1answer
11k 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
0answers
255 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
1answer
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
1answer
202 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
0answers
897 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
0answers
736 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
4answers
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
0answers
339 views

Mount a cifs partition in Ubuntu 16.04 not working

I'm trying to mount a cifs partition from a Windows Server 2012 Essentials to my Ubuntu server 16.04. When i run the command /sbin/mount.cifs //192.168.0.2/d$/Dropbox/0-sbezavel02/dados/ /dados/...
0
votes
2answers
234 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
1answer
237 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 ...
2
votes
1answer
4k 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
1answer
892 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
0answers
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
1answer
834 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 ...
11
votes
2answers
10k views

Bash on Ubuntu on Windows Mount Network Share

I have updated Windows 10 and installed the new bash on windows. However on both PC's I have tried I am unable to mount a network share. I've tried many different ways to mount the share: sudo ...
0
votes
1answer
411 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=...
3
votes
1answer
890 views

ls shows file, but when trying to read it is says it doesn't exist

I have a CIFS mount on my PC and the ls command shows me a certain file is there: [bf@localhost dirX]$ ls -la total 4096 drwxr-xr-x. 2 bf bf 0 20 okt 09:12 . drwxr-xr-x. 2 bf bf 0 5 sep 11:...
5
votes
1answer
19k 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
1answer
2k 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 ...
1
vote
2answers
3k 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 ...
0
votes
2answers
661 views

fstab cifs share not mounting on reboot

I have a cifs share connectin a windows folder to a debian machine, however I cannot get it to mount on boot using fstab. I have the credentials stored in a file with 600 permissions. //192.168.1.72/...
2
votes
1answer
153 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
1answer
363 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 ...
6
votes
1answer
2k views

How can I view disk quota usage on a CIFS share from a Linux client?

I have several Linux clients that mount a share on a remote machine running Windows Server 2012. The relevant line in /etc/fstab looks like this: //server.address.com/share /media/share cifs rw,user,...
1
vote
0answers
496 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/...