Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
7 views

How do I speed up remote (WAN) CIFS access?

The problem: we need to access a CIFS server at a remote (400km) data center. Unfortunately, the speed of light somewhat limits the achievable data rate (requests per second). Is there a way to speed ...
6
votes
1answer
743 views

Samba (CIFS) mount error(9): Bad file descriptor

I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has ...
0
votes
0answers
20 views

Mount AS/400 smb2 shared folder from Linux

I've always been using SMBv1 for mounting shared folders exposed by the AS/400. Recently, the AS/400 V7R3 has enabled SMBv2 but I haven't been able to effectively use a shared folder: I can browse ...
0
votes
0answers
18 views

getcifsacl does not work with CIFS mount versions 2 or 3

When I mount CIFS share with vers=1.0 I can perform getcifsacl sucessfully. # mount -t cifs //example.com/Users/milo /mnt/cifs -o vers=1.0 # getcifsacl /mnt/cifs/file.png REVISION:0x1 CONTROL:0x8504 ...
0
votes
1answer
39 views

SMB/CIFS verify data integrity

I'm in the middle of setting up a new fileserver on my network, and can't decide which file-transfer protocol to use. Ensuring that any data transferred to/from the server isn't corrupted in transit ...
0
votes
0answers
29 views

Duplicate cifs mounts in df and mount command output

cifs-utils Version: 2:6.4-1ubuntu1.1 i recently changed the fqdn of my old windows file server(app.example.com) in fstab to new one(org.example.com=10.10.1.97) but when in "df -h" output i see the ...
0
votes
0answers
28 views

CIFS chown Permission denied on Docker / Kubernetes

I'm trying to set up Paperless(tried with Plex as well) on my Kubernetes cluster. My media is on an Windows share mounted with CIFS on my nodes //data.domain.net/media /mnt/media cifs credentials=/...
0
votes
1answer
71 views

Ubuntu map CIFS / SMB share using active domain credentials without password file

Is there a way in Ubuntu 18.04 to map an SMB share when the users login without using a password file? The boxes I have are members of a Windows Active Directory domain and the users will use their ...
1
vote
0answers
44 views

Converting a file server and Windows File Share to CIFS based share using Netapp Filer

My customer wants to decommission their old Windows Server 2008 file servers. The file shares contain lots of user home folders, group drive and data, application data etc. I would like to implement ...
1
vote
1answer
153 views

Mounting a cifs share dir_mode and file_mode are being ignored

I have an Ubuntu Server that is trying to mount a Windows Server shared folder. Firstly, what I'm trying to do here is mount the share as the person in the credentials file and all actions take place ...
1
vote
0answers
20 views

Sharing mounted CIFS filesystem with samba to macOS users

I have a CIFS filesystem which I am trying to share over samba with macOS users. I can't directly connect to the original samba share which I'm mounting as the CIFS fs on the server as I have to ...
0
votes
0answers
30 views

Mount CIFS/SMB file share with S4U2Proxy?

Is there any way to mount a CIFS/SMB file share by authenticating with S4U2Proxy? I need a middleware service to mount a file share and it has a Kerberos ticket from the user who logged into it. I've ...
0
votes
1answer
114 views

Debugging slow ls on cifs mount strace makes it fast

I've got a server that has a cifs share (Azure storage files) mounted. Sometimes ls is returning slowly (20seconds). After debugging a bit I've so far found that: doing ls /data/some/symlink/...
0
votes
1answer
101 views

how to create fake symlinks when copying to CIFS share with rsync

So I have to backup lot's of data to a company server. And it creates a fair share of symbolic links. I'm on a Linux Machine, and the backup server is accessed via CIFS, which does not support ...
0
votes
1answer
447 views

Some Win10 PCs will not connect to SMB share, others will

I have a network SMB share (provided by a Netgear ReadyNas Firmware 6.9.3) Of the 15 Windows 10 Pro PCs I have tried to connect to this share, about half can't "see" the share, while the other half ...
0
votes
1answer
505 views

pam_mount home directories over cifs, sssd and Bionic Beaver

I've configured a Ubuntu Bionic Beaver client to authenticate against a Samba ADS (Zentyal), using sssd. This guide was more or less all it took to get there. EDIT: see my answer to get a quote of the ...
0
votes
1answer
318 views

mounting CIFS just hangs no verbose output

