Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
1 vote
1 answer
91 views

Cannot mount CIFS althought kinit return me a ticket

I'm using Ubuntu 22.04 to mount a remote SMB share : $ kinit [email protected] Password for [email protected]: $ sudo mount.cifs "//x.y.z.t1/Extension_2" /mnt/remoteShare/ --verbose -...
SebMa's user avatar
  • 1,843
0 votes
0 answers
108 views

Cannot mount CIFS with Kerberos from Synology DSM 6 and 7 : mount error(22): Invalid argument

I'm trying to mount a CIFS share from a Synology DSM 7.0 : $ sudo mkdir /mnt/ADN_Archives $ echo $? 0 $ kinit [email protected] $ echo $? 0 $ sudo mount.cifs //myNAS.myDomain.lan/ADN_Archives/ /mnt/...
SebMa's user avatar
  • 1,843
0 votes
0 answers
459 views

How to debug Samba/SMB/CIFS timing error

I'd be grateful for help with the following which seems to be a timing issue: The samba server is an Asustor FlashStor running ADM 4.2.5.RN33 and under the good the smbd 4.12.8. The client is an ...
HPF's user avatar
  • 1
0 votes
1 answer
236 views

symlinks on Samba share created by linux client (mfsymlink) not working on server

On my mounted Samba share I can create a symlink from a linux client by simple ln -s hello.txt hello.sl This works for the client (on linux) when 'mfsymlinks' option is enabled, but the symlink doesn'...
manµ's user avatar
  • 3
0 votes
0 answers
194 views

Debian: mounting cifs shares starts to early or timeouts at boot

I am on debian bookworm and have the following entries in my /etc/fstab; at random, one of these SMB / CIFS shares are not mounted with an error of -112. I think this has to do with the fact that the ...
tkhobbes's user avatar
  • 101
1 vote
0 answers
4k views

mount -t cifs + mount error(13): Permission denied

we have windows server with IP address - 98.12.23.34 and with folder max_stage from windows browser its looks like: This PC > max_stage(K) and we want to mount the WIN folder max_stage to /mnt/...
King David's user avatar
1 vote
0 answers
2k views

Ubuntu 22.04.3 LTS: cifs_mount failed w/return error -5

In my home network, I have a few very old hard drives in a NAS that I mount with the following fstab configuration: //192.168.1.35/Volume_1 /mnt/Disk1 cifs _netdev,rw,guest,uid=128,iocharset=utf8,vers=...
Geert's user avatar
  • 111
0 votes
0 answers
187 views

R Pi Samba mount error 112 (on an Zyxel NAS which had been mounting fine for 2yr using vers=1.0)

I have a raspberry pi 4 4gb which I've been using for 3y, initially as a Plex server and now as a backup file server. I have this old zyxel nsa310 NAS device that works very well up until now, with a ...
Igor NOVITZKY BASSO's user avatar
0 votes
3 answers
661 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
1k 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
  • 51
1 vote
1 answer
460 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
391 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
1 vote
1 answer
408 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,283
0 votes
0 answers
268 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
740 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
2k 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
1 answer
261 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
664 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
3k 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
5 votes
2 answers
6k 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
  • 603
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
620 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
  • 181
1 vote
1 answer
692 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
11 votes
2 answers
14k 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
1k 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
1 vote
2 answers
6k 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
1 vote
0 answers
953 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
2k 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
884 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
6k 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
  • 461
1 vote
0 answers
394 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
1k 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
  • 717
0 votes
1 answer
247 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
3k 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
768 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
202 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
2 votes
0 answers
359 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
1k 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
1k 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
4k 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
491 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
690 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
145 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
  • 137
0 votes
0 answers
4k 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
111 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
1k 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
  • 113

1
2 3 4 5