Questions tagged [cifs]

Questions regarding Common Internet File System. CIFS is a protocol that defines a standard for remote file access, allowing for cross-platform file sharing.

Filter by
Sorted by
Tagged with
0
votes
1answer
19 views

How to mount SMB share for multiple users

I have a proprietary NAS server than provides SMB services to access its content. The SMB protocol is stick to the V1.0 (can't changed that). I also have a ubuntu 20.04 server than should access to ...
0
votes
0answers
29 views

AutoFS CIFS Mount with Kerberos Fails at Boot Ubuntu 20.+

I have autofs mounting cifs user home folders at log in/boot absolutely fine on 18.04. Ever since 20.04, it now fails initially at log in, then after a delay, it will mount. All machines that are ...
0
votes
0answers
16 views

Unable to View Ubuntu 20.04 GUI

After trying to fix a Gnome issue my Ubuntu OS boots to the Console. After trying to load into the GUI with the code sudo systemctl isolate graphical.target I received this error [96.201264] CIFS: ...
0
votes
0answers
20 views

Mounting a Windows share in a Windows joined Ubuntu 18.04 system on login

So what I am trying to do in order to keep permissions on our file server secure is mount a windows share in a user's home directory on Linux which is joined to the windows domain using the user's ...
0
votes
0answers
41 views

mount a folder using cifs for ubuntu 20.04 server, is slowly accessed

I had mounted to an ubuntu server either 18.04 or 16.04. I's OK to access the mounted folder, but mounted to a 20.04 were slowly accessed. Are there any suggestion? //172.16.1.32/art/Public/media/APP ...
0
votes
1answer
211 views

Ubuntu Server 20.04 - cifs mount not working. cifs_mount failed w/return code = -2

Ubuntu Server 20.04 freshly installed on Raspberry Pi 4 and installed cifs-utils. sudo mount.cifs //192.168.0.5/SharedDirectory /home/ubuntu/windowshare -o user=myusername,password=mypass The above ...
0
votes
1answer
74 views

cifs mount failed with code -2

I'm new to ubuntu and Linux and doing my best to learn. My problem is as follows: I am trying to mount a shared folder from one 18.04.5 machine (a) to another 18.04.5 machine (b). The mount between (a ...
0
votes
0answers
67 views

Mount public NAS: mount.cifs: permission denied

quick question: Trying to auto-mount my Nas. I only use the public share (so don't need passwords) and I have followed this instruction: https://wiki.ubuntu.com/MountWindowsSharesPermanently So this ...
0
votes
0answers
113 views

Mount cifs on Ubuntu Operation not permitted

I'm tryng to mount a shared folder from a Windows Server 2003 in a Ubuntu 18.04 Complete server information: VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="...
3
votes
0answers
89 views

Updating to Ubuntu 20.04 partially broke my Windows mounts

I have an Ubuntu 18.04 server that I upgraded to 20.04 over the weekend (via do-release-upgrade). This server has a permanent mount to a Windows server (I think it's Windows Server 2012, because it ...
1
vote
2answers
4k views

CIFS mount problem, error cifs_mount failed w/return code = -2

I have a CIFS mount that was working but has broken. It still mounts with sudo mount -a but not at boot. The CIFS share is hosted on openmediavault 5 on a raspberry pi 4. I'm not seeing any errors in ...
0
votes
0answers
250 views

CIFS VFS: Close unmatched open client: Ubuntu 20.04.1 LTS server: TrueNAS-12.0-U1.1 mount

Running an Ubuntu 20.04.1 LTS with a cifs mount pointing to a TrueNAS-12.0-U1.1 server and sometimes I get the following error in dmesg: CIFS VFS: Close unmatched open This generally relates to an ...
1
vote
0answers
359 views

Ubuntu Server 20.04 refuses to mount SMB share from Fstab or CMD

I have tried multiple times with multiple ways to mount my nas to my Ubuntu server LXC for plex usage. For backstory, I am running a LXC container on proxmox with ubuntu server 20.04, with all the ...
0
votes
1answer
202 views

Stale file handle error when using SMB3

I am using a fritz.box NAS in my local network and want to mount the storage during reboot. I used to successfully mount and use it using SMB1 but as it is not considered secure anymore I opted to ...
1
vote
0answers
206 views

Permission denied when moving folder that I didnt create, in samba server, mounted with cifs

In a samba's shared folder, I don't have permissions, as a client, to either move a file I didn't create or to create things inside of it, even as sudo. Command used to mount the samba server : sudo ...
0
votes
0answers
44 views

No rename/move on mounted fritz.nas usb harddrive (touch,cp,rm works)

Trying to rsync files from my little ubuntu nas to a fritz.nas (7490) with usb harddisk attached as a simple BackUp solution. fritznas / hardisk ist mounted. I may touch, copy, remove, change (eg. ...
0
votes
0answers
51 views

How to configure samba server and samba client computers for multiple groups (users) with different access rights on a shared folder?

We have 2 Ubuntu computers: linux1 & linux2 (same OS Version, same filesystem ext4). linux1 is Samba server version 4.x. linux2 is Samba client. linux1 has the following directory on the local ...
1
vote
1answer
251 views

Getting errors trying to mount a share with windows

I'm trying to mount a share from Windows on a new 20.04 installation. sudo mount -t cifs -o username=*********,password=********* smb://SKYHAWK/Pape/ Windows Throws the following error Mounting cifs ...
1
vote
1answer
59 views

auto mount problem

I use this command for auto mounting in /etc/fstab //192.168.1.205/Public /home/backup/ cifs auto,rw,user,username=admin,password=apassword,uid=1000,gid=1000,iocharset=utf8 0 0 to mount a shared ...
1
vote
0answers
26 views

GUI to display mounted shares?

I have a media server with media stored on mounted CIFS share. I'm looking for an app like system-monitor-shell gnome shell extension which displays system resource status, but instead displays CIFS ...
1
vote
0answers
23 views

CIFS Fileshare 'randomly' cycling through different combinations of attributes

Would appreciate any assistance here, I have a file share (WD EX4100 NAS) on my docker host (Ubuntu 18.08.4 LTS - Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-123-generic x86_64)) that has been working until ...
1
vote
1answer
3k views

CIFS VFS: cifs_mount failed w/return code = -2 [duplicate]

On boot my nas mounts are timing out. But when I manually run sudo mount -a after login, they all mount just fine. The problem occurs with and without vers=3.0 $ dmesg [ 5.521690] FS-Cache: Loaded [...
1
vote
0answers
63 views

cifs mount differences: mount command vs fstab entry

I am experiencing a difference between two methods of mounting a volume. If I use mount at the command line: sudo mount -t cifs -o sec=ntlmssp,vers=1.0,credentials=/home/bob/.credentials,uid=1001,gid=...
1
vote
1answer
1k views

mount.cifs: permission denied after upgrading to 20.10

I have a NAS that up to version 19 I could mount at startup through fstab with this command: //192.168.1.99/data /home/user/data cifs username=uname,password=upwd,uid=user,file_mode=0660,dir_mode=0775 ...
0
votes
1answer
657 views

Samba/CIFS to Synology NAS not working: no write access after upgrade from 16.04 to 20.04

Just took the plunge and upgraded from 16.04 to 20.04 and has a bunch of issues getting my NAS drive to mount at all (fixed by changing the sex from ntml to ntmlssp) and I can access it now but only ...
0
votes
1answer
149 views

Mounting samba share loses file ownership info

I'm setting up a small domain. The AD DC runs samba 4.11.6 on Ubuntu 20.04. I wanted that samba instance to also host a cifs share for user homes that I could mount on client machines. So I figured I'...
0
votes
0answers
73 views

Unable to upgrade cifs-utils package

I'm trying to upgrade cifs-utils package on Ubuntu 18.04, but getting the following error. Errors were encountered while processing: /var/cache/apt/archives/cifs-utils_2%3a6.8-1ubuntu1.1_amd64.deb <...
0
votes
0answers
33 views

How to remount remote resources depending on network

I have a NAS at home, where all my working files. I am working both at home and in office. I want make a script that reconnect my NAS depending on where I am. If I am at home, then script will connect ...
0
votes
1answer
442 views

Ubuntu 18.04 mounting buffalo linkstation always with parse error in fstab

$ cat /etc/fstab gUID=b8e93e66-9575-44f9-8ef5-97665713b7e3 / ext4 defaults 0 0 /swap.img none swap sw 0 0 //192.168.1.103/share /mnt/Media cifs username=guest,uid=1000 g g Hi ...
1
vote
0answers
1k views

Mount windows share fails using command line but works using Files/Connect to Server

On my new PC running Ubuntu 20.04, I cannot connect and mount our organisation's windows share //server/share either by setting up fstab or by manual mounting such as: sudo mount -t cifs -o username=...
0
votes
0answers
16 views

Where can I fix this bug in Kubuntu?

So I use Kubuntu. And when I have my NAS powered off, I can't access the file save/load menu as it hangs. When I read /var/log/syslog I get the following logs: Aug 14 19:02:44 <hostname> kernel: ...
1
vote
1answer
1k views

Stale file handler when mounting CIFS SMB network drive from Fritz router

Using latest Ubuntu Server: Ubuntu 20.04.1 LTS I am able to successfully mount a SMB share volume from local Fritz Box router using this command: mount -t cifs //fritz.box/fritz.nas/wd -o rw,vers=3,...
0
votes
0answers
431 views

mount.cifs: silencing the “No dialect specified on mount” message

I am using autofs to mount CIFS shares automatically as described in the German Ubuntu users wiki. This works perfectly fine, except that every time a share is mounted, a warning message is logged to /...
0
votes
0answers
577 views

How to transfer a shared Windows folder to Ubuntu 20.04 server with schedule?

I try to do that with the next command: sudo mount -t cifs //windowsip/folder /home/back03/bachuphv1 -o users,username=admin,password="password",iocharset=utf8,file_mode=0777,dir_mode=0777 ...
0
votes
1answer
990 views

mount.cifs -o vers=1.0,sec=ntlm fails with No such file or directory

Note: this is NOT a duplicate of mount.cifs fails with mount error(2): No such file or directory, read until the end. I'm trying to mount a SMBv1 volume on Ubuntu 20.04. With smbclient I'm able to ...
1
vote
0answers
527 views

Shares are not recognized with smbclient due to NT_STATUS_CONNECTION_REFUSED

I'm trying to enable my samba shares again. I adjusted various configuration on different installations on the server (Ubuntu packages, source installation and Docker image dperson/samba) which can ...
0
votes
0answers
30 views

Auto mouting CISF share in ubuntu 18.04 give access to AD group

I am trying to create a golden image and want to set auto mapping for the domain users, however i do not want to hard code my credentials in /etc/fstab. is there a possibility on boot the share or ...
0
votes
0answers
603 views

CIFS: Close unmatched open; mount windows 2008 R2 on ubuntu 20 server

I have problem with mounted windows 2008 R2 share on new ubuntu 20 server. The command is executed without error, but when I try access mounted share I can't see any files once in 5 attempts. I get ...
0
votes
2answers
261 views

Backups not running, “Storage location not available” using samba server as target

I'm still pretty green with Ubuntu, but I had previously configured backups from one Ubuntu Server on my network to another to add redundancy to my family's file storage. This worked very well, until ...
1
vote
1answer
274 views

How to install latest version on cifs-utils (v6.10) on Ubuntu 18?

I am using ubuntu 18.04. I can see there are some fixes added to cifs-utils package in both 6.9 and 6.10. But when I try install in Ubuntu 18.04 only version 6.8 is installed. Can someone help me ...
0
votes
0answers
266 views

Ubuntu Core adding a cifs share

I'm very new to Ubuntu Core and would like to mount a network share to my pi3. Before I would just edit etc/fstab using cifs but when I try to use cifs it gives me an error mount error: cifs ...
1
vote
2answers
2k views

How to mount cifs share read-write?

I am nearly positive the fstab entry is correct here, but when the cifs share is mounted, it is read only. What could I be missing? /etc/fstab entry: //192.168.1.200/music/ /home/erik/Music-Bespin ...
0
votes
2answers
40 views

Connect to invisible SMB Server by bash script

I want to run a bash script like: #!/bin/bash read -p "username : " user_var read -sp "password : " pass_var echo printf "//abcde.fghi.de/jklmn /media/localfolder cifs domain=domainname username=$...
1
vote
0answers
232 views

Strange behavior with pam_mount

i have a strange behavior with pam_mount on an Ubuntu 20.04 (firsch installed). The client authenticates to an ADS (UCS server 4.4) with Kerberos. The client has joined the domain and I can login with ...
0
votes
0answers
420 views

Mount using DFS share ubuntu mount error(2): No such file or directory

I am trying to mount my share on Ubuntu 20 using the DFS share name not but it gives mount error(2): No such file or directory error. If I tried using IP it works well. This is what I am trying: ...
0
votes
1answer
1k views

How do I make browsing a Windows network work on Xubuntu?

I just installed Xubuntu 19.10. I like Linux and most things work great, but I can never get Windows networking to work. When I open the File Manager it has a Browse Network page listed under NETWORK....
0
votes
1answer
761 views

mount a CIFS share with full RW access

This is the first time I'm trying this. I would like to mount a sheared windows network drive on my linux server. following command is doing the job but it is just the read access : mount -t cifs -o ...
0
votes
1answer
127 views

Mounting a WD Livebook share on raspberry Pi using fstab

I have managed to successfully mount a WD Livebook share (called tv with Public access) using the following command: sudo mount -t cifs -o credentials=/smb-credentials,dir_mode=0777,file_mode=0777,rw,...
0
votes
1answer
197 views

Ubuntu 18.04 and cifs/smb shares missing in file>open dialog boxes

I've been using ubuntu since 8.04 but have only recently been working with 18.04. I usually stay one LTS behind. I installed handbrake and gigolo. I have bookmarks in my file browser sidebar and can ...
0
votes
1answer
1k views

Successfully set up Samba share with Ubuntu 19.10 but cannot access with some old devices

I have created a Samba share with Ubuntu 19.10 the most easy way: In the files browser, right-click on the folder I want to share, select "Local network share", then at first time a prompt will ask to ...

1
2 3 4 5
9