As of May 31, 2023, we have updated our Code of Conduct.

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
14 views

cifsmount on HP UX server results in DOS: Access Denied

We are trying to mount a Windows share to HP UX using the cifsmount command. We have successfully mounted a share from one server (Server A) but the share on another server (Server B) cannot be ...
user1025396's user avatar
0 votes
0 answers
81 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
11 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
0 votes
0 answers
319 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
52 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
169 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
112 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
77 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
  • 187
0 votes
0 answers
90 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
69 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
96 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
217 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
0 votes
0 answers
237 views

mount error(112): Host is down

I want to mount the shared folder from windows to raspberry pi. The goal is to save the images in shared folder after I captured images with pi camera. However, I have got mount error(Host is down). ...
MyatKaung's user avatar
0 votes
0 answers
237 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
252 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,161
0 votes
0 answers
309 views

Connect Windows device to SMB share via SSH tunnel with WSL

I need to connect to an SMB share via SSH tunnel from a Windows computer. I have a tunnel set up in Putty to go from port 8445 to myserver:445. There is no way to specify an alternate port for the ...
Dan's user avatar
  • 1
1 vote
0 answers
153 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
252 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
559 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
  • 557
0 votes
0 answers
203 views

Share folder on Linux to Windows clients with external ldap server authentication

Our main institute has a LDAP centralized based authentication for the entire university. It uses LDAP Directory Server with LDAPs on port 636 and it allows us to use it for centralized authentication ...
Andre Luiz Paiz's user avatar
0 votes
1 answer
318 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
517 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
317 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
813 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
870 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
481 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
287 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
1k 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
834 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
2k 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,198
1 vote
1 answer
905 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
222 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
416 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
14k 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
191 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 UserA@DomainA.local Server FileServer FileServer.DomainA.local ...
Chris Stankevitz's user avatar
1 vote
0 answers
292 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
612 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
423 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
3k 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
  • 307
1 vote
1 answer
3k 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
693 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
619 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
500 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
4 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
  • 173
2 votes
0 answers
596 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
  • 41
0 votes
1 answer
85 views

Apache to share a /mount where the web page is stored using the networked connection. This worked using xampp ugh. Now using ubuntu

So this page Where to put the web pages in /var/www/ or /var/www/html/ in apache? is similar to what I am asking. The rules wont allow me to ask joining questions to expand on that discussion. There ...
Chris Owen's user avatar
1 vote
0 answers
2k views

Unstable CIFS mount on CentOS 8

We recently created several centOS 8 serveur for running some springboot applications, which mount several directories from a windows server. Mount is working, but we are getting lots of errors at ...
felix's user avatar
  • 11
0 votes
1 answer
862 views

Incorrect Folder Pemissions on CIFS Mount

(I'll start by acknowledging that there are lots of questions and answers out there about mount permissions and I have tried a lot of the proposed solutions without success.) I'm on Ubuntu 20.04 and I'...
nCMr0l6OubNHphE1X8ya's user avatar
1 vote
0 answers
222 views

SFTP linux server with windows AD file server backend

I need to configure an sftp server (sftp-server) to give access to a Windows shared folder using Windows AD authentication (Freeipa is already configured in sftp-server) and permissions configured on ...
Alex Trivel's user avatar

1
2 3 4 5
9