Questions tagged [cifs]

SMB / CIFS is a network protocol that allows sharing of files across a network of nodes. The protocol is based on a design where the customer requests it sends packets to the server, the server in turn sends response packets to the client.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Samba share doesn't mount during boot

I have samba share and want it to be automounted, so i add this to my /etc/fstab: //mydomain.example.com/CommonFS /mnt/myFolder/ cifs username=samba,password=password,iocharset=utf8,file_mode=0777,...
SibVal's user avatar
  • 1
0 votes
2 answers
119 views

How do I mount NETGEAR ReadyShare network folder in a Debian 11 LXC hosted within Proxmox VE?

My router has some network attached storage capabilities and it shares the files via a UNC path (I assume this is a SAMBA share). The UNC path defined by the router is //routershare/media/ I'm able to ...
Roachy's user avatar
  • 1
0 votes
0 answers
185 views

In macOS how to use samba from homebrew instead of the system default smb

I got a wifi router connected with ssd drive shared across network. From my Linux machine connected over wifi, to copy a 956MB file to the network share mounted with mount -t cifs -o username=user,...
Gowtham's user avatar
  • 11
0 votes
0 answers
113 views

Cannot access permitted subdirectory on CIFS DFS mount when parent directory is forbidden

Given following directory structure: //example.com/dfs/ # DFS Server and DFS Root /web # Share pointing to fs.example.com /projects # SMB user has no permission on this ...
D. Hae's user avatar
  • 101
0 votes
1 answer
122 views

server share mount error in WSL2 error13

my /etc/fstab is as: //server-ip/path/share/ /mnt/d/wsl2/local/path cifs domain=my.domain.com,username="abc",password="123",rw,uid=1000,gid=1000 1 0 which works fine in a remote ...
furynerd's user avatar
0 votes
1 answer
176 views

How do I interpret the results returned by getcifsacl?

I'm reviewing permissions on a local directory provided by a remote Samba server. The server itself is Linux (Ubuntu 16.04). The local machine is Centos 7. When I run getcifsacl I get the data, for ...
user658182's user avatar
0 votes
1 answer
107 views

Why filename with weird chars can be created but not accessed via CIFS?

I have a filesystem with some old files, which were probably copied there with some windows encoding in filenames (and not UTF8). When I try to backup them to samba share (Hetzner Storage Box) via ...
Marki555's user avatar
  • 1,193
0 votes
0 answers
109 views

How to remove annoying message when mounting cifs vers=1.0

In debian 11, every n seconds I mount a remote folder shared by an old Windows NT server. I mount it with the following command: cmd = "sudo mount -t cifs //%s/%s %s -o user=%s,pass=%s,vers=1.0,...
Atman's user avatar
  • 25
0 votes
0 answers
300 views

CIFS Mount I/O Error After Large File Transfer

I have a windows network drive I access on a linux server that I mount through a mount cifs entry in /etc/fstab. I run a nightly backup of user file directories to the network drive from the linux ...
FooAnon's user avatar
  • 101
1 vote
1 answer
691 views

Cannot access Synology NAS via SMB in different subnetwork

Summary: I have set up a Synology NAS and would like to place it in the basement, next to the cable modem. My problem is that although I can reach its web UI, CIFS/SMB connections just time out. ...
hans_meine's user avatar
0 votes
0 answers
34 views

issue with automounting smb filesystems during boot on F35

I'm running Fedora 35 on my Workstation, and I have two network drives my Machine is supposed to Mount during startup. The problem is, it fails to do so, and I'm about 80% certain why. I think the ...
user1730613's user avatar
0 votes
1 answer
88 views

Linux mount to FSx using AD user disconnects after interval; initial mount works but message HOST IS DOWN occurs after some time

When I run the mount command I’m able to connect/ls to the share until, what appears to be the ticket renewal, timing occurs. Then I get host is down. I have looked through all the suggested similar ...
Robel Robel Lingstuyl's user avatar
0 votes
0 answers
62 views

