Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [cifs]

The Common Internet File System (previously known as SMB) is a layer 7 networking protocol providing file and device sharing across local networks. It was originally designed and implemented by Microsoft as part of the Windows operating system.

Filter by
Sorted by
Tagged with
0 votes
1 answer
61 views

Backup files not saved with original user

I'm using rdiff-backup to backup from local filesystems to a remote Hetzner server with a mounted remote storage box. The storage box is mounted on the remote server as a cifs filesystem. The backup ...
Clodoaldo's user avatar
  • 435
0 votes
0 answers
17 views

About the time it takes to change file permissions

I am considering changing the folder permissions on a NAS running on Windows from read-only for everyone to writable. The file count is 400,000 and the data size is 6TB. How long do you think the ...
kyoro's user avatar
  • 1
0 votes
0 answers
43 views

How to deal with uninterrumpible processes due to CIFS mounted filesystem

I am observing very high IOWAIT time on the CPUs of my server: top - 14:24:20 up 846 days, 14:14, 2 users, load average: 14.42, 14.33, 14.57 Tasks: 345 total, 1 running, 341 sleeping, 3 stopped, ...
José D.'s user avatar
  • 117
0 votes
1 answer
60 views

Unable to query or rm file from an smb mount, but it appears using ls

Problem I have a file that cannot be removed or queried in, but it does appear using ls and does not allow overwriting it. # ls -l -rwxr-xr-x 1 root root 151040 Mar 22 21:55 export.mb -rwxr-xr-x 1 ...
ricekab's user avatar
  • 123
0 votes
0 answers
46 views

How to follow Linux (minshall french) symlinks in windows

I have a CIFS drive mounted in linux and Windows with the following, respectively, sudo mount -t cifs -o mfsymlinks,cred=/home/user/.cifs_user //server/folder /mnt/test net use M: \\server\folder /p:...
Tom's user avatar
  • 101
0 votes
0 answers
140 views

Is it possible to limit the size of a CIFS/SMB share when mounted?

I have one big 5 TB (and growing) CIFS/SMB share stored on HDD (RAID) on one centralized server for main storage (and backup) and plan to use several additional Linux servers (as proxies) where I ...
kataba's user avatar
  • 1
0 votes
0 answers
132 views

Multiuser SMB Mount on Red Hat: Users Seeing Each Other's Folders Despite Separate cifscreds

We are attempting to mount a Windows file system on a Red Hat 9 machine. This Windows file system contains hundreds of accounts with finely tuned access rights. We are trying to implement the ...
Vincent Guyader's user avatar
0 votes
1 answer
1k views

Can't connect cifs share : 128 key has been revoked

Since 1 month, i can't connect to my DFS share from any Linux server. [root@server /]# mount -t cifs //server/share/saves /mnt -o username=user,domain=domain.com Password for user@//server/share/...
Alex Lum's user avatar
  • 165
0 votes
1 answer
278 views

Quota for samba storage

I have a Hetzner StorageBox and I want to use it for my users. I can access it using FTP/FTPS, SFTP/SCP, Rsync/BorgBackup, SMB/CIFS, and HTTPS/WebDAV. I've successfully mounted it with CIFS on my ...
Pouyan Danesh's user avatar
0 votes
0 answers
173 views

Alpine docker autofs install for dynamic dotnet cifs access

I am trying to access a network share with specific credentials. It's to be used from a dotnet application that I am running in docker. My research conclusion is that autofs is the best way to do ...
Tewr's user avatar
  • 123
3 votes
0 answers
715 views

Remote filesystem, performance and caching (davfs vs cifs vs sshfs)

I'm hosting files on a Hetzner Storage Box. As for mounting those remotely, i have the choice between WebDAV, CIFS or sshfs. Once mounted, those files will be accessed by liquidsoap. The problem here ...
Domovoy's user avatar
  • 31
0 votes
0 answers
631 views

Is mount.cifs (SMB) secure with `seal` and `sec=ntlmssp`?

