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
0 answers
45 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
59 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
  • 155
0 votes
1 answer
71 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
43 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
1 vote
0 answers
179 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
  • 11
0 votes
0 answers
193 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
29 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
59 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
461 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
0 votes
0 answers
122 views

dfs/cifs problems with kernel 4.18 (rhel8)

We have a rhel8 environment with several windows fileservers in dfs using cifs (auto)mounts. The mount is working when accessed, but when the cifs filesytems/mounts are in heavy use the cifs ...
Nico's user avatar
  • 1
1 vote
0 answers
571 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
0 answers
85 views

CIFS corrupts ext4 FS inside an image mounted on loop

I have a CIFS volume which contains an image file formatted with ext4 and mounted on loop. Sometimes the ext4 FS corrupt itself and the following lines shows in the logs: Jan 30 04:00:02 server1 ...
as3ii's user avatar
  • 1
0 votes
0 answers
232 views

Bind on cifs filesystem overmounts when using `mount -a`

I am using following cifs mount and bind: //myfiler.example.com/share /mnt/mount-path cifs vers=3.0,credentials=/root/.cred,gid=0,uid=0 0 0 /mnt/mount-path/folder-in-share /mnt/archiv ...
dahe's user avatar
  • 101
0 votes
0 answers
176 views

Mount CIFS is seeing directory on network share only if extra directory is created

On my CentOS ver 7, I have mounted drive from Windows Server 2019 (with shared name "Backup-disk"), and on this drive I have two directories ("A" and "B"). Now I have ...
DaniKR's user avatar
  • 103
0 votes
0 answers
145 views

Who really has this Office document on a NAS shared folder open?

I've encountered this before, but this is the first time I decided to ask about it. One of my managers (call them M) wanted to open an Excel document on a shared drive. Excel told them that user A ...
Spencer's user avatar
  • 197
0 votes
1 answer
254 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
152 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
126 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
317 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
  • 9
1 vote
0 answers
358 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
409 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,251
1 vote
0 answers
312 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
391 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
754 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
  • 567
0 votes
1 answer
417 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
587 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
561 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
645 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
405 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
2k 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
3k 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,278
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
248 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
514 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
20k 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
235 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
360 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
682 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
464 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
4k 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
4k 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
  • 155
1 vote
0 answers
744 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
839 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
  • 193
1 vote
0 answers
589 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
3 votes
0 answers
723 views

How to use systemd as automount for cifs when uids and paths needs to be set up on demand?

I'm trying to convert an autofs setup to systemd for user home dirs through cifs. In essence the problem is to provide the mount command with uid, gid, cruid and UNC per user account when the mount is ...
dragz's user avatar
  • 51

1
2 3 4 5
9