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
0answers
11 views

Token-auth-based network file access

We have some NAS devices currently exposed to employees via CIFS (active directory backend for user perms/groups). We are developing a Slurm cluster for processing access-restricted data. Up until now,...
0
votes
1answer
128 views

Mounting zfs network shares in Ubuntu LTS 20.04 using cifs- mount error(2): No such file or directory

I have 3 Thecus NAS servers: a N5500 (Firmware: 5.03.02), a N5200XXX (Firmware: 5.03.02), and a N5550, (firmware 2.06.02.5.cdv) each configured as RAID 5. The N5500 and the N5200XXX are using zfs and ...
1
vote
0answers
17 views

How to handle Win file server permissions when connecting from Linux?

Situation: We have a file server in Windows Server 2012 R2, and until now the workstations are running Windows. We are trying to use Linux in some workstations (CentOS 8), since all our apps run on a ...
0
votes
0answers
13 views

I would like to list all samba shares and the directories that they map to offered by the server

I have root on the machine in question and would like to list all share names next to the directories that they map to. I have had a brief look at smbstatus, and smbtree, but these don't quite seem ...
0
votes
0answers
32 views

How can I improve Samba speeds on many small files writes?

Samba Version 4.9.5-Debian smbclient Version 4.11.3 Arch Linux Encryption is off SSH tunnel is used (I get way better performance than when using Samba encryption or SSHFS) Default Debian config ...
0
votes
0answers
150 views

Arch Linux - Cannot mount SMB Share with mount.cifs, but gvfs and smbclient work