I'm using the csi-driver-smb driver for Kubernetes to mount SMB volumes. Everything works well, but now I'm reading that the default security mode is sec=ntlmssp. I'm worried, from what I read online, ...
xaa29221's user avatar
0 votes
0 answers
48 views

Is there a web frontend for cifs/smb like Synology Filestation?

I´m looking for a Web-Frontend to browse, download and upload files exported from another Server via SMB. It has to offer ldap/AD-login for Users and honor the permissions from the Share. I know most ...
Jochen's user avatar
  • 1
0 votes
0 answers
131 views

CentOs fstab mounted cifs folder is empty

I have a folder on my nas mounted in my fstab: //192.168.1.4/datarr /mnt/datarr cifs username=plex,pass=mypw,uid=1000,gid=999,nobrl 0 0 This was working fine before. Verified in terminal and also ...
Matthew Winter's user avatar
0 votes
0 answers
726 views

Unable to mount CIFS share using mount.cifs using AD credentials on Centos 7

I'm trying to mount a CIFS share from a storage array on a Centos7 machine, and I'm failing miserably. sudo mount -t cifs -o vers=2.1,user=domain/myuser //storagearray/Server_Backups /tmp/dbshare/ [...
mrlitsta's user avatar
  • 101
1 vote
0 answers
829 views

How to set up remote home folders on Ubuntu 22.04 using CIFS

I'm trying to set up remote home folders for Ubuntu 22.04 workstations. These workstations are joined to an AD domain using sssd and krb5, and users sign in using their AD credentials. I'm also using ...
maxdownunder's user avatar
0 votes
1 answer
559 views

Mount smb remote storage on debian with local disk caching using FS-Cache for CIFS

I am trying to connect a smb remote storage to my debian server and use the available space on the local disk as a cache using FS-Cache for CIFS. I have already tried the following code but it doesn't ...
dami3n's user avatar
  • 1
1 vote
0 answers
218 views

Finding resources about switching CIFS from soft to hard mount

We have some NFS shares and smb CIFS shares mounted over TCP/IP on our RHEL 7 machine. The shares are part of a HNAS that sits on a VSP. As per default the NFS shares are mounted with the "hard&...
DZet's user avatar
  • 121
1 vote
0 answers
163 views

Samba server issue with mount point being owned by root instead of 'force user' specified in smbd.conf

I've created a samba share on an ubuntu server called teslausb with the following lines specified in smbd.conf: [teslausb] comment = John's home share on Ubuntu path = /mnt/sdb1/teslausb ...
gyrex's user avatar
  • 11
0 votes
0 answers
393 views

My samba share does not keep permissions when moving files onto it. What am I missing?

I have a samba server running on a debian host so I can share an specific directory with an ubuntu client machine. This directory on host has no files on it. Samba config on host is as follows: sudo ...
gelcom's user avatar
  • 1
1 vote
0 answers
417 views

Kerberos ticket timeouts with sssd and cifs shares

We are integrating Linux machines into our Active Directory infrastructure. It works quite fine, users are logging in with their AD-credentials, and get access to cifs-network-shares via PAM-mount. ...
Niels Jespersen's user avatar
1 vote
1 answer
502 views

cifs mounts with wrong uid, gid (buster -> bullseye)

Context : Existing debian buster acting as CIFS / SMB client Problem : After migration from buster to debian bullseye, mount point is still working but uid and gid option are ignored at the filesystem ...
Cerber's user avatar
  • 1,261
1 vote
0 answers
409 views

Linux mount to FSx using AD user disconnects after interval; initial mount works but message HOST IS DOWN occurs after some time

When I run the mount command I’m able to connect/ls to the share until, what appears to be the ticket renewal, timing occurs. Then I get host is down. I have looked through all the suggested similar ...
Robel Robel Lingstuyl's user avatar
1 vote
0 answers
530 views

CIFS getting mounted multiple times

I mount the cifs export onto my server using this : mount -t cifs -o rw,noperm,nounix,sec=ntlmssp,credentials=/root/.cifsauth,vers=2.1 //10.151.26.10/MyServer/MyMount /mnt/cifs This results in at ...
hirt1980's user avatar
1 vote
1 answer
891 views

