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.

429 questions
3
votes
3 answers

Web-based SMB/CIFS file server

I am looking for a web-based file server which can be used to browser SMB/CIFS shares. I want something easy to deploy (can be Windows or Linux software) and which can be used to download/upload files from network shares. Any hints?
math
  • 197
  • 3
  • 7
3
votes
1 answer

Migrating Windows shares to a Samba Linux based Share

We are looking at migrating all of of shared folders and files to one server. Currently it's spread out over a few severs which has been the method for the past years but now we want to upgrade and consolidate. We have been kicking around the idea…
RPGonzo
  • 65
  • 1
  • 2
  • 5
3
votes
3 answers

How can I set up disk quotas on a remote server in a Samba environment?

I've been working with an install of Ubuntu 8.04 and Samba. I'm trying to set up user disk space quotas for our shared drive. That is, each user will have their own folder on our Network Attached Storage (NAS) that has a size limit. I can…
graf_ignotiev
3
votes
1 answer

Does enabling SMB2 on a NetApp filer require a cifs restart?

I would like to enable SMB2 on a FAS 2050 running Data ONTAP 7.3.2 as by default it is disabled. I have discovered that to enable SMB2 the following option must be set: options cifs.smb2.enable on Does this require a restart of cifs to take affect…
Sim
  • 1,858
  • 2
  • 17
  • 17
3
votes
0 answers

Windows Server 2008 R2 Shared folders are very slow when uploading files

I have a little problem, I have a server with Windows Server 2008 R2 Enterprise edition with the File Service installed, and a client with Windows 7 Pro. Everything works fine but the file transfert via SMB from the client to the server is VERY…
Kedare
  • 1,786
  • 4
  • 20
  • 37
3
votes
1 answer

Active Directory profile storage on ZFS

I'm considering storing Active Directory profiles on a ZFS file server. I ran across these instructions for using ZFS and the native Solaris CIFS protocol to integrate with Active Directory. It seems simple to implement but overly complex to…
user17642
3
votes
0 answers

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 triggered. The system is integrated with Active…
dragz
  • 51
  • 4
3
votes
0 answers

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 Active Directory and I've edited SSSD…
3
votes
1 answer

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 shares from a NAS device in a Windows AD domain Fedora…
3
votes
2 answers

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> error.txt When I run this from an interactive login, it works…
strubbly
  • 81
  • 1
  • 6
2
votes
5 answers

Clearing Windows file share "memory"

I'm currently upgrading a Samba file server (from 3.0.23d to 3.4.3). I have a problem on the Windows client side: if the client was accessing a UNC path or mapped drive from the Samba server before the upgrade, then after the upgrade those paths or…
Tom Shaw
2
votes
1 answer

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 as this person regardless of what user on the…
Ryan Mortier
  • 498
  • 3
  • 8
  • 19
2
votes
3 answers

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 meaning of that "more or less". EDIT2: mentioned…
Lucio Crusca
  • 420
  • 3
  • 12
  • 33
2
votes
1 answer

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 allows for all smb protocol versions. The normal…
Nathan Neulinger
  • 607
  • 1
  • 6
  • 17
2
votes
1 answer

Cannot access SMB share hosted on Ubuntu from Windows 10

Attempting to access SMB share on Ubuntu from my Windows 10 host fails with "session setup failed: NT_STATUS_NOT_SUPPORTED". Windows 10 has SMB1 disabled: PS C:\> Get-SmbServerConfiguration | Select EnableSMB1Protocol,…
Flowneee
  • 159
  • 1
  • 4