I am trying to access a NAS over a Cisco AnyConnect VPN. I can access it fine on: Macbook (Finder's "Connect to server") Windows 10 (Map Network Drive) Arch Linux gvfs (thunar and gio mount) Arch ...
2
votes
1answer
145 views

How can I mount a CIFS share from an MS-DOS computer

I am using 2 MS-DOS computers + 1 Windows 7 computer + 1 Raspberry Pi are connected to Cisco router through ethernet. I am easily able to map DOS shared folder in wWindows computer, \\DOSMCJB\DAT ...
0
votes
0answers
34 views

fstab mounting samba share - weird permissions/apparmor problems

Using a Proxmox VM, the network share is an LXC container in the same network. The mounting and the accessing works perfectly fine. I can see the files and have read/write access. Whenever I user "...
0
votes
0answers
35 views

mount CIFS share failed after FreeNAS server upgrade

I upgraded a FreeNAS server from Ver 9.X to the latest 11.3. Configuration has been saved prior the upgrade and restored on the new installation. Currently, a remote Linux machine is unable to mount ...
1
vote
0answers
99 views

set ACLs on a cifs mounted folder: possible?

In short: I have mounted a CIFS folder from a remote server. I would now like to share this folder with my local samba server, which is part of a domain, using windows ACLs. Is this possible? How ...
0
votes
1answer
206 views

cant get cifs to mount network drive during boot using fstab

Im trying to get a network share to mount on startup using cifs. I can get the share to mount after linux boots, but for some reason I cant get it to work when editing the /etc/fstab file. Here's the ...
0
votes
0answers
63 views

mount cifs samba blocks/freezes after every file

Ubuntu 18. I'm not sure why it's happening. If I "mount" via nautilus there is no such behavior (though overall it is slower than cifs by something like a factor of 2) You can tell that it's ...
1
vote
0answers
39 views

How to print samba share options?

Considering a standalone samba server. Looks like the number of share options goes over a couple of hundreds, like presented in https://www.oreilly.com/openbook/samba/book/appc.pdf. The options set ...
1
vote
1answer
339 views

“Stale file handle” on CIFS mounted share

So I have a Kali Linux 2019.4 box on which I run a monthly script that mounts 4 CIFS shares from which I go grab a couple of files. That script has always ran well without any issue, but since ...
0
votes
0answers
41 views

How can a macOS SMB share be mounted on Linux so that symbolic links can be created on it?

There is lots of conflicting information about it and it seems to depend a lot on the versions of various modules, and specific mount options. I'm not looking for the symlink "emulation" (mfsymlinks),...
1
vote
1answer
19 views

Same mnt but different rigth

I Have 2 server and the same mount ( CIFS windows machine ) but the files and folder print different permissions. Server1 redhat7 //10.XXX.XXX.XX/nas_usil 500G 460G ...
0
votes
1answer
58 views

how can I write to dfs share with different users other than mount user on the linux server

I want to write dfs share with active directory groups on the Linux server. I mounted CIFS with ad user who is in the same active directory group. When I write to the directory with other than mount ...
0
votes
1answer
29 views

bash expansion adding single quotes causing error

I have a command to mount a cifs fileshare. The share path and mount point are added with variables in the bash script like so; sudo mount -t cifs -o user="$USERNAME",cruid="$USERNAME",sec=krb5 "$...
0
votes
0answers
14 views

Mounting Network Share on Raspberry Pi seems to mount to local fs

I'm trying to configure a raspberry pi running osmc+tvheadend to use an external hdd connected to my home wifi router. I've set up the mount in /etc/fstab and when I run sudo mount -a I can then cd ...
2
votes
1answer
2k views

Windows share folder mount error: cifs filesystem not supported by the system

I am trying to mount a windows share folder that is on the local network on the windows ubuntu terminal The command is: sudo mount -t cifs //xxx.xxx.x.xxx/foldername /mnt/x -o user=username But I ...
0
votes
1answer
265 views

CIFS mounted on Linux from Windows shows corrupt/distorted images

I have mounted a Windows (NAS) folder onto a Turnkey-Linux server using cifs-utils. When viewing some of the images on the Linux side they will visually show distortion/corruption but will be fine on ...
0
votes
1answer
393 views

SMB CIFS OpLocks - where is the danger?

I had some CIFS messages in my dmesg output [15064.932559] CIFS VFS: Cancelling wait for mid 37736 cmd: 5 [15064.932592] CIFS VFS: Cancelling wait for mid 37737 cmd: 16 [15064.932610] CIFS VFS: ...
0
votes
0answers
17 views

CIFS shares sometimes gives “error: Could not load host key: /etc/ssh/ssh_host_dsa_key ” and the access to CIFS share gones for a period of time

CIFS shares gets inaccessible for a period of time. It gives the following output :- error: Could not load host key: /etc/ssh/ssh_host_dsa_key What can be the reason for this?
0
votes
0answers
295 views

mount error: Permission denied when trying to mount a samba share

I'm trying to mount a shared folder on my raspberry pi so I can share files between it and my laptop. However, I've had some issues. When I try to run sudo mount -t cifs //ANDREWS-LAPTOP/Share Share -...
0
votes
0answers
25 views

Cleanest way to monitor a CIFS mounted folder

I am looking for the best (as in most elegant, cleanest and less CPU hungry) solution to monitor a CIFS mounted folder in 2019 as all my searches ended up on pages older than 4 years. If not possible,...
0
votes
1answer
305 views

Unable to mount FSx on EC2 Ubuntu

I'm trying to mount Amazon FSx on Ubuntu using below command but getting an error as given below Command: sudo mount -t cifs -o vers=3.0,sec=krb5,cruid=Admin@test.com //fs-of760d3a18765yh8u.test.com/...
0
votes
0answers
14 views

Apply time zone offset when mounting a network folder

I’m mounting a Windows 10 share from Debian Linux with the following command: sudo mount -t cifs //192.168.0.11/z$/aaa /home/aaa/z -o 'username=****,password=****,uid=1000,gid=1000' -o vers=2.0 ...
0
votes
0answers
127 views

Facing issue while using “Publish Over CIFS Plugin” Jenkins plugin

I am using Jenkins on a Windows machine to build my .NET code and to publish artifacts on an IIS server hosted on a remote Windows server. In this process I followed the following steps: Installed ...
0
votes
1answer
2k views

“user” CIFS mounts not supported - fedora 30

I have a number of smb v1 shares. (I know that smbv1 is old and vulnerable but I can't change it) Because of the old smb protocol, I cannot use nautilus to open then. Instead, I used fstab entries to ...
0
votes
0answers
127 views

Linux fstab cifs NAS mount shows empty folder

I am trying to mount my Nas in my home directory. This is also no problem at first, but when I restart my laptop Linux mounts it as a network, but the folder is empty. It also only shows the available ...
0
votes
1answer
356 views

How to delete (rm) files on a CIFS mount when filename contains a colon (:) or other special characters?

On my LAN, I have a Synology NAS with encrypted shared folders. They are mounted on my Debian computer through CIFS (NFS is only available for unencryted shared folders). //<NAS_IP_ADDRESS>/<...
0
votes
1answer
20 views

CIFS isn't using the specified username when mounting

I am attempting to run a development server using Hyper-V. The goal is to do my front-end and back-end development in Windows while keeping my back-end files on the virtual server. The server is ...
0
votes
1answer
92 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 ...
1
vote
1answer
89 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
79 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
818 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
381 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 ...
0
votes
1answer
499 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 ...
1
vote
0answers
369 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
1k 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
504 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
392 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
614 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 ...
3
votes
2answers
2k 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
441 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
268 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
1answer
49 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 ...
0
votes
2answers
598 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 / ...
1
vote
0answers
534 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 ...
3
votes
0answers
2k 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
2 3 4 5