CIFS Mount Share: Permissions on one File Seemingly Corrupted

I have a multi VM Windows (Server 2019) solution, hosted in a datacentre, with services which require a Redis cache. Due to security concerns, the Windows fork of Redis is not allowable. Therefore, I ...
Luke's user avatar
  • 577
0 votes
1 answer
490 views

Slow rsync from Linux to Windows

I backup files using rsync from RHEL Linux to Windows 10 Pro using SMB/CIFS share. It works fine except it is much slower than Linux to Linux. Both computers are fairly modern Dell OptiPlex, having 6-...
Vinod Gupta's user avatar
0 votes
1 answer
618 views

Fedora 36 Workstation vs Fedora 36 Server

The description of the environment might sound complicated at first, but it is a typical small office setup -- Windows Domain, Windows and Linux workstations, a few NAS. I have two machines that are ...
Chris's user avatar
  • 11
1 vote
1 answer
767 views

dns cifs share entry in fstab not re-mounted on IP change, while used by smbd

I set up a CIFS share on my ubuntu Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 using an fstab entry: //mystr.myserver.com/backup /mnt/mystr cifs iocharset=...
Flo's user avatar
  • 156
0 votes
0 answers
1k views

Mount error (112) - Host is down, specifying SMB protocol version does not resolve issue

Hoping someone can help. I have previously been able to mount a local network drive to my server (was running Ubuntu 16.04.7, now running 18.04.6). However, recently when I try it gives the following ...
Magpie's user avatar
  • 1
0 votes
0 answers
1k views

I can't mount windows folder in centos through mount -t cifs

everyone! I have windows folder. This folder is available from my windows 10 OS. At the server with Centos 8 I did: sudo mkdir /mnt/sbsp sudo mount -t cifs //bk.local/BurgerKing/NetDisks/K/Бухгалтерия/...
Makar Pogorelov's user avatar
1 vote
1 answer
838 views

Can't access folders with special characters on mounted windows cifs share

I've got an issue on a Debian(11.3) server we host, I mounted a windows server share through cifs and fstab but when I try to access or list a few folders which contains special characters like "...
chnateag's user avatar
1 vote
0 answers
510 views

Files remaining locked after writing using mount.cifs

We have a server running RHEL 8.3 and connecting to a backup server running windows server running windows server 2016. We connect from RHEL to server using the command: mount.cifs \\SMCFILE\SMC$\...
user999684's user avatar
2 votes
2 answers
3k views

RockyLinux: unable to load cifs module

I have installed RockyLinux 8.5 and am trying to mount a directory via cifs. I get the following error message: # mount -t cifs -o user=<remarked>,domain=<remarked>,password=<remarked&...
Volker Raschek's user avatar
0 votes
2 answers
1k views

Rsync always failing at the same point

I made a script for my Proxmox host to copy its daily backups to another machine (running Windows Server 2019). The script mounts a CIFS share and runs this rsync command: rsync -aqzP --delete --...
alex3025's user avatar
1 vote
1 answer
4k views

Mounting Azure Files in Azure App Service

Summary I have an Azure App Service running a custom container. When I bind a path to an Azure Files share my container stops working. Looking at the Container Issues logs, I see the error: [BYOS] ...
JohnLBevan's user avatar
  • 1,322
1 vote
1 answer
1k views

Is UID required when providing a GID in an fstab entry for an ntfs drive?

I have an Ubuntu Server 20.04 installed on a Raspberry Pi 4. I am trying to mount a hard drive that should be accessible by two different samba users (user1, uid=1001 and user2, uid=1002). I created a ...
Prateek Verma's user avatar
1 vote
0 answers
259 views

Please help me understand mounting cifs for domain group

I have samba ad dc and on a different member I have a file server. Domain Controller = Debian 11 (DC01) Domain Member (File Server) = Fedora 34 (FS01) Domain Member (Workstation) = Fedora 34 (F01) ...
Rob Campbell's user avatar
0 votes
1 answer
580 views

