Questions tagged [cifs]

CIFS is a virtual file system in use by samba, and Windows servers to share files between different system.

0
votes
0answers
18 views

Why ls on cifs (samba) show recursive list [on hold]

I have a samba point mount on /backup folder (/etc/fstab): //remote/backup /backup cifs iocharset=utf8,sec=ntlm 0 0 And when I do a ls allways show all folders as recursive (with all errors related ...
0
votes
0answers
15 views

Issues with NFS/CIFS shares and martian packets when using two interfaces

Background: I have an isolated LAN. The switch is configured with 3 VLANs Here is how my network is setup VLAN Subnet Mask CIDR Range Gateway 10 192.168....
1
vote
1answer
45 views

Debian 'mount': same command different errors

I am trying to mount one of network share to my laptop. I am using following command sudo mount -t cifs //server.name/shared /mnt/myfolder -o user="username" However, I am getting very different ...
2
votes
1answer
23 views

AutoFS not working as expected with CIFS shares

I have this setup Client: Centos 7.6.1810 up to date Server: Windows 7 pro AutoFS Configuration # tail -1 /etc/auto.master /srv/xray /etc/auto.xray # cat /etc/auto.xray cdm8240 -fstype=...
1
vote
1answer
53 views

Accessing Windows 10 public share from Ubuntu without username or password

I have a Windows 10 PC with a public share set up, and want to be able to access files on the share without providing a username and password to connect. Other Windows PCs can access it using ⁠//...
0
votes
0answers
49 views

can not use mount.cifs: mount error(2): No such file or directory w/o password

I know there are several topics regarding this however, none of these solve my problem. I've tried the different options mendtioned here I have a router which exposed an attached disk via smb: \\192....
0
votes
1answer
14 views

mount.cfs asks for password when passing argument -o guests

I have Centos machine that want to mount files from NAS, but when passing guest user, it want password: mount.cifs //192.168.96.2/b/files/ /mnt/files -o guests,nocase In another machine near this ...
0
votes
1answer
60 views

Kerberos key fails with AutoFS

Our Kubuntu computers are configured to automatically connect to their network drive via AutoFS. When we upgrade machines to Kubuntu 18.04 LTS this AutoFS connection no longer works. It is still ...
1
vote
1answer
14 views

Remove multiple CIFS shares using for loop in AIX

I want to unmount multiple CIFS shares on my AIX LPAR using for loop. I created a file named cifs.txt containing all CIFS shares. Will my command work? for i in $(cat cifs.txt); do rmcifsmnt -f $i; ...
0
votes
1answer
36 views

Mounting Windows shared folder with fstab

I am trying to convert this command line: sudo mount -t cifs //192.168.20.202/torrents /media/NAS -o username=x,password=y,dir_mode=0777,file_mode=0777 Into /etc/fstab entry, but it keeps mounting ...
0
votes
0answers
340 views

Cifs Issues - mount error 2 no such file or directory

I am trying to permanently mount a NAS drive to my raspberry pi (running debian) by adding a line to the file /etc/fstab the line is like this: //192.168.a.real ip/photo/PhotoFrame /home/pi/NAS/...
0
votes
0answers
21 views

Allow all users full read/write access to CIFS share with automount/autofs

How can I configure autofs/automount so that every single user has full access to an auto-mounted CIFS share? More information This is what I currently have configured: /etc/auto.master /mnt /...
0
votes
1answer
120 views

How to mount cifs with kerberos for a generic user?

I am able to mount a corporate shared directory on my AWS Workspace manually but I need to do this for all users. $ sudo ksu [sudo] password for <Domain>\<User.Name>: Leaving uid as root ...
5
votes
1answer
305 views

Linux clients can't login on samba share while windows and mac can (active directory env)