Compile module for elrepo kernel-ml

I want to compile the cifs kernel module from source so that I can enable SMB Direct. My running kernel is 5.18.12-1.el8.elrepo.x86_64 from EL Repo, but that repo doesn't provide source code. So I ...
Elliott B's user avatar
  • 1,083
0 votes
0 answers
289 views

Synology : How to force reconnection of remote folder

I've a remote folder in the synology mount list that I need to manually reconnect every day to have access to it, otherwise it's not accesible.. (so go to File Station > tools > mount list ; and ...
Nicolas Rosewick's user avatar
0 votes
1 answer
2k views

Mount SMB share (CIFS) to container using secured credentials or token

I have a docker-compose setup that runs my Linux development environment on Windows. A number of these containers need to mount smb drives using LDAP credentials. The way this woks now is by adding a ...
dovidweisz's user avatar
1 vote
2 answers
3k views

How to encrypt cifs mount password?

In my /etc/fstab, I have credentials=/etc/cifspw, but the cifspw file is in clear. Is there a way to encrypt this file so that the username and password are not in clear, and still be able to mount ...
Rayne's user avatar
  • 551
0 votes
0 answers
2k views

Mount of shared windows drive in /etc/fstab failing

I’m having problems mounting /mnt/data on my newest vmware VM. I’m not sure what next to try next to get /mnt/data to show me my shared folder – I’m doing it through /etc/fstab in Ubuntu. So I ...
Lindsay's user avatar
  • 11
0 votes
0 answers
311 views

Need ansible task to open CIFS share on localhost

I an creating a "recovery" ansible playbook, and I need to link to a read-only share on the backup machine so I can copy files. The share on the backup machine is //io.hcs/backup. In windows ...
Ian's user avatar
  • 171
1 vote
1 answer
394 views

KDE Dolphin not preserving modified date of files when copying to samba share

This is my first post here, but I've been an avid reader. I have not been able to resolve this on my even after reading a lot of articles on the matter. I am using kubuntu 21.10 at the moment, but I ...
chris's user avatar
  • 11
10 votes
2 answers
7k views

How do you configure Windows Subsystem for Linux 2 (WSL2) to use fstab to automatically mount a Windows Network File Share?

I'm trying to mount a windows share (SMB/CIFS) using a Debian 10 linux distribution running on Windows 10's Subsystem for Linux using fstab to automount on startup. My software specs are OS: Windows ...
Sherlock Bytes's user avatar
2 votes
0 answers
497 views

CIFS share can no longer mount

I used to have a CIFS share pointing to a Windows machine's C drive, however it broke some time ago (I assume following an update, but I don't use the share all that often, so I don't know exactly how ...
TheMohawkNinja's user avatar
0 votes
1 answer
2k views

File exists in directory, but not able to access it

I am able to see a file in the directory listing using ls -lh and it has 75kb file size. However, when I try to view the file using cat or move it using mv, I get No such file or directory. The file ...
usr_random's user avatar
0 votes
0 answers
604 views

Why is a file having 0 hard links?

I need to access a file using Java and I get NoSuchFileException. The file seems to have 0 hard links. The file however has an associated inode number. I am able to use the inode number to find the ...
usr_random's user avatar
0 votes
2 answers
1k views

I have 2 network interfaces in an Ubuntu 20.04 build, how can I force SMB/CIFS connections over the secondary network interface?

As the title says, I have 2 network interfaces in an Ubuntu 20.04 build - 1 1GbE link for internet etc. and a secondary 10GbE link that is directly connected to a file server. The 10GbE link has been ...
smank_dude's user avatar
0 votes
1 answer
1k views

Connecting to a Windows 10 share via its DNS hostname or IP address

I have two Win 10 Home machines, both signed in to the same Microsoft account. Both machines use a password sign-in. TLDR: Accessing a public share via its DNS hostname or IP address fails. Details: ...
Sam Varshavchik's user avatar
1 vote
0 answers
596 views

Mounting CIFS using hostname doesn't work

This comes from an old suggestion https://github.com/moby/moby/pull/39250 on an issue. I am trying to mount a CIFS volume, config it via IP worked for me but when I try to config it using a hostname ...
7Bliz's user avatar
  • 11
3 votes
1 answer
3k views

mount.cifs: Any way to mount with kerberos using the machine credentials

When a Linux machine joins a domain, a computer account is created in Active Directory. Can this account be used to mount a network share with cifs and Kerberos?
bbigras's user avatar
  • 391
1 vote
0 answers
244 views

FRITZ!Box Samba share works using smbclient but not CIFS

I am trying to mount a disk attached to my FRITZ!box router NAS on my Manjaro Linux. FRITZ!box OS only supports SMBv1.0 at the moment, so I need to force the old protocol. The following commandline ...
Philipp Stephan's user avatar
0 votes
1 answer
889 views

NFS mount based on user

I have a linux station (ubuntu 20.04) and I have a mountpoint /share (that is currently mounted as CIFS but I could also use NFS if needed). I’d like that two different users with local accounts, ...
gregseth's user avatar
  • 658
0 votes
1 answer
166 views

Does pam_cifscreds module work with sudo access?

I have an RHEL (7.9) server with a remote drive mounted as a multiuser CIFS volume. With multiuser CIFS shares, users need to execute an additional command (cifscreds add) in order to access it. This ...
Kamlesh Gallani's user avatar
0 votes
0 answers
2k views

CIFS VFS: cifs_mount failed w/return code = -22

I currently face an issue that I wasn't able to connect to a Windows Share. Following my used command, fstab doesn't helped either, it will get the same error. The kernel log isn't useful @ all. The ...
Lars Goebels's user avatar
2 votes
1 answer
388 views

Error splicing files when copying from NAS

This is a desperation repost of this issue I created way back in the Ubuntu forums and never fixed. I'm getting this error message while copying files from my Samba/Cifs NAS to my drive. I'm running ...
yetanotherus3r's user avatar
0 votes
0 answers
117 views

how can i specific data offset option in smbclient command?

How can i set data offset value in smbclient get command? I have a scenario where i need to download file from where it fails. Here is the command i am using as of now: smbclient -U 'username' -c 'get ...
Azam Ahmed's user avatar
0 votes
0 answers
2k views

Mount Windows folder on Hyper-V Ubuntu without user password

I have a Windows 10 Pro host with Hyper-V and Ubuntu 18.04.4. I want to mount a Windows folder in the VM to enable file exchange, for which I used this tutorial. Unfortunatly when I try to run the ...
SampleTime's user avatar
2 votes
0 answers
245 views

Samba CIFS mount only works after SSH connection to samba server

CIFS mount of my remote samba share for some reason unmounts from client in the middle of nowhere and doesn't mount back (log below) until I do an SSH connection from client to server, which, for some ...
netmvze's user avatar
  • 21
0 votes
0 answers
43 views

eliminate win10 network mapped driver disconnect delay

I have a smb server on linux, and I connect it using net use command on win10. When I monitor net traiffic using wireshark, I find that when using net use Y: /delete to disconnect the mapped drive, ...
Liang Mury's user avatar
0 votes
1 answer
725 views

Connecting to network share from Windows Server fails with "organizations's security policies block unauthenticated guest access"

I am trying to connect from Windows Server to CIFS share. Either using command net use z: \\ip\sharename /USER:user pasword /PERSISTENT:yes or using mouse click on This PC and then *Map Network Drive&...
Łukasz Ślusarczyk's user avatar
0 votes
1 answer
669 views

How do I mount a filesystem without the mount point changing owner to root?

I have two samba shares on a remote server (Debian 10, stable) on my home network. On my laptop (Debian 10 stable), I would like to automatically mount these shares to my local filesystem tree. To ...
PatMcTookis's user avatar
1 vote
1 answer
3k views

Mount CIFS - permission denied

I try to mount a folder shared by Windows 10. The Win10 client is part of a corporate domain. The user login is also part of the domain (local users are forbidden by domain policy). Using smbclient , ...
user_na's user avatar
  • 111
2 votes
0 answers
288 views

can't mount windows cifs share from ubuntu

I'm trying to mount a folder on a Windows 10 host from Ubuntu 18. Flat wired network, 192.168.1.xxx. Let's keep things really simple. On Windows, net share shows (among others) the default share ...
Camille Goudeseune's user avatar
0 votes
1 answer
589 views

Mounting zfs network shares in Ubuntu LTS 20.04 using cifs- mount error(2): No such file or directory

I have 3 Thecus NAS servers: a N5500 (Firmware: 5.03.02), a N5200XXX (Firmware: 5.03.02), and a N5550, (firmware 2.06.02.5.cdv) each configured as RAID 5. The N5500 and the N5200XXX are using zfs and ...
TheJanitor's user avatar
1 vote
0 answers
48 views

How to handle Win file server permissions when connecting from Linux?

Situation: We have a file server in Windows Server 2012 R2, and until now the workstations are running Windows. We are trying to use Linux in some workstations (CentOS 8), since all our apps run on a ...
Andre's user avatar
  • 37
0 votes
0 answers
3k views

Arch Linux - Cannot mount SMB Share with mount.cifs, but gvfs and smbclient work

I am trying to access a NAS over a Cisco AnyConnect VPN. I can access it fine on: Macbook (Finder's "Connect to server") Windows 10 (Map Network Drive) Arch Linux gvfs (thunar and gio mount) Arch ...
Brandon Nguyen's user avatar
4 votes
1 answer
1k views

How can I mount a CIFS share from an MS-DOS computer

I am using 2 MS-DOS computers + 1 Windows 7 computer + 1 Raspberry Pi are connected to Cisco router through ethernet. I am easily able to map DOS shared folder in wWindows computer, \\DOSMCJB\DAT ...
Bhuvan Kumar's user avatar
0 votes
0 answers
94 views

mount CIFS share failed after FreeNAS server upgrade

I upgraded a FreeNAS server from Ver 9.X to the latest 11.3. Configuration has been saved prior the upgrade and restored on the new installation. Currently, a remote Linux machine is unable to mount ...
user211773's user avatar
1 vote
0 answers
2k views

set ACLs on a cifs mounted folder: possible?

In short: I have mounted a CIFS folder from a remote server. I would now like to share this folder with my local samba server, which is part of a domain, using windows ACLs. Is this possible? How ...
Megauser's user avatar
0 votes
1 answer
843 views

cant get cifs to mount network drive during boot using fstab

Im trying to get a network share to mount on startup using cifs. I can get the share to mount after linux boots, but for some reason I cant get it to work when editing the /etc/fstab file. Here's the ...
Tom D's user avatar
  • 103
1 vote
0 answers
45 views

How to print samba share options?

Considering a standalone samba server. Looks like the number of share options goes over a couple of hundreds, like presented in https://www.oreilly.com/openbook/samba/book/appc.pdf. The options set ...
KcFnMi's user avatar
  • 564
1 vote
1 answer
3k views

"Stale file handle" on CIFS mounted share

So I have a Kali Linux 2019.4 box on which I run a monthly script that mounts 4 CIFS shares from which I go grab a couple of files. That script has always ran well without any issue, but since ...
Aura's user avatar
  • 283
0 votes
0 answers
447 views

How can a macOS SMB share be mounted on Linux so that symbolic links can be created on it?

There is lots of conflicting information about it and it seems to depend a lot on the versions of various modules, and specific mount options. I'm not looking for the symlink "emulation" (mfsymlinks),...
user137063's user avatar

1
2 3 4 5