Questions tagged [cifs]

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

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

Mount partition in VPN

I have the following problem I have edited the fstab to mount a partition with CIFS network. //192.168.0.1/sharefile /home/user/sharefile/ cifs username=linux,password=12345678,user=user,uid=1001,gid=...
0
votes
0answers
16 views

CIFS mount error 13 after errata installation

Over the weekend I installed Errata on several servers, some of the errata were SAMBA related: Updated samba-3.6.23-51.el6.x86_64 @rhel-6-server-rpms Update ...
0
votes
0answers
10 views

autofs cifs samba

Automounting not working correctly for CIFS shares; weird results Base on the above question, my issue is that my samba/cifs password do have '*' and '&' characters which point me to the lines: ...
0
votes
0answers
21 views

mount in fstab with krb5 at login

I have a cifs fileshare that I use. My organisation requires that it uses Kerberos so it's mounted with sec=krb5. This is fine, but I'd like it to mount after login automatically without having to ...
0
votes
1answer
57 views

Cannot change ownership to uid 1001, gid 1001: Invalid argument

I'm installing ONOS and following this guide: https://wiki.onosproject.org/display/ONOS/Developer+Quick+Start I executed the command sudo bazel build onos This will compile and assemble the ...
0
votes
0answers
20 views

Mounted device accessible per command line only after file manager

after hours of testing with /etc/fstab, I can finally reach my NAS shares with nautilus. However, I can't access the shares per command line (I use terminator on debian 10, NAS is configured with ...
1
vote
1answer
122 views

How to mount Windows CIFS in Linux server using PKI authentication?

I have a Windows File Share server and want to mount those CIFS in Linux server using PKI authentication. This is the command to mount Windows shares in Linux using username & password: mount....
0
votes
0answers
91 views

Connecting to DFS share

I'm on a Ubuntu machine and I need to access files on a DFS that is on our intranet. I'm trying to mount the folder so my scripts can access it. I'm not experienced in this kind of stuff so I ...
0
votes
1answer
16 views

Link different CIFS mounts of different users to the same location

Many users on the client each have personal CIFS password-protected mounts to the server in their respective home folder. E.g., /home/user1/server/share1 (mounted with credentials for user1) /home/...
0
votes
0answers
62 views

Mounting a share read-only from fstab on a Windows Domain with Ubuntu Windows Linux Subsystem?

There are windows machines out on the network and I want to mount for instance \\Some-Box\c$\Program Files (x86)\calc I went into the man page for mount.cifs and found the following: sec= ...
2
votes
0answers
18 views

Putty's terminal freezes during windows share accessing just after resuming VM after suspending

My system is Oracle Linux 7.4 VM on VMWare Workstation 14 I have the next record in my /etc/fstab: //someip/someshare /mnt/temp cifs rw,user=someuser,password=somepassword 0 0 After the system ...
0
votes
0answers
83 views

kern.log being flooded by CIFS STATUS_LOGON_FAILURE. How to stop?

Ubuntu 18.04. I have a CIFS mount that apparently blew up somehow. My log is being flooded every 2 seconds by this: [4648495.276604] Status code returned 0xc000006d STATUS_LOGON_FAILURE [4648495....
2
votes
0answers
185 views

Azure File Share CIFS Mount Not Deleting File

There's a file that's present on the Azure File Share mount that refuses to go away. It shows up in the directory: ls -l foo -rwxr-x--- 0 bin bin 1024 Aug 13 20:53 foo However, trying ...
0
votes
0answers
37 views

Can not delete folders on SAMBA mount point as root. Error: Directory not empty

I have a remote SAMBA folder mounted as: # /etc/fstab //remote/backup /backup cifs iocharset=utf8,vers=3.0,sec=ntlmssp 0 0 But I can't delete some empty folders as root: root@server $> mount /...
1
vote
0answers
24 views

KDE/Qt file dialogs locking up on network drive problem — how to disable network drive queries

First of all, I am aware that when a network mount (CIFS or NFS for example) has a broken connection, blocking is an expected behaviour to avoid data and filesystem corruption -- referring to these ...
1
vote
0answers
40 views

Sharing a block device as a file through CIFS

Is it possible to share a block device through CIFS on Linux? If yes, how? I.e. I have two computers, Linux on box A, and Windows on box B. I have a hard disk connected to box A, it's name is /dev/...
0
votes
0answers
284 views

Mounting SMB network share

I'm trying to mount an SMB share on my Chromebook which runs Linux, but I get a strange error cifs filesystem not supported by the system I did install cifs-utils, samba-common and samba user@...
0
votes
0answers
36 views

Set group as owner of cifs mount in fstab

Is it possible to mount a cifs share in fstab with setting the group as owner? So anyone in the group can chmod without sudo? These are the options I've tried: rw,mand,vers=3.0,gid=,file_mode=0664,...
0
votes
0answers
25 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
124 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
219 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
123 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 ⁠//...
1
vote
1answer
80 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
26 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
269 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
31 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
152 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 ...
2
votes
0answers
2k 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/...
1
vote
0answers
35 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 /...
1
vote
1answer
549 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
877 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
51 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
121 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
221 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
520 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
679 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
471 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
399 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
517 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
359 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
723 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
111 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
508 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
541 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
56 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
32 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
265 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
211 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 ...
6
votes
1answer
628 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
1answer
84 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 ...