2022 Developer Survey is open! Take survey.

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

Can't access to a Windows Samba share from debian - NT_STATUS_ACCESS_DENIED listing \*

On my Windows 10 machine I have several samba share folders with a user assigned to my debian machine. On my debian machine, as I had already made cifs mount to a share folder (www) of the same ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
  • 1
0 votes
0 answers
25 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/Бухгалтерия/...
user avatar
1 vote
1 answer
57 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 "...
user avatar
0 votes
0 answers
17 views

SMB mounted filesystem from old windows machine shows all files with identical names

We successfully mounted on a linux server a folder shared by an old (XP) windows panel PC. # mount.cifs //192.168.X.Y/folder /mnt/folder Once we inspected the folder on client machine, we noticed that ...
user avatar
  • 135
0 votes
0 answers
25 views

Why does extracting a large .zst file cause another server with a cifs mount to come to a halt?

I have a large .zst file I need extracted on a backup server running CentOS. I begin to extract the file using zstd -d file_name.zst. I was going to then do tar -xvf file_name once that finished. ...
user avatar
0 votes
0 answers
15 views

CIFS shares on Centos7 are not available if single node of fileshare cluster goes down even if using FQDN for multi-node storage cluster

I am currently mounting cifs shares using /etc/fstab and 'mount -a'. Here is an example of one of the mount fstab lines (minus some specfic share naming info): \\filer-01.domainname.com\apps\...
user avatar
  • 1
1 vote
0 answers
34 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$\...
user avatar
1 vote
2 answers
311 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&...
user avatar
0 votes
2 answers
100 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 --...
user avatar
0 votes
1 answer
835 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] ...
user avatar
  • 1,082
1 vote
1 answer
210 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 ...
user avatar
1 vote
0 answers
129 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) ...
user avatar
0 votes
0 answers
141 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 ...
user avatar
0 votes
0 answers
166 views

Can't mount any SMB with vers greater than 1 on Debian

I'm trying to mount a samba folder from a Debian Bullseye but I don't want to use NT1. this is the line I have in /etc/fstab: //192.168.1.X/folder /media/folder cifs guest,uid=redacted,gid=...
user avatar
0 votes
0 answers
229 views

Samba D states - High CPU usage

Currently the server that is providing samba service to a bunch of clients (Linux and Windows clients) is having 100% CPU usage and high sysload. Looking through the process list (ps aux), there's a ...
user avatar
2 votes
1 answer
4k 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 ...
user avatar
  • 121
0 votes
0 answers
123 views

Jenkins linux master <=> windows build agent/slave WMI issue

I'm trying to set up a build agent on a windows host using this plugin in Jenkins: https://plugins.jenkins.io/windows-slaves/ I've configured the windows build agent/node on the Jenkins master, and ...
user avatar
1 vote
0 answers
59 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 ...
user avatar
1 vote
0 answers
98 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=...
user avatar
0 votes
1 answer
369 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/...
user avatar
1 vote
1 answer
239 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 ...
user avatar
1 vote
2 answers
802 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 ...
user avatar
  • 297
1 vote
1 answer
2k 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 ...
user avatar
  • 135
1 vote
0 answers
476 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 ...
user avatar
0 votes
1 answer
225 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 ...
user avatar
  • 183
1 vote
0 answers
282 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: ...
user avatar
  • 119
0 votes
1 answer
517 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 ...
user avatar
  • 143
1 vote
2 answers
717 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 ...
user avatar
  • 143
2 votes
0 answers
322 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 ...
user avatar
  • 41
0 votes
1 answer
61 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 ...
user avatar
1 vote
0 answers
1k 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 ...
user avatar
  • 11
0 votes
1 answer
178 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'...
user avatar
1 vote
0 answers
69 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 ...
user avatar
0 votes
2 answers
8k views

Mounting Windows share fails with STATUS_TRUSTED_RELATIONSHIP_FAILURE

I regularily mount a shared drive from a Windows 2012R2 server on a Linux machine (OpenSUSE Tumbleweed). Since last Thursday when updates where installed on the Windows server the mount fails with the ...
user avatar
  • 53
3 votes
0 answers
859 views

How to run kinit as root before automounting mutiuser cifs mounts?

Goal I'm setting up multi-user CIFS mounts in an Active Directory environment under CentOS 8.2. The storage server supports SMB3.1.1 protocol. Prerequisites I could easily integrate the system to the ...
user avatar
2 votes
1 answer
859 views

