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
1
vote
1answer
27 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 ...
0
votes
2answers
61 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 ...
0
votes
0answers
31 views

Accessing files using UNC paths over smb without mounting shares?

Is it possible on Linux to access files using UNC paths over SMB protocol without mounting shares first? Linux supports SMB protocol and allows to mount SMB Shares like: mount -t cifs -o username=<...
1
vote
1answer
128 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 ...
1
vote
0answers
201 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 ...
0
votes
1answer
34 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 ...
1
vote
0answers
38 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: ...
0
votes
0answers
79 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 ...
1
vote
0answers
19 views

On-premise network based drive mounting inside Azure App service

How to mount my on-premise network drive data inside the Azure app service? Does Azure allow on-premise drive mounting inside Azure apps?
0
votes
1answer
118 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 ...
2
votes
0answers
76 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 ...
0
votes
1answer
47 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 ...
1
vote
0answers
457 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 ...
0
votes
1answer
53 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'...
0
votes
0answers
44 views

Performance between different SMB/CIFS versions

I couldn't seem to find a lot in searches about the performance difference between samba versions. Obviously, security has been improved, but what about performance?
1
vote
0answers
31 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 ...
0
votes
0answers
30 views

Download files from a Windows share added to Apache VirtualHost

I've added a new virtualhost to my Apache on Ubuntu 20.04 installation. It works fine. Then I've: chown -R www-data:www-data to /var/www/subdomains/filelist After this, I mounted a Windows share (...
0
votes
2answers
4k 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 ...
2
votes
0answers
329 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 ...
2
votes
1answer
422 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 ...
0
votes
1answer
570 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,...
1
vote
0answers
273 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[...
0
votes
0answers
30 views

Cifs works only with read and write to others

OS: Ubuntu 16.04 samba version:Version 4.3.11-Ubuntu folder permissions 750 unable to mount cifs shows :permission denied" same works fine when permission on folder changed to 755? when given ...
0
votes
0answers
30 views

Mount smb network share doesn't work

I've installed ubuntu server in a Hyper-V VM and want access on my host system's drives. I tried mounting my PC's drives but I either get a mount error(13): Permission denied or a mount error(2): No ...
0
votes
0answers
39 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
112 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
144 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
17 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
2answers
2k 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
1answer
25 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
2k 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, ...
1
vote
0answers
276 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
1answer
3k 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
1answer
184 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
1answer
587 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 /...
3
votes
1answer
4k 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
75 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
1k 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
2answers
314 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
1answer
180 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
1answer
559 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
128 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
3k 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
1k 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
89 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
306 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: ...
3
votes
0answers
335 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
254 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
1k 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
149 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 ...

1
2 3 4 5
8