I unmounted our shared drive in order to debug some immutable files and it's not allowing a mount back (even after a reboot and the entry has been there for years in the fstab file). I'm trying to do ...
1
vote
1answer
247 views

Are Kerberos service tickets cached by mount.cifs or kernel?

When mounting a CIFS share using krbr5i and destroying my Kerberos tickets with kdestroy afterwards its still possible to mount other shares on the same server. How is this possible? Doesn't mount....
0
votes
0answers
101 views

Intermittently Losing permissions on samba mount points

I intermittently lose access to the cifs share. the command: ls -l / | grep volume giving me the following message: d????????? ? ? ? ? ? volume and ls /volume give me : permission denied I ...
0
votes
1answer
59 views

cifs\nfs server down , Client server high load average

I have an backup server in my AWS network. For maintenance i rebooted the server, after which it is not starting. My problem is all the servers were having backup server disk mounted through nfs (...
0
votes
0answers
1k views

CIFS VFS: BAD_NETWORK_NAME on Linux

I am struggling with an issue of Windows SMB share mounted on Linux servers getting disconnected once in a while. To give a brief introduction about my environment, I have few linux servers which ...
0
votes
1answer
104 views

Administrator access over CIFS doesn't give access / does not map to Administrators group

I'm trying to access a share using user Administrator while the ACL contains Administrators (the group). The permissions on the share are Administrator: Full Control. (This is Windows 2016) The ...
2
votes
0answers
422 views

“Mount error 13” on CIFS connection w/o Domain Admin

Scenario I have following clients in my network: Quartz I2S scanner with embedded Linux firmware Windows client (not domain-joined) for comparison These will be trying to access a network share on ...
0
votes
0answers
25 views

Non-domain Joined Computer Failing Authentication to Domain Controller

We have a number of non-domain joined machines in our environment. After some testing recently in the lab we noticed that a number of these machines were showing failed login events on our domain ...
0
votes
0answers
14 views

Use local samba server on each Active Directory site

I would like to setup a netbios name that would resolve to a local server on each AD site: Let's assume there's 3 sites in the AD: site1, site2 and site3, each with a domain controller and a member ...
1
vote
0answers
158 views

Network Share slow during high use but it's not as simple as it seems at first

We have half a dozen or so Windows 2008R2 boxes sending SQL backup files to a dump share on a 2008R2 file server over the weekend. There is a dedicated nic on the file server for this operation and ...
0
votes
1answer
275 views

Install package in Centos 6 from Centos 7 repo

I have Centos 6 and Centos 7 machines setup so that the first uses mount.cifs in order to mount volumes from the second through a proprieraty software. The problem is that the Centos 6 version of ...
0
votes
0answers
996 views

'mount -a' gives error 115, but manual mount works fine

Unable to mount Samba share: error -115 I am struggling with mounting Samba shares on a Synology NAS from a Debian Stretch Linux system. The strange thing is that a 'manual' mount command works, but ...
0
votes
0answers
1k views

Unable to mount Windows Folder share on Debian

On my Debian server, I am unable to mount a networked folder shared via Windows Server 2016. The hosting server is configured correctly, as I'm able to access the folder from my Mac Laptop via the "...
-1
votes
1answer
501 views

mount.cifs takes too long to mount Windows shared folder

Our setup: Server: Windows Server 2008 Client: SHMZ 6.6 (FreePBX, CentOS) mount.cifs version: 4.8.1 smbclient version: Version 3.6.23-14.el6_6 Using this command to connect: mount.cifs //192.168.0....
0
votes
1answer
5k views

Can no longer access SMB shares to a Windows server after 2016 upgrade

I've got a file server which hosts a load of SMB shares. The users in this domain have mapped drives to the shares and use them on a daily basis. I upgraded the OS on the Fileserver from 2012 R2 to ...
1
vote
0answers
35 views

Cron job not deleting files in cifs mount

I have a cron job that runs a shell script. The contents of the shell script is as follows: #!/bin/bash cd sudo service confluence stop NOW=$(date +"%Y%m%d-%H%M%S") mkdir Backup/db mkdir Backup/...
2
votes
1answer
246 views

How to set minimum Samba protocol version without breaking anonymous access?

I have a read-only Samba share set up with Samba 4.3.11 on Ubuntu 16.04. This works without issue for publishing some files/tools that need to be available to all hosts. However, out of the box, this ...
1
vote
0answers
26 views

Cannot connect to SMB shares when network location is “Domain Netowork” Windows 2008 R2

PROBLEM: Access to the shares work when the network is "Public Network" or "Private Network" but not when it is "Domain Network". QUESTION: What different things change with the Network Location ...
0
votes
1answer
68 views

Slow speed between mounts on same shared disk

how i could fix problem with moving speed between two mounts of shared windows disk. CIFS/SMB share. i.e. i have shared disk //disk1 and mounted folders inside it on linux system //disk1/folder1 /...
0
votes
1answer
3k views

No dialect specified on mount error, where to set vers=1.0 with autofs/Fedora 26, Drobo FS

We are using Fedora 26 with the 4.13.9 kernel and NIS, and I'm aware of the issue where the default CIFS/Samba version is now 3.0. However we use an older Drobo FS which their support says only works ...
5
votes
2answers
151 views

Unable to list new files on a cifs share with ls *

I have an old HP-UX system running version 11.11, it has a cifs mount configured to a netapp filer. In the past several days we've been seeing some odd behaviour for the share where files can be ...
0
votes
1answer
1k views

rsync: how to handle backup to CIFS volume

I am backing up data from a GNU/Linux system to a CIFS mount. There are clear limitations to this, such as characters in filenames (eg. colons (:)) and symlinks not being supported by the destination ...
0
votes
2answers
772 views

Older CIFS can not mount shares from Samba-4 server

I have a media-player, which used to connect to my main computer running Samba without a problem. It is running an old version of embedded Linux (kernel 2.6.22.19-27) and has CIFS. At some point, ...
3
votes
0answers
433 views

Disable file locks on a read-only Windows File Share

Case On a Windows Server (2012R2 or 2016), I want to configure a file share offering a following functionality some users, publishers group, have a write access to the share; these users are ...
2
votes
1answer
1k views

Cannot mount SMB folder from Win10 to Ubuntu

I trying to mount folder from my Win10 machinr to Ubuntu (which inside VirtualBox, but it doesnt matter). On my Win10 I disable SMB1, due to recent events: PS C:\Users\Flowneee> Get-...
0
votes
0answers
422 views

Veeam Agent for Linux not connecting to SMB from FreeNAS

I want to backup an Ubuntu 16.04 server using Veeam Agent for Linux free edition. I'm trying to do the backups to an SMB/CIFS password protected share created in FreeNAS but am getting a password ...
2
votes
0answers
422 views

`ls` command hangs indefinitely in some directory in an azure File Storage share

I have an azure File Storage share mounted in a Ubuntu 16.04 VM following this how-to. Everything seems to work fine. So I run some process that produces a lot of data, e.g. 10k files for each run, ...
0
votes
0answers
63 views

Unable to write to Samba share even if member of group

[global] workgroup = WORKGROUP server string = %h Samba Server wins support = no dns proxy = no map to guest = bad user load printers = no printing = bsd printcap name = /dev/null disable spoolss = ...
1
vote
0answers
60 views

Samba share not mounting on Linux CLI client (works on GUI)

I configured Samba server in RHEL 7.3 with following: mkdir /samba-share with chmod 777 /samba-share firewall and selinux is stoped. Configuration: [global] workgroup=MYGRP security= user passdb ...
0
votes
1answer
210 views

nginx + php5-fpm + cifs share + CakePHP timeout

I recently moved my cakephp 3 dev environment onto a network share. The server in question has only had a path change for the nginx webroot (root /var/www/webroot, to root /mnt/dev/webroot). I am ...
0
votes
1answer
156 views

Updatedb does not add new files

I have set up a separate mlocate database to index a custom directory, it is updated by a cron task, but for some reason it does not index files created since the fist time the database was created. ...
0
votes
2answers
836 views

cifs mount alternately sends wrong passwd

short version: the NETAPP logs show that from our client (debian 8.7, cifs=2:6.4-1) machine the login fails alternatively. I.e. it is like one time it sends the good password, and then some wrong ...
1
vote
1answer
5k views

Cannot contact any KDC for requested realm in log.winbindd-dc-connect every 10 seconds

I have a Ubuntu box, used for cifs file shares, that is using Samba. It is joined to an Active Directory Domain. We are using trusted domains. We have a pretty large AD infrastructure with many child ...
1
vote
0answers
323 views

rsync one way incremental backup jobs from Windows to CentOS

I have an rsync job that incrementally copies files from a Windows server that I have in the field to another Windows Server that I have here in my data center. The incremental jobs run perfectly and ...