cifs automounts suddenly stopped working

Had been working for several years but has suddenly stopped. Obviously, something in the environment must have changed but I need some ideas for where to look Linux workstation automounting SMB ...
user avatar
0 votes
1 answer
1k views

log in fails when mount point changes

I am mounting a windows 10 share on a Centos 7 machine via /etc/fstab like so: //10.11.11.7/shared_folder /path/to/mount_point cifs user,rw,suid,uid=0,gid=1111,username=win_user,password=win_user,...
user avatar
2 votes
1 answer
622 views

samba server mount points stopped working on CentOS 8 install, error: Failed to start SPNEGO handler for negprot OID list

After about 6 months of smb working flawlessly on a home server, it is now failing to allow remote systems to mount with the following error message in /var/log/messages: Jun 27 12:53:10 bike3 smbd[...
user avatar
0 votes
1 answer
278 views

NAS drive mounted RW (in Linux) but some subdirectories are read-only

I'm mounting a set of NAS drives on my Linux box (Ubuntu 20.04) and everything seems to be working fine for most of the drives: sudo mount -t cifs //mynas/mydrive /mnt/mydrive -o \ credentials=/...
user avatar
4 votes
1 answer
149 views

Cloud Storage Provider with file handles

Is there a cloud storage provider that provides file handles similarly to CIFS/SMB? We are using Dropbox and we would like to receive a warning when a file is opened by someone else (if there's a ...
user avatar
  • 63
1 vote
0 answers
129 views

Is it possible to not use smbpasswd to share samba home folders in linux?

I have a linux (Ubuntu) server with a few users on it that I allow their home folders to be accessed via smb. However, in order for them to access the folder, I need to use smbpasswd -a username Why ...
user avatar
2 votes
2 answers
3k views

Windows 10 Scheduled Task does not use domain credentials to access network resources

I have a simple task, which for the purposes of testing, consists of a batch file with two lines: whoami >result1.txt copy \\server\share\test1.txt C:\Users\xxx\Documents > output.txt 2> ...
user avatar
0 votes
1 answer
32 views

Using custom auth through hardware device on Windows network map drive possible?

I want to custom the auth method when connecting smb as a client on Windows to a linux server. I expect to it to work like this: When connecting as a network map drive, Windows auth center will read ...
user avatar
14 votes
1 answer
3k views

How do I find out what version of SMB is in use by each attached client to a Windows Server 2016?

I am trying to determine which version of SMB/CIFS is in use by clients attached to shared folders on my Windows Server 2016. If I run the powershell command Get-SmbConnection on the Windows Server, ...
user avatar
  • 433
1 vote
0 answers
523 views

Auto update Linux cifs mount when windows dfs target changes

Not that a retarget is a common occurence in the case we're working with but, we're in the process of some infrastructure changes and it's fresh in my mind. We have a number of Windows DFS share ...
user avatar
1 vote
1 answer
5k views

smbclient NT_STATUS_BAD_NETWORK_NAME with server OS SpinStream2

I'm trying to use Samba smbclient to connect to a file server managed by my technology partner, and I'm consistently getting this error message about tree connect failed. The exact details have been ...
user avatar
  • 13k
0 votes
1 answer
708 views

How can I tell which version of CIFs is in the kernel if CIFs module isn't loaded?

I need to determine the CIFs version that exists in my kernel, but the CIFs module isn't loaded. my-user@ip-XX-XX-XX-XX:~$ modinfo kernel/fs/cifs.ko modinfo: ERROR: Module kernel/fs/cifs.ko not found....
user avatar
  • 103
0 votes
1 answer
1k views

FSTAB CIFS kerberos

How can I force fstab to mount CIFS with machine account kerberos? From logs it shows that cifs.upcall goes to: cifs.upcall: get_cachename_from_process_env: cachename = FILE:/tmp/krb5cc and not on /...
user avatar
  • 1
4 votes
1 answer
10k views

Unable to mount cifs share in fstab with spaces in share name

I'm running a Debian Squeeze system and trying to mount a windows share in /etc/fstab. I've got an existing cifs mount working, but it's a simple //xx.xx.xx.xx/sharename situation. This second one isn'...
user avatar
  • 43

1
2 3 4 5
9