All Questions

Tagged with
Filter by
Sorted by
Tagged with
5
votes
1answer
376 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
0answers
83 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
225 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
218 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 ...
2
votes
2answers
310 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
0answers
391 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
53 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
2answers
242 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
1k 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
735 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 ...
0
votes
0answers
71 views

Samba User Accessible On Network

I am running Debian Stretch 4.9.0-6. I just configured samba. I added the following lines to the default samba.conf [global] security = user [share] comment = ZFS Samba Share path = /srv/mnt_point ...
2
votes
0answers
371 views

CIFS mount no longer working

I have several RHEL6 systems with the same configuration. I have had CIFS mounts working for years. However in the past month, it has stopped working on one of my systems and I cannot seem to figure ...
2
votes
1answer
3k views

system-config-samba crash with could not open configuration file `/etc/libuser.conf'

OS: Linux Mint 18.3 Xfce 64-bit. I am trying to re-install samba, so far I've done: sudo apt-get install samba cifs-utils system-config-samba But when running the configuration GUI: sudo system-...
0
votes
1answer
490 views

Prevent CIFS mount to constantly query SMB share Keep-Alive

I have an fstab mountpoint defined as follows: //host.local /media/share1 cifs noexec,nofail,auto,nouser,_netdev,credentials=/home/foo/.smbcredentials,gid=1000,uid=1000,rw 0 0 The network share is ...
4
votes
2answers
4k views

mount error(5): Input/output error

first of all I’d like to note that the issue in question wasn’t one till my latest kernel update. Before I could mount every network share easily and quickly with a mount -a command. I use only LTS ...
0
votes
1answer
100 views

Iptables rules to allow appVM to pass through proxyVM configured to only go through a VPN in QubesOS

I am trying to allow my appVM to communicate with my samba server on my local network. The problem is that I am forcing this appVM to go through a proxyVM which doesn't allow traffic to pass through ...
2
votes
1answer
3k views

Windows CIFS mount error “Function not implemented” or error -11 or -5

I'm trying to mount a shared drive hosted on a Windows Server 2016 on Linux. The following command works without an error: sudo mount -t cifs -o credentials=*,vers=2.1,iocharset=utf8 //IP/drive ...
3
votes
1answer
2k views

How to enable unix file permissions on samba share with smb 2.0+

I am trying to set permissions on a Samba share mounted with vers=3.0, but it does not work (with vers=2.1 or vers=2.0 also issue is present). As per SMB3-Linux cifsacl option is needed for setting ...
0
votes
0answers
4k views

CentOS 7 SSSD AD with Samba Share

I followed this site's tutorial to install SSSD (without WinBind) to join a Windows Server 2008 domain. And it is a great success. Before that I was trying to use Zentyal to set up share folders but ...
2
votes
2answers
2k views

mount.cifs (cifs-utils): Where do the default options come from?

I have a FreeNAS 11.0-U4 box running a CIFS share, which I normally access from my Linux system via an autofs mount. A few days ago, I noticed the mount misbehaving, displaying all files with useless ...
1
vote
1answer
294 views

Specifying a network interface for a cifs (samba) drive

Is it possible to mount a cifs drive using a specific interface? My scenario is that I have a vpn connection (tun0) and I have my normal internet connection (eth0). I can only access the shared drive ...
1
vote
1answer
2k views

mount error(13): Permission denied

I have problem mounting a network drive with fstab -> mount -a executed in bash. My fstab looks like this: //raspberrypi/NASHDD1/Download2/ /mnt/torpi/nashdd1/Download2/ cifs credentials=/home/balu/....
1
vote
0answers
623 views

Share mounted CIFS folder with Samba

I mounted, in my local CentOS Samba server, a shared folder located in a computer in another town using a VPN connection, and I verified that I can create, edit and remove files and folders in that ...
1
vote
2answers
9k views

What does browseable in samba configuration mean?

I tried the option browseable=no in my /etc/samba/smb.conf file. But after it was mounted, that share was still visible to other users through the mount point. But as from what I have learnt, setting ...
2
votes
0answers
364 views

What is the use of credentials file in multi-user samba? [closed]

I am trying to understand how samba works. I found out there are two types of sharing, single-user and multi-user. I am confused about what is the specific difference between the two? Does single-user ...
0
votes
1answer
2k views

How do i use Samba Share ACL & Posix ACL together on linux

I'm looking Share ACL & Posix ACL (File permission) combination examples. But I couldn't find an example how can i use both together... I was using "chmod A+" on solaris. What I should use on ...
1
vote
0answers
401 views

Preserve cifs file permissions in samba share

I have run into a weird samba/cifs problem with file permissions. Im running ubuntu and have a cifs share configured in my /etc/fstab //server.addr.com/folder/myFolder /home/Tommy/myCode cifs ...
0
votes
1answer
1k views

How to prevent: `CIFS: Unknown mount option “defaults”`? [duplicate]

Context: I want to enable a normal user to mount a certain cifs mount on his system (Debian Strech). I therefore added the following entry in /etc/fstab (note the added ,user in the options): //...
6
votes
2answers
3k views

Setting SMB 2.0 as default for mount operations

Using a mount -t cifs -v <address> returns with Host is Down error when connecting to a server running SMB 2.0 (with SMB 1.0 disabled). A workaround is to specify vers=2.0 to the argument list ...
1
vote
1answer
870 views

Cifs (samba) Share permission issue (unix + zfs)

I want to give Share permission to my cifs share but I guess unix only able to give file permission like: /usr/bin/chmod -R A+group@:full_set:fd:allow pool/test This is the bad way because I ...
2
votes
0answers
2k views

intermittently cannot access CIFS <path>: “Host is down”

We have 2 Amazon ec2 AMI linux instances (2017.03) that have mounts pointing back to different windows servers in our office and other locations using cifs. These mounts have been up for about 2 ...
2
votes
1answer
479 views

Cluster filesystem choice for reading/writing large number of small files

I'm setting up a small Linux cluster for my laboratory. Current we have an login node for job submit and 3 computational node, and they are connected by Gigabit LAN (sadly no infiniband). At first I ...
4
votes
0answers
171 views

Notification when someone is accessing my Samba/CIFS share

Is there any way I can get notification (preferably Gnome notification) when someone (privileged) is accessing my Samba/CIFS share? If there is no such a tool, I need to implement one. It's important ...
1
vote
0answers
511 views

Symlinks within a mounted cifs is appearing as directories

I have mounted a cifs(samba) share, and noticed that all the symlinks within the share are being shown as directories in the share. I have set unix extensions = no, in Samba. Side note, by setting ...
1
vote
0answers
144 views

Multiples cifs shares with noauto on same mountpoint only works with root

I have these entries in /etc/fstab //server1/share /mnt/folder cifs rw,uid=1001,user,noauto,username=user,password=password 0 0 //server2/share /mnt/folder cifs rw,uid=1001,user,noauto,username=user,...
0
votes
1answer
3k views

SMB/CIFS enable large rsize/wsize to netapp

I’m connecting from a Centos 7.2 client to a Netapp cifs fileshare. We had to swap over from NFS as we lost 30% of space due to a lack of “hole drilling”. Performance has slowed down due to cifs ...
1
vote
2answers
422 views

Can't delete file from samba share + Solaris + ZFS

My disk storage running on Solaris + ZFS and i can't delete a file from my cifs share. I tried from Windows + Solaris nothing works... I was thinking someone is using the file and i close my cifs ...
0
votes
1answer
510 views

How to mount a shared directory on a Samba server on Kubuntu 16.04

I have some python scripts that are on a Samba server. I first used them under Windows and now want to use them on a Linux machine. Therefore I mounted the server folder on my Linux machine (Kubuntu ...
2
votes
2answers
11k views

SAMBA/CIFS connection error

I have been getting errors connecting to samba/cifs shares from like 3 weeks ago, I have 4 machines, one with Windows, 2 with Fedora 24 and one with Fedora 22. I have shares on the two fedora 24 ...
1
vote
1answer
4k views

How to refresh remote file contents

I have a Ubuntu 14.04 LTS dev system, which shares some folders via Samba (samba 2:4.3.9+dfsg amd64). I mount such a share on a different Ubuntu system (mount -t cifs -o uid=$UID,gid=$(id -g),domain=...
0
votes
1answer
58 views

Export a samba share to a non-domain users

I have samba server configured as domain member. I'd like to export one share to 2 computers in addition to authenticated domain users. How can I do it?
2
votes
1answer
3k views

How to move files on remote CIFS share into different remote folder using e.g. smbclient

I am looking for a linux command to move set of files from one folder to another on windows box remotely. I tried smbclient, but when I use it for moving files I have to perform two step process: ...
1
vote
2answers
339 views

Permissions to allow files to be written, but not read, overwritten or modified

I'm setting up a file share for a small group (CIFS/samba on FreeNAS, so the base system is FreeBSD/ZFS using ACLs). I want to allow users to put stuff into a folder on the share - but not to be ...
2
votes
1answer
9k views

Using cups to print to windows domain with password in a separate file

Every guide I've seen so far that explains how to print to a Windows print server from CUPS, indicates to put the username and password, in plain text, in the Device URI either in the web interface (...
0
votes
1answer
161 views

get target file size by symlink on cifs share

in shared directory f:/dir on Win2008 absolute symlink created with mklink f:/dir/symlink2file f:/dir/file This share then mounted in Debian with mount -t cifs -o file_mode=0600,user=login,pass=...
1
vote
0answers
910 views

cifs-mount with multiple shared folders on windows server

I'm having a windows server winserv with several shared folders share1, share2, etc. and would like to cifs-mount them all in the terminal by just addressing the server and not each shared folder ...
5
votes
1answer
761 views

Why is sed changing permissions of a file on a cifs mounted share?

I have an Arch linux machine that uses the following fstab entry to mount a share: //192.168.3.1/Documents /mnt/ cifs credentials=/home/tal/.smbcredentials,rw,x-systemd.automount,iocharset=...
2
votes
2answers
1k views

Unstable mount with CIFS and NFS

I facing difficulties to mount a remote directory on my Debian machine: I tired to use both NFS and CIFS (Samba). For both methods, I am able to mount the directory and it functions adequately for 5-...
1
vote
0answers
224 views

Mount cifs permission problem on deep directory perhaps due to UNC and prefixpath splitting

I am trying to mount a directory (dir3). However, on the windows machine the directory /server/dir1 is already a file shared folder, but I don't have permission to it. I have been given the read ...
4
votes
1answer
4k views

how to change cifs timeout

Happens when from my laptop I change wifi network that I've to wait 5 minutes before that I can umount cifs share. mount -t cifs //ip/share /home/user/net/share -o user=user,pass=pass I didn't found ...