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.

The SMB / CIFS protocol is highly used by Microsoft Windows operating systems. Windows for Workgroups was the first Microsoft operating system using the SMB / CIFS and every Microsoft operating system since then have come to possess the ability to function as a server or client SMB / CIFS. The Microsoft operating systems use SMB / CIFS protocol for remote file operations (typically the mapping network drives), navigation (via the Network Neighborhood, authentication (Windows NT and 2000) and remote printing services. It is reasonable then to say that the core of Microsoft's native network-based services is the SMB / CIFS.

245 questions
34
votes
9 answers

CIFS share mount errors

I'm trying to mount a network share from a Linksys NAS200 to Fedora 16. The program I am trying to run won't accept network addresses to save to. I ran it without specifying the IP address of the server and it comes up with some random IP. I…
Kendall
  • 483
19
votes
4 answers

SSH tunnel on Windows 10 to Linux Samba

I know This question has been asked a few times already but I think my problem might be slightly different. Maybe I'm not understanding the fundamentals of the issue. I have a Linux Samba share that I would like to ssh tunnel and use from Windows.…
18
votes
3 answers

Mount error(5):Input/output error on mount

I am getting mount error (5): Input output error on mounting to cifs windows share. Command executed: sudo /bin/mount -t cifs //server/folder /mnt/folder/ -o username="domain/username",password=password Error returned: mount error(5):…
17
votes
4 answers

How to mount a samba share on non-standard port?

The firewall on my network drops all packets on TCP port 139 and 445. So all samba shares don't work outside the LAN. I tried letting the samba daemon listen on a non-standard port. This method works well for linux, because both smbclient and…
hpsMouse
  • 341
14
votes
2 answers

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 10 Pro 21H2 OS Build: 19044.1526 Windows…
14
votes
2 answers

mounting a network drive cifs mac osx

I've been handed a mac and I'm having issues. I had an ubuntu setup where I would type: sudo mount -t cifs //fs/CakeRecipes /mnt/fs/CakeRecipes -o username=fegur,domain=KitchenLord,iocharset=utf8,file_mode=0777,dir_mode=0777 to get access to the…
Mr. Fegur
  • 297
12
votes
1 answer

Error mounting samba share, cannot mount block device xxxx read-only

After installing Ubuntu 12.04, I'm trying to mount a samba share from Windows under Linux, using a scripted command that's always worked, and the server hasn't changed. The error is as follows: $ mount -t cifs /// /media/ -o…
Jeff Ward
  • 518
12
votes
2 answers

Bash on Ubuntu on Windows Mount Network Share

I have updated Windows 10 and installed the new bash on windows. However on both PC's I have tried I am unable to mount a network share. I've tried many different ways to mount the share: sudo mount -t cifs -o username=xx,password=xx…
11
votes
1 answer

How can I stop $RECYCLE.BIN from being created (or hide it) on network drives/folders?

I have a Windows 7 desktop which has 3 drive mappings to CIFS shares on a FreeBSD home server. There are also special folders (Desktop, etc) stored on the CIFS shares. Each of these (including the special folders for some reason) has its own Recycle…
Alan Pearce
  • 1,016
10
votes
2 answers

Allow chmod on CIFS mount

I have a Windows 7 host, with a CentOS 6 guest under VirtualBox. I have a Windows directory shared with the Linux guest using CIFS. Everything worked fine so far, until I realized that all chmod operations yield: chmod: changing permissions of `x':…
BenMorel
  • 1,011
10
votes
4 answers

Automatic remount cifs/SMB after short network interruption

A Windowsserver provides a network directory called data via CIFS/SMB protocol. The data folder is mounted on a Linux client with password and user authentification. Sometimes the drive gets disconnected, but is available again after a second. I do…
Jonas Stein
  • 1,182
8
votes
2 answers

How to connect to a 3DS's SMB share from Linux?

Nintendo's New 3DS ("new" is part of the name) has the ability to expose an SMB share of its micro SD card. It asks you to define a name for the 3DS to appear as, and also a username and password. For the following, assume I've named the device…
George T
  • 418
8
votes
2 answers

What is going on when I can't access an SMB server share (not accessible error) until I run cmdkey to delete the credential?

I have a network connection share issue. The first connection works, and seems to stay connected for at least a few hours. However, after each time my windows 7 PC reboots, it can no longer form a network connection to the shared folder, nor…
Warren P
  • 3,019
8
votes
2 answers

"user" CIFS mounts not supported - fedora 30

I have a number of smb v1 shares. (I know that smbv1 is old and vulnerable but I can't change it) Because of the old smb protocol, I cannot use nautilus to open then. Instead, I used fstab entries to mount them. The entries in /etc/fstab look like…
Jounathaen
  • 629
  • 1
  • 5
  • 18
8
votes
2 answers

Linux Force Default Mount CIFS Version to 3.0

I'm running Ubuntu Server 16.04.3 LTS 64-Bit with cifs-utils installed, as a VM, on a VMWare ESXi 6.5 hyper-visor. I have a regular network share setup on Windows Server 2016. The objective is to utilize Veeam Linux Agent to Backup this Linux VM to…
Steven4x4
  • 81
  • 1
  • 1
  • 3
1
2 3
16 17