Setup server Centos 7.6 Samba 4.8 Winbind SSSD Kerberos This machine is attached to the company active directory as member server but not domain controller (I followed the RadHat documentation to ...
0
votes
1answer
46 views

Is there a way for bypassing the usage of prefix 'sudo'

I am able to execute all the by using the prefix sudo. As of now I was able to remove the password dependency for user qedbuser. I would like to not use the word sudo. One my application is trying ...
0
votes
0answers
55 views

CIFS permission issues when mounting a NTFS partition

I'm attempting to mount an NTFS file share. sudo mount.cifs //address.fileshare.com/TestMount /home/me/TestMount -o username=MyUserName,domain=MyDomain,uid=MyUserName,file_mode=0777,dir_mode=0777, ...
0
votes
0answers
69 views

apt-get install cifs-utils corrupted system libraries — caused chaos

My Linux libraries seem to have suffered a severe corruption just after running (as root): apt-get install cifs-utils I need to correct the corruption or restore the original libraries. Note: I ...
0
votes
1answer
67 views

Mount cifs with Write access for group

I am trying to mount a cifs on RedHat 6.10 with below in /etc/fstab: //chq-qaedinas.chq.ei/DataHistory /DataHistory cifs auto,credentials=/etc/samba/user,noexec,umask=0002,uid=20588,gid=50011 0 0 ...
0
votes
1answer
179 views

Samba write access problem: parameter does not show in testparm even though it is in smb.conf

I am trying to get a samba share setup so that users have both read and write permissions. I thought that I would be able to do this by editing /etc/samba/smb.conf to add my share like so: [CLOUD] ...
0
votes
0answers
192 views

Samba: share is not accessible for AD groups

I have a CentOS server joined to an ID domain with realm(8) using sssd(8). I don´t have winbind installed, though. I can log fine with AD domain users into this CentOS server. I set up samba shares in ...
0
votes
1answer
231 views

mount -t cifs fails with permission denied

I have a Windows 10 share for a particular user. Then I have Debian:stretch in a docker container. I try to mount a shared folder like this: root@b9cda19f784c:~# mount -t cifs -v -o username=...
2
votes
2answers
276 views

File system compatibility with CIFS

I've been using my Raspberry Pi as a music file server, but I'm not happy with it. The current setup uses a samba server on my RPi with a WD Passport USB drive formatted as vfat. This serves as the ...
0
votes
1answer
132 views

fstab keeps asking for password, while trying to mount shared cifs

I have the following entry in my fstab file: //10.30.1.235/Restrito/BackupVms /backups/servidor01 cifs vers=2.0,credentials=/spassword,iocharset=utf8,gid=0,uid=0,file_mode=0777,dir_mode=$ 0 0 ...
0
votes
0answers
338 views

Access Windows share via CIFS and Kerberos: “Key has been revoked”

I'm trying to mount a Windows share on a Linux host (Ubuntu 16.04) using Kerberos / Active Directory authentication. The Linux host has been joined to the AD, and I can access shares on it from the ...
0
votes
0answers
50 views

cannot mount share from windows server on RHEL

I have a problem with mounting cifs share from windows 2k8 R2 on RHEL 5.3. When I'm trying to mount share I'm getting error mount error 112 = Host is down. Other win machines can access this share ...
0
votes
0answers
264 views

cifs smb mount stale file handle

I am mounting an SMB share and I have finally got it to give no error but the folder I am mounting to then has an issue. ls: cannot access 'cteratest': Stale file handle The fstab command sudo ...
1
vote
0answers
369 views

Error Mounting CIFS share on CentOS7.6 kernel 4.20, mount error(22): Invalid argument

I am trying to mount CIFS share from NetApp (Release 8.2.4P6 7-Mode) on CentOS7. I tried sec=ntlm which suppose to work but it says an invalid argument and if I change it to vers=1.0 which I think ...
0
votes
0answers
34 views

Error using synced folder with Vagrant

I'm using Vagrant with Hyper-V on Windows 10, and I'm trying to install Ubuntu 18.04 with a synced folder. The problem is that my synced folder isn't working. Here's my Vagrantfile Vagrant....
0
votes
0answers
22 views

Backup from Linux to a cifs USB drive in a Netgear router

I have a Netgear WNDR4500 (N900), with a USB drive from Sandisk formatted as cifs. I can map it as a drive from Windows, and it works fine. When I boot lubuntu 18.10, and try to mount it so I could ...
0
votes
0answers
98 views

Mount error although no process is using the directory

Trying to mount a remote samba share as follows: sudo mount -t cifs -o user=pkara //11.99.4.32/logstash_config /home/pkara/Workspace/logstash_atlantis/ getting the error mount error(16): Device or ...
1
vote
0answers
157 views

On CentOS 7 allow certain users Read & Write to mounted file systems of different types

I have a query around mounting file systems of differing types in such a way that a selection of users have r/w access to them. Here's the scenario. I've rebuilt a media server to Centos 7 minimal ...
5
votes
0answers
309 views

cifs: Cannot cd into a directory

For some reason I cannot cd into a particular remote directory for which I have access, it fails with: $ cd Data\ Services/ -bash: cd: Data Services/: Invalid argument This is how I mounted it: $ ...
0
votes
0answers
101 views

Cannot delete weird cifs file cifs<numbers/letters>

Occasionally on our cifs share there will be a file called: cifs1e3 Or something along these lines. cifs followed by some numbers and letters. These files cant be deleted or moved... I'm curious ...
0
votes
0answers
286 views

mount a cifs share with kerberos on linux with a sssd/kcm kerberos client

As a non-root user I would like to mount a samba share on my Fedora Linux with kerberos (non-password). I have a kerberos client running (sssd with the kcm server for kerberos tickets). when i do a ...
0
votes
1answer
49 views

allow windows shares through iptables in debian 9

i'am working on securing my lamp server(debian 9) with iptables. well as you probebly know. the principle is to block all ports and then allow only the ones i need. for the moment i've succeeded on ...
0
votes
0answers
43 views

mounting cifs share with Linux 4.15: do DNS names get resolved again in case of errors?

I'm operating a Ubuntu 18.04 server that mounts a CIFS/SMB share. The name of the server is provided in the form of a DNS record. The record points to one of several storage servers, allowing for ...
1
vote
0answers
25 views

CIFS debugging - not enough information

I am using RedHat RHEL 6. The goal is to identify whether an application running on the local server is setting 'HIDDEN' file attribute on the remote CIFS share. I have first enabled the logging in ...
1
vote
0answers
180 views

Changing permissions on CIFS files and folders from a Linux client

I'm using an Ubuntu 18.04 workstation in a corporate enviroment that is mostly windows based. The workstation has joined the Active Directory environment using pbis-open, and several shares are ...
0
votes
2answers
192 views

How can I fetch file metadata on cifs mounted folder?

In our company we have a shared Windows folder. If I access it from Windows, I can pop up Properties menu of a file and find its metadata: who created it, last access times and so on. On linux I have ...
3
votes
0answers
1k views

mount error(2): No such file or directory - CIFS - Rasperry Pi

I am playing around with a share on my NAS being unable to mount a SMB share. Based on the ubuntu smb documentation the command for mounting a SMB / CIFS should be as following: sudo mount -t cifs -o ...
0
votes
2answers
201 views

Merlin Asuswrt Cifs Smb Share cannot mount

After installing Merlin 380.70 on my asus router I cannot mount my USB-connected smb shares via cifs. I keep getting varying mount errors: 6 & 22 are the most common. I've tried changing the smb ...
1
vote
1answer
929 views

Mount an smb share with fstab vs sudo mount… problems

This works in the terminal.. sudo mount -t cifs -o username=user,password=pass //10.100.136.4/bus /media/bus This does not work in fstab on boot.. //10.100.136.4/bus /media/bus cifs username=user,...
0
votes
1answer
335 views

Mouting a remote drive with cifs

I've created a remote mounted drive by adding this to my /etc/fstab: \\192.x.x.x\web /mnt/web cifs username=X,password=X,domain=X and mounting it with sudo mount /mnt/web (which works perfectly!) ...
0
votes
1answer
663 views

How to enable access control for CIFS mount point available for multiple users?

I have a samba server configured with multiple users. By default, mounted cifs shares only use the credentials provided at mount. Everyone who can access the mount point accesses the files as the ...
1
vote
1answer
720 views

Mount cifs with group permissions

I want to mount windows network share with different permissions based on group owners should have read/write permissions, others, only read permissions I am adding the following line in /etc/fstab ...
1
vote
1answer
936 views

Allow write access for regular user on CIFS share

I want to mount one of my media folders of my Synology DiskStation (DS414J, DSM 6.2) on my laptop (Manjaro running on Kernel 4.17.18) via SMB/CIFS. I set up a DiskStation user called media that has ...
0
votes
1answer
174 views

Is udisks2 able to mount anything the command “mount” can? Can I mount smb shares for instance?

I know that udisks2 can be used to mount filesystems. But what kind of filesystems? By reading information around this is not completely clear to me. Can I only mount local filesystems? Or can I ...
0
votes
0answers
33 views

Allow user to enter username before mounting shared drive

I have a mount drive which I usually mount using sudo cifs -o "username=myshareddrive_username,uid=$(id -u),gid=$(id -g)" //server-address/folder /mount/path/on/ubuntu Now, I have some linux ...
0
votes
1answer
473 views

Cifs mounting subdirectories from linux

I am trying to mount two subdirectories from the same share name but cannot get it to work. # Mount the two different subfolders: # $server and $share are the same - the subfolder differs: $ ...
0
votes
1answer
413 views

Mount using fstab instead of terminal

I am mounting my shared drive using terminal in my Ubuntu machine like this: sudo mount -t cifs -o "username=${USER},password=${PASSWORD},uid=$(id -u),gid=$(id -g)" //server-address/folder /mount/...