Ubuntu 18.04 multi-AD-User mount share in /home

I have an Ubuntu 18.04 server which is joined to our windows domain. I have set up so users can log in to the server using their AD creds which is working great. I also set up script that mounts a ...
TL_Arwen's user avatar
4 votes
1 answer
25k views

No write permission on mounted CIFS drive

I'm on a Linux machine trying to mount an SMB share inside a big network via my Active Directory username: mount -t cifs -o username=myuser,domain=mydomain //server/share /mount/path After the ...
R-obert's user avatar
  • 141
1 vote
0 answers
252 views

Forest trust: SPN mismatch for non-fully-qualified name

Setup All computers running Windows Server 2019. Domain A Item Value Fully Qualified Domain Name DomainA DomainA.local User UserA [email protected] Server FileServer FileServer.DomainA.local ...
Chris Stankevitz's user avatar
1 vote
0 answers
407 views

Modify folder permissions of parent directory that were automatically created by autofs

I am currently following this guide to setup CentOS 8 to automount samba shares. I am aware that we can change autofs auto mounted folders permissions using uid=...,gid=...,file_mode=0770,dir_mode=...
Vince Jerald Villamora's user avatar
0 votes
1 answer
728 views

Unraid share fails to mount on OpenWRT using mount.cifs?

So I have an Unraid machine with some shares on it and I would like to be able to mount this share on my OpenWRT router for backing up/transfering files onto the router (avoids having to plug-in/...
Kris Rice's user avatar
1 vote
1 answer
521 views

Linux cifs share allow different user than mounted/masked uid to do cp -p

I have a specific linux-server that runs several batch jobs at night creating files and copying them to various locations on a NAS, previously mounted with NFS but as of lately with CIFS. The reason ...
Kalle Ling's user avatar
1 vote
3 answers
6k views

Clear cached authentication for network share

Context: I map a cifs share in windows using NTLMv2 authentication, as the legacy server doesn't support kerberos. I am not prompted for login: net use S: \\server.domain.com\share /persistent:yes The ...
Cpt.Whale's user avatar
  • 412
1 vote
1 answer
5k views

Connection to Windows SMB share works through smbclient, fails to mount via mount.cifs

I'm trying to access a Windows Server 2019 share (inside a domain) from a CentOS6 host. I can browse the share via smbclient, but mounting fails: Status code returned 0xc000006d ...
dkd6's user avatar
  • 165
1 vote
0 answers
802 views

Mounting Windows shares on Linux using cifs fails after CVE-2020-1472 update

A patch/update to Windows domain controllers to address the CVE-2020-1472 vulnerability at my organization is causing cifs-based mounting of shared drives to fail on Ubuntu Linux machines. The Linux ...
eben.english's user avatar
0 votes
1 answer
1k views

What are the mechanics behind a CIFS "readonly" mount?

I wrote a Linux (RHEL7) service that regularly polls a bunch of industrial machines for log files. To accomplish that, I've mounted the hard drives of the Win7 control computers of the machines on the ...
musbur's user avatar
  • 213
1 vote
0 answers
655 views

Can connect via smbclient but not mount CIFS

I have a weird problem: I can connect to a samba server (on a Mac) from a Linux machine using smbclient but do not manage to mount the samba share using CIFS The smbclient command which works is: ...
Rainer's user avatar
  • 129
0 votes
1 answer
1k views

Use autofs on host with Docker

I'm mounting CIFS share on a host to /mnt/nas using autofs. On the host I'm running a PHP Docker container. I can mount the /mnt/nas to this container using volumes inside a docker-compose.yml. The ...
Armand's user avatar
  • 143
5 votes
3 answers
1k views

apache2 sends corrupt responses when using a cifs-share

I have a problem with a ubuntu-instance (Ubuntu 20.04.1 LTS) and apache2 (Apache/2.4.41 (Ubuntu)). One virtual-host is serving some html-files and documents from a mounted cifs-share. The cifs-share ...
cklm's user avatar
  • 183

1
2 3 4 5
9