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
0answers
32 views

Two Debian Servers, one mounts CIFs the other won't

I can't figure out what the issue is with my /etc/fstab mounting options. I'm migrating from Airsonic to Lightweight Media Server, part of that migration includes adding a SAMBA share to LMS that ...
0
votes
1answer
49 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=/...
4
votes
1answer
138 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 ...
0
votes
0answers
7 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 ...
2
votes
1answer
252 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> ...
0
votes
0answers
20 views

Forcing unmount of hanging CIFS mount (server crashed while writing to mountpoint)

Machine A mounts via CIFS from Server S to /backup A is writing to CIFS mount. Server S crashes while writing, it stayed offline for several hours. Now process on machine A hangs in the process "D" ...
0
votes
1answer
24 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 ...
13
votes
1answer
586 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, ...
0
votes
0answers
35 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 ...
0
votes
0answers
36 views

automount mounts desired fs but shows no files

I know my question is very similar to Mount CIFS share with autofs. This OP describes my situation perfectly. However there are enough difference to warrant a new question. First, I am running CentOS ...
0
votes
0answers
193 views

Strange behaviour when mounting a samba share with autofs

I want to mount a samba share with autofs. autofs is configured with openLDAP, SSSD and kerberos. srv.xxxxxxx.net is the samba server (proxmox container, Debian 10) ldap2.xxxxxxx.net is the openldap (...
0
votes
0answers
47 views

Why open Samba shared folder using \\<domain-name> is slow, but using \\<ip-address> is fast?

I have a Samba server with shared folder. I can open the shared folder in Windows laptop. In the Windows Run program, when I type \\<domain-name>, it will take more than 15 seconds to open the ...
0
votes
1answer
326 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 ...
0
votes
0answers
40 views

AutoFS + Windows (CIFS 1.0) down + NGINX = Freeze

We've got auto-fs installed on a CentOS Linux release 7.5.1804 (Core). The config is as follows (comments omitted): /etc/autofs.conf [ autofs ] timeout = 500 browse_mode = no ...
0
votes
1answer
53 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....
0
votes
0answers
51 views

File system ACLs cannot be set for samba shared folder which is a cifs mount

I have followed the samba Tutorial to set up a domain connected samba server for domain users. The folder that I would like to share is itself mounted from another server using a cifs mount using the ...
0
votes
1answer
128 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 /...
0
votes
1answer
223 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'...
0
votes
1answer
43 views

Server 2008 - Host SMB on one NIC only (without Windows Firewall)

First post here. I have a client with a Server 2008 R2 machine that hosts an SMBv2 share, as well as a non-Windows service on a secondary NIC. We don't want SMB connections to hit the secondary NIC, ...
1
vote
0answers
275 views

Strange STATUS_ACCESS_DENIED issue with SMB2 client and Freenas CIFS SHARE

I've recently started seeing some strange SMB2 Errors on Windows 10 PCs (all of them version 1903). The Fileserver is running FreeNAS-11.1-U7 (with ZFS Volumes) and CIFS Shares with Active Directory ...
0
votes
0answers
65 views

“mkdir: cannot create directory ‘archives’: Permission denied” error on cifs mount in Centos7 : How do I fix it

OK, I have on my WS (Workstation) a dir /mount/ which has 4 more folders /mount/ttc, and three others exactly the same I have fstab mount a cifs mount point into /mount/ttc : //192.168.0.101/ttc /...
0
votes
2answers
96 views

Putting vsftpd homes on Windows AD share

I have external clients who upload/download files via vsftpd FTP on Ubuntu 18.04. They use linux accounts(not virtual), are chrooted and only need (and do) see under their own directories. Now, their ...
0
votes
0answers
183 views

User homes on CIFS with kerberos authentication

I have a CIFS share, which is presenting the share of the users homes on the same UNC path for every user. For authentication a kerberos ticket is used, which the user forwardes thorough his SSH ...
0
votes
1answer
112 views

Mounting Azure File Share on Oracle Linux 7.7

I'm trying to mount Azure File Share in Oracle Linux 7.7 and it doesn't work in the latest kernel 4.1.12-124.31.1.1.el7uek.x86_64 (released Sep 2019). I know that I must use encryption when ...
0
votes
0answers
39 views

How to mount a service share (DFS) on linux or from Java

my corporate network has a share of the form: \\adomain\service\ashare I've worked out that this must be a DFS share where my network's dfsroot is called 'service'. I have a user \adomain\auser ...
0
votes
1answer
246 views

Samba mount fail on cifs

Client Debian, server Windows 2019. Even that DNS resolved ok, I added eagleeye on /etc/hosts, also modified /etc/samba.smb.conf adding: client min protocol = SMB2 client max protocol = SMB3 I ...
0
votes
1answer
86 views

Apache can't save files to mounted directory

I have bought WD myCloud storage and I have mount it to centos 7 by adding this line to fstab \\wd_mycloud_ip_address\shared_folder /backup cifs rw,suid,username=shared_folder_username,password=...
1
vote
1answer
1k views

Access denied to IPC$ share on Windows Domain Controller when SMB session is setup with Kerberos 5

I am writing a system which performs user login and provides single-sign-on access to SMB shares within the network. User login is done with Kerberos 5 to verify the user's identity and get a TGT ...
0
votes
1answer
522 views

Symlinks look like regular files on samba shares

Symlinks on my samba share aren't behaving the way I want them to – specifically, the links look like duplicate regular files to the client machine. This used to work (i.e. symlinks on the server ...
0
votes
1answer
64 views

mount command fstab in linux

i have a command to manually mount windows shares into my linux system. Unfortunately the paths are not mounted when the system reboots. How can I add the path to the fstab table ? mount -t cifs -o ...
1
vote
0answers
155 views

Centos only taking first DFS referral

$ umount -a: Linux server01 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux I am able to successfully mount a DFS file share using the following command: ...
2
votes
0answers
195 views

Must `kinit` user's ticket manually before PAM can mount SMB home directory at login

Ubuntu 14.04 file server Ubuntu 14 Active directory (AD) server running Samba 4 Ubuntu 18 client (fresh install) I've configured for Ubuntu user home directories to be mounted via PAM and SMB/CIFS. ...
0
votes
1answer
194 views

Unable to mount windows share with write rights on Debian

I'm unable to mount Windows 2016 Server Core share with write rights on Linux Debian 9.9 Share settings in Windows ("pl:Wszyscy" means "Everyone", Listed users have same permissions as "Everyone") ...
0
votes
1answer
464 views

Ubuntu cannot mount CIFS share from autofs and KRB5

I've inherited an Ubuntu 14 Fileserver... VERSION="14.04.5 LTS, Trusty Tahr" Client machine is a fresh install of Ubuntu 18 VERSION="18.04.2 LTS (Bionic Beaver)"<br> autofs/bionic-updates,...
0
votes
2answers
123 views

Re-sharing a Windows 2012r2 share as read-only

Looking for a Windows based solution. Background: A standalone WS 2012R2 located on NETWORK A is sharing a folder with R/W access through a local user. A segregated NETWORK B contains user PCs, some ...
0
votes
1answer
523 views

How to mount CIFS shares in Linux without password, using domain credentials?

I have Ubuntu 18.04 and CentOS 7 boxes, they are members of Windows domain (using sssd). Linux users need to mount CIFS shares from domains fileservers. What should be done in order to provide ...
2
votes
1answer
1k views

NFS - Very slow performance with small files (Also with CIFS)

I am having very bad performance with NFS between two debian stretch machines, and I can't find a solution. I am using rsync at the server side in the exports file and tcp,hard,intr,rsize=32768,wsize=...
1
vote
0answers
147 views

Kill a hanging sync from a cifs drive

I copied a file to a cifs drive and instinctively ran a sync on it, which hung indefinitely. Strangely, I could successfully unmount/remount the drive without issues, making me think that the drive ...
0
votes
1answer
143 views

Can I use both “soft” and “intr” options for mounting a NFS CIFS drive? If yes, in which order?

I have faced a problem recently with a NFS mapping. An I/O process (cp) got in uninterruptible sleep state and I ended up having to reboot the machine to fix the problem. Rebooting was bad so I don't ...
3
votes
1answer
103 views

mounted windows disk: incomplete directory listing

I have a series of Windows shared disks mounted on my Linux machine. I have lines like this in /etc/fstab: //10.5.0.136/i /media/i cifs credentials=/home/trosendal/.smbcredentials,vers=2.0,iocharset=...
1
vote
1answer
33 views

SMB share in LAN with remote back-up

I would like to know if it somehow is possible to have a SMB share point towards the LAN NAS but when connecting to the share from an offsite location, it would use the backup remote share that is ...
4
votes
2answers
283 views

Does samba need to fetch the entire file to determine its size?

Given the following configuration: server with samba version 4.7.6-ubuntu client mounts a samba share using mount -t cifs If a du -h /shared/filename command is executed on the client, will the ...
1
vote
0answers
167 views

The command “mv test_file TEST_FILE” fails with “mv: ‘test_file’ and ‘TEST_FILE’ are the same file” in a CIFS filesystem

I have a CIFS filesystem mounted in an Oracle Linux 7 server: //win-server/shared-folder on /data1/shared_folder type cifs (rw,relatime,vers=1.0,cache=strict,username=winuser,domain=mydomain.com,uid=...
4
votes
0answers
1k views

Are the in-built sharesmb / sharensfs options in ZFS on Linux special/better?

While reading through the man page of zfs I noticed the sharesmb and sharenfs options. Are they thin wrappers over samba/smb/cifs/nfs provided by the underlying Linux system, or special/optimised code ...
1
vote
0answers
24 views

Permissions per folder in samba share

I need to create a public share where there is a folder public and folder user such as everyone (including guests) have full access to public and for user only the specific user has full access but ...
10
votes
1answer
4k 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
1answer
574 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 ...
2
votes
1answer
578 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
1answer
962 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
169 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
2 3 4 5
8