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
1
vote
0answers
9 views

FRITZ!Box Samba share works using smbclient but not CIFS

I am trying to mount a disk attached to my FRITZ!box router NAS on my Manjaro Linux. FRITZ!box OS only supports SMBv1.0 at the moment, so I need to force the old protocol. The following commandline ...
0
votes
0answers
11 views

CIFS auto unmount after Server shutdown

I have a CIFS mount setup. An example location is /mnt/server. The mount is properly configured in /etc/fstab, and mounts as expected. The Server however has a quirk, that it will automatically ...
0
votes
0answers
8 views

Re-Share a cifs mounted directory as NFS

I'm trying to "re-share" a cifs mounted directory via nfs. I need to do this since I need to mount this directory in Kubernetes (RKE Rancher) and Rancher does not support Cifs-Volume (as far ...
0
votes
1answer
18 views

NFS mount based on user

I have a linux station (ubuntu 20.04) and I have a mountpoint /share (that is currently mounted as CIFS but I could also use NFS if needed). I’d like that two different users with local accounts, ...
0
votes
1answer
10 views

Does pam_cifscreds module work with sudo access?

I have an RHEL (7.9) server with a remote drive mounted as a multiuser CIFS volume. With multiuser CIFS shares, users need to execute an additional command (cifscreds add) in order to access it. This ...
0
votes
0answers
19 views

How to list files and folders using linux cifs server?

I am getting NT_STATUS_OBJECT_NAME_INVALID listing error when i am trying to list files and folders of linux cifs server using smbclient command.However,it is working fine when i am trying with ...
0
votes
0answers
617 views

CIFS VFS: cifs_mount failed w/return code = -22

I currently face an issue that I wasn't able to connect to a Windows Share. Following my used command, fstab doesn't helped either, it will get the same error. The kernel log isn't useful @ all. The ...
1
vote
0answers
20 views

Error splicing files when copying from NAS

This is a desperation repost of this issue I created way back in the Ubuntu forums and never fixed. I'm getting this error message while copying files from my Samba/Cifs NAS to my drive. I'm running ...
0
votes
0answers
14 views

how can i specific data offset option in smbclient command?

How can i set data offset value in smbclient get command? I have a scenario where i need to download file from where it fails. Here is the command i am using as of now: smbclient -U 'username' -c 'get ...
0
votes
0answers
17 views

Poor SMB performance with SoftEther VPN

I'm trying to setup a VPN connection for SMB shares and I'm finding a high degree of variability in performance with a lot of "rubber banding." The VPN host is a well-spec'd modern i5, 16GB ...
0
votes
0answers
57 views

access windows shared folder from apache web server

I'm trying to use php command scandir() to get a list of files into a folder and manipulate those files in my frontend. If the folder is local it's ok, but I need to get this folder from a windows ...
0
votes
0answers
478 views

Mount Windows folder on Hyper-V Ubuntu without user password

I have a Windows 10 Pro host with Hyper-V and Ubuntu 18.04.4. I want to mount a Windows folder in the VM to enable file exchange, for which I used this tutorial. Unfortunatly when I try to run the ...
2
votes
0answers
58 views

Samba CIFS mount only works after SSH connection to samba server

CIFS mount of my remote samba share for some reason unmounts from client in the middle of nowhere and doesn't mount back (log below) until I do an SSH connection from client to server, which, for some ...
0
votes
0answers
173 views

Reasons for Bad file descriptor error when working on cifs mount

When working on a shared cifs mount I sometimes get an error "Bad file descriptor". I often create temporary files, and either delete them or move to a different location. I cannot reliable ...
0
votes
0answers
12 views

CIFS mount freezes system when server loses connection

In my local network I have a NAS and mount some CIFS/Samba shares via fstab like this: //serverip/sharename /mount/point cifs cred=/credential/path/.smbcredentials,uid=1000,sec=ntlmssp,vers=3.0,...
0
votes
0answers
27 views

eliminate win10 network mapped driver disconnect delay

I have a smb server on linux, and I connect it using net use command on win10. When I monitor net traiffic using wireshark, I find that when using net use Y: /delete to disconnect the mapped drive, ...
0
votes
0answers
19 views

cifs mounted directory writing at the same time

i have 2 suse and 1 windows server. windows server has a folder named "backup" and I mounted this folder to my 2 linux machine via cifs. (Suppose linux' names are abc and xyz) This 2 ...
0
votes
0answers
141 views

How to find UID and GID for Windows Server NFS shares?

I am currently setting up a windows server to host a NFS share which other windows and linux machines will access, and have set it up to use anonymous unmapped user authentication. However, unlike ...
0
votes
1answer
366 views

Connecting to network share from Windows Server fails with “organizations's security policies block unauthenticated guest access”

I am trying to connect from Windows Server to CIFS share. Either using command net use z: \\ip\sharename /USER:user pasword /PERSISTENT:yes or using mouse click on This PC and then *Map Network Drive&...
0
votes
1answer
103 views

How do I mount a filesystem without the mount point changing owner to root?

I have two samba shares on a remote server (Debian 10, stable) on my home network. On my laptop (Debian 10 stable), I would like to automatically mount these shares to my local filesystem tree. To ...
0
votes
0answers
17 views

Linux CIFS issue

Hello guys during the startup of my debian6 machine, the shell show me this : [ 47.887954] CIFS VFS: Error connecting to socket. Aborting operation [ 47.888216] CIFS VFS: cifs_mount failed w/...
1
vote
0answers
846 views

Mount CIFS - permission denied

I try to mount a folder shared by Windows 10. The Win10 client is part of a corporate domain. The user login is also part of the domain (local users are forbidden by domain policy). Using smbclient , ...
0
votes
0answers
45 views

Permanent mount to NetGear Nas CIFS share - Problems

Sorry for the boring problem but I'm pulling my hair out. I've read loads and tried loads from various linux sites but I just can't seem to get it right. I'm trying to mount a CIFS share I have on a ...
2
votes
0answers
48 views

can't mount windows cifs share from ubuntu

I'm trying to mount a folder on a Windows 10 host from Ubuntu 18. Flat wired network, 192.168.1.xxx. Let's keep things really simple. On Windows, net share shows (among others) the default share ...
0
votes
0answers
15 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
316 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
19 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
1k 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
536 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
52 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
815 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
213 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 ...
1
vote
0answers
40 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
1k 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
134 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
232 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
34 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 "$...
4
votes
1answer
8k 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 ...
4
votes
2answers
930 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
1k 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
1answer
526 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/...
3
votes
1answer
5k 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
192 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
778 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
23 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
146 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
113 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 ...
2
votes
0answers
105 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 ...
1
vote
0answers
486 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 ...

1
2 3 4 5