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.
430
questions
3
votes
2
answers
2k
views
What is the safest way to give anonymous read/write access to Windows file shares?
I need to create a Windows file share and configure it so that the files can be modified over the network without the user needing to authenticate. In some cases this will be an interactive user ...
3
votes
1
answer
4k
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=...
3
votes
1
answer
2k
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 ...
3
votes
2
answers
7k
views
What is bottlenecking my SMB share?
I set up a SMB/CIFS share on my FreeNAS box (Xeon E3-1220v5, 8GB DDR4 RAM) and I noticed that transfer rates are limited to ~70 MB/s, while I can easily get around 110 MB/s via WebDAV and using iperf ...
3
votes
2
answers
2k
views
How fast can a Windows 2008 CIFS client write to SAMBA server using 10Gb NIC?
We are experiencing a performance problem using Windows 2008 CIFS client. We have a FreeNAS server that delivers 1.3GB/s on ZFS write. We have 10Gb network connecting NAS server and CIFS clients. ...
3
votes
1
answer
21k
views
How to setup shared folder as virtual directory in IIS 7.5 (cross-domain)
This is my current understanding of how this should be done:
(TL;DR for the actual problem, please see the bold text.)
Create a folder on you storage server, henceforth known as B.
Create a local ...
3
votes
1
answer
353
views
Linux phantom mounts
For the second time in a year, I have encountered phantom mounts. "Normal" system tools show a CIFS mount does not exist, yet it's still really there. Adding or (mass) deleting files is instantly ...
3
votes
4
answers
3k
views
Looking for a way to mount cifs shares on centos 6 with multiple users
We have a CIFS share on our network. I have a centos 6.3 server in which I want to map the share.
The problem is that when mounting it in /etc/fstab I have to set which user (and password) to use.
The ...
3
votes
0
answers
669
views
Remote filesystem, performance and caching (davfs vs cifs vs sshfs)
I'm hosting files on a Hetzner Storage Box.
As for mounting those remotely, i have the choice between WebDAV, CIFS or sshfs.
Once mounted, those files will be accessed by liquidsoap.
The problem here ...
3
votes
0
answers
821
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 ...
3
votes
0
answers
2k
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 ...
3
votes
0
answers
698
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.
...
3
votes
0
answers
2k
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 ...
3
votes
0
answers
3k
views
Mount CIFS-share with users Kerberos-Ticket
we want to mount shares through autofs. Nothing special we thought. But: this must be done in some complex active directory circumstances. What we have:
integrated Ubuntu 14.04 workstations on which ...
3
votes
0
answers
2k
views
Mount Windows 7 share using mount.cifs: Symlinks staying inside the share cannot be created
We have multiple Windows systems using Windows 7 (64bit). For web development, we want a project workspace directory that can be shared with a VM (Oracle VirtualBox). The solution included in ...
3
votes
2
answers
7k
views
mounting windows shares on linux while keeping windows permissions
I have a windows share on a windows2003 server (WINJOE) which I want to back up to a Linux machine (LINUXJOE) that is properly joined to the domain. My goal is to backup shared folders of WINJOE to ...
3
votes
0
answers
3k
views
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 ...
3
votes
1
answer
6k
views
mount.cifs operation not supported but smbclient connects as expected
When mounting OSX 10.9.5 shares on Debian 8.2 with mount.cifs ver. 6.4:
mount error(95): Operation not supported
Credentials are not the issue. I can access them via smbclient. Mount reads domain ...
2
votes
6
answers
3k
views
Bash shell snippet to check if mounted Samba share is not busy
#!/bin/sh
mount -t cifs //192.168.5.90/share -o password='' /mnt/tera_nas
rsync -av --super --delete --recursive /home/ /mnt/tera_nas/home/
# sleep 5m (i want to avoid using this)
# Bash shell ...
2
votes
3
answers
28k
views
Disable Windows 2003 File Sharing
What's the best way to temporarily disable the Windows 2003 File Sharing service(s)? Sorta like the equivalent to shutting down Samba on a Linux box.
2
votes
2
answers
13k
views
NetApp filer - resetting NTFS permissions with fsecurity?
I have a NetApp filer, with a CIFS export. The permissions have been locked down on it, to a point where it's no longer accessible. I need to reset the permissions on this - I've figured out I can ...
2
votes
3
answers
861
views
Is Samba good for anything in a pure Unix/Linux network?
I'm learning for the LPIC exam which includes a section about Samba. I'm asking myself, whether there is any meaningful or useful application for Samba in a pure Unix/Linux network without any Windows ...
2
votes
1
answer
594
views
How efficient is a file move on the same fileshare?
From a windows208r2 client connected to a SMB/CIFS share, I move a file from one directory to another directory on the same network share.
Does windows send a "move" command to the share, or does ...
2
votes
1
answer
1k
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/...
2
votes
2
answers
802
views
Backup maildir to windows cifs share
How can I incrementally backup a maildir to a cifs share without creating a full image each time?
I have dovecot running with some large mail accounts. The only backup available is on a Windows ...
2
votes
1
answer
7k
views
On startup cifs mounts with wrong uid, gid
I have a server running a samba instance which I access with cifs. When the system boots the folder is mounted but with wrong uid and gid.
When I umuont and mount again manually, uid and gid are set ...
2
votes
2
answers
710
views
Partions, RAID, LVMs, and Encryption
I have an existing production server that is running 4 drives each 750 GB in size in two software RAID levels. RAID 1 for the /boot partition and RAID 5 for the rest of the partitions including the /...
2
votes
2
answers
5k
views
Windows files on SMB/CIFS server do not automatically have read locks
My memory from working with different systems in the past is that the default behavior for many windows SMB clients writing to a Netapp share is that open files would automatically have a read lock on ...
2
votes
1
answer
3k
views
Can a Windows machine authenticate against Samba with Kerberos when users are stored in AD?
I understand the title is probably less clear that it should be, but I couldn't think of anything better.
We have two domains, let's call them example.com and subnet.example.com. The former is ...
2
votes
1
answer
307
views
ZFS ACL's with Snapshots
Let's say I have a ZFS filesystem set up to share to users via CIFS, but ACLs are fine grained into the subfolders of the share to where certain users can't go into. Let's also say I'm leveraging ZFS ...
2
votes
3
answers
3k
views
Access Windows file share over the internet
At home I have a fileserver which is running Windows XP Pro. There are various SMB shares set up on it which can be accessed fine from within the network.
Recently there has been the need to access ...
2
votes
2
answers
11k
views
How to mount Windows share on boot using mount.cifs and autofs/automount?
I'm having some trouble mounting a network share using autofs. I have added the following line to /etc/auto.master:
/mnt/mountpoint /etc/auto.servername
I then created the file /etc/auto....
2
votes
1
answer
6k
views
Mount cifs share anonymously
I have a Windows 2003 Server sharing out a few folders as read-only to "Everyone". The server is a domain member, so I'm not able to connect to the share on computers that aren't on the domain ...
2
votes
2
answers
19k
views
Mount a Windows DFS Namespace in Linux
I've got a Windows DFS setup with a few namespaces, and I need a way of accessing them via CentOS.
Any ideas?
I've had a look at CIFS mounting, but it won't support the namespace (each separate ...
2
votes
1
answer
4k
views
What ports are needed for a Windows XP client to acces a folder on a SAMBA server?
Wikipedia mentions only TCP port 445 (while as far as I can remember ports 137-139 used to be used actively by Windows file sharing).
If I map the 445th TCP port on gateway host "A" to a 445th TCP ...
2
votes
1
answer
3k
views
CIFS(Samba) + ACL = not working
I have two servers with Debian 5.0.
server1:
samba 2:3.2.5-4lenny9
smbfs 2:3.2.5-4lenny9
smb.conf:
[test]
comment = test
path = /var/www/_test/
browseable = no
only guest = yes
...
2
votes
2
answers
645
views
network endpoint accessible via hostname only, not address?
someone told me that this piece of network hardware (netapp NAS) has a security setting such that it can only be accessed by hostname, not by IP address. I don't understand, as I thought DNS resolved ...
2
votes
5
answers
13k
views
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 ...
2
votes
2
answers
3k
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&...
2
votes
1
answer
1k
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[...
2
votes
1
answer
2k
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 ...
2
votes
1
answer
2k
views
Permissions to ports Alfresco
When I restart Alfresco, it starts... I got the page... But on the logs I got the error:
2015-11-10 09:58:55,282 INFO [management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] ...
2
votes
2
answers
2k
views
coreos mount cifs or sshfs or any other networked file system
For development I want to mount a file share from my windows dev box inside my CoreOS VM, so I can then mount that volume inside a container.
CoreOS doesn't appear to support doing this, and comes ...
2
votes
2
answers
2k
views
Virtualbox running Fedora 15 keeps losing its cifs mount of a windows share
I have an instance of virtualbox running Fedora 15 on my Windows XP machine. The Windows box (Z8GQ9439) is sharing a folder (rlevesq).
I am mounting that drive in the /etc/fstab as follows:
//...
2
votes
2
answers
17k
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 ...
2
votes
1
answer
3k
views
FreeNAS not correctly connecting to Active Directory - not seeing how to add Domain Accounts
It looks fine from SSH:
[root@FREENAS1] ~# ping SERVER1
PING SERVER1.local.domain.com (192.168.2.2): 56 data bytes
64 bytes from 192.168.2.2: icmp_seq=0 ttl=128 time=0.265 ms
64 bytes from 192.168.2....
2
votes
1
answer
1k
views
How to unmount single mount point when multiple mount exists?
I have a faulty server where a CIFS is mounted each time a user logs in. When several users are connected, this duplicates the mount points, leading to this:
$ mount | grep opt\/cifs\/Dev
//example....
2
votes
1
answer
2k
views
SAMBA, CIFS, message signing, confusion
I've been going down a rabbit hole with SAMBA and CIFS.
We have a server that was pentested, and we were pulled up for "SMB server signing not enforced"
Fine, I thought, I'll just turn server ...
2
votes
2
answers
15k
views
Unable to mount CIFS share, but able to mount on others
I have a working windows 2008 R2 file share that I can connect to from one server (running redhat 6.6) with the following syntax in /etc/fstab
//servername/ELK\es1 /ES1 cifs username=domain\user,...
2
votes
1
answer
11k
views
CIFS error -512 on a mount
So we have Alfresco running at work and I like to have our repository mounted via CIFS:
mount /mnt/alfresco/ -v
mount.cifs kernel mount options: ip=192.168.8.91,unc=\\alfresco.example.com\alfresco,...