Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [smb]

smb is an abbreviation for Server Message Block, a network protocol for sharing files and printers implemented by Windows, Samba and others.

0
votes
1answer
23 views

Set SMB2 protocol in Samba 3.6.6

I've decided to switch to the higher version of SMB in Samba (at least 2) - mostly because of the security reasons. I've tried to add to the smb.conf in the [global] section: client min protocol = ...
0
votes
2answers
39 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 ...
0
votes
0answers
195 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
1answer
30 views

can not set user write permissions to file in SMB mounted directory [duplicate]

I have mounted a Windows 10 directory so I can edit some files on my Windownz machine. sudo mount -t cifds //W10/Users ~/public/ -o username=bobby When checking the directories they all have the ...
0
votes
1answer
56 views

Cannot connect to Windows 10 via smbclient because of the wrong password

I downloaded the samba package from arch (https://wiki.archlinux.org/index.php/samba#Client) Then I enabled Network discovery as described in this article: https://websiteforstudents.com/access-...
0
votes
1answer
45 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 ...
0
votes
0answers
48 views

Smb: share folder of an exFat drive

I have a hdd which is formatted in exFAT. Under linux the type is displaying fuse. When I am trying to share it with smb a folder of this hdd, I cannot access this over the network. If I share a ...
2
votes
1answer
103 views

smb-share connection time increases each reboot on windows PE

We are currently developing a system that does automated BIOS updates for our computers. The system runs in Windows 10 PE booted via PXE-Boot. One of the first steps is connecting to a SMB-Share ...
0
votes
1answer
101 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 ...
1
vote
1answer
200 views

samba protocol min max values available?

I am running Samba 3.6 in SLES 11.4. I recently added in /etc/samba/smb.conf in the [global] section the following min protocol = SMB2 max protocol = SMB2 this was done to allow communication with ...
0
votes
0answers
456 views

Connect to Windows shared folder via GUI application?

I have a Windows machine in my local network and want to access files on it. I've made some locations on this computer shared. When I'm using smbclient (console application) or mount utility with CIFS ...
3
votes
1answer
1k views

Linux to Windows - can list smb shares but cannot connect

This is a really weird one and all the research I've done so far isn't panning out. I'm trying to connect to a Windows share from CentOS 7.5.1804 to Windows Server 2008 R2 (no snickering and let's ...
0
votes
1answer
494 views

mounting smb shares without root permission

How do I mount network shares without root? It has been discussed a lot but I found no useful answers (sudo not acceptable, fstabs not acceptable, mount.cifs does not work without root either). The ...
1
vote
1answer
847 views

Linux based SMB share: can access only using owner account from Windows [duplicate]

In Windows when I connect using test_reader account I can access with no problems. However when I use peter account it gives me Access Denied. I did some testing and if I change share folder ...
0
votes
0answers
51 views

Samba login fails

I setup an Samba server and I tried to connect to it from a machine in the same VLAN, I can see the shares, and it asks me for a password but after that it fails with the following 2 lines in the LOG: ...
0
votes
2answers
133 views

QEMU: Problems when connecting Tails-VM to a Samba network share on host-machine

I run Tails in a virtual machine on a Debian 9 host. To access a shared folder on the host via Tails, I try to set up a Samba-exchange. While this approach worked completely fine in Debian 8, it does ...
0
votes
1answer
742 views

Closed - Unable to delete file from mounted location (SMB share) as root

UPDATE: It seems like the problem was caused because of another service which had nothing to do with smb. Apologies for not having a proper resolution and I am just closing the issue. I have mounted ...
1
vote
1answer
457 views

smbget gives always “File exists” [closed]

I am trying to use smbget to fetch a file from a Windows share from the command line, and whatever I try, I get the same (useless) error message: [bf@localhost syntess]$ smbget -U username%password ...
1
vote
0answers
57 views

`cp` fails writing to file / directory while `cat >` and `echo` work fine

On a RHEL 7.2 based system I try to copy files to a smb mounted location: cd /target cp /tmp/foo . This fails with this error message: cp: cannot create regular file ‘./foo’: Operation not ...
0
votes
1answer
728 views

Multiple Paths in Single SMB Share

I like to make a read only share for a user whom has access to several root folders in my fileserver. I don't want to create a bunch of shares for each folder, can I somehow add multiple paths in smb....
0
votes
0answers
4k views

GNU Samba server: check SMB version of exported and mounted shares

I have a NAS Zyxel NAS326 running on Linux acting as Samba server. I can't exactly say which Linux distribution, this is all I get from "uname -a": root@nas326:~# uname -a Linux nas326 3.10.39 #1 Fri ...
1
vote
0answers
55 views

Mount SMB share (usb in router) on Raspberry error 56

I'm having trouble mounting my USB in router on my Raspberry. Status so far: I can access the drive on both my windows machine and mac machine. I can access the drive on my raspberry somehow (...
0
votes
1answer
128 views

put oldest file in log.txt on smbclient

We have 94 PC's on 1 site. There is a folder that we need to check for the oldest file in that folder on each PC. I can run a .txt file with all the IP's in a loop, but I don't know how to check and ...
1
vote
0answers
548 views

Printing to CUPS via SAMBA shared printer slow

We have a Debian print server running CUPS. In CUPS we have a Raw print queue configured that connects to our networked printer via IPP. I've also shared this printer to our Windows users via a Samba ...
0
votes
1answer
813 views

problem with smbclient login

I have to copy a file from a linux server to a windows but i have some problems wth the smbclient's login because i need to do this automatically in a script. This command smbclient -U LR //10.123....
0
votes
0answers
927 views

How to view and browse windows shared folders in entire local network?

So as the name suggest, I'm looking for a way of displaying all shared folders on all shared machines in a local MS Windows network. I can list shares on a known windows machine with: smbclient -L //...
0
votes
1answer
159 views

Tails: How to connect Tails to a Samba network share?

Quick question: Is there any way to connect Tails to a Samba-based shared-folder in the local network? Big thanks to @cacahuatl I found an answer for this part! Now the more difficult part is: Do I ...
1
vote
1answer
318 views

smb.conf using different SMB protocol for different SMB share

So far I was trying to boot the HyperV VM from SMB share, it was failing with error "Remote SMB does not support resiliency". Finally I found that it only works with SMB2_02 protocol by adding below ...
0
votes
1answer
329 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 ...
2
votes
0answers
356 views

How to get persistent (permanent) smb mount using kerberos authentication on RHEL7?

Environment: I have joined a few of my RHEL 7.3 boxes with MS AD domain using realmd/sssd. I have allowed only members of a few allowed groups can login to the box. Credentials caching is disabled. ...
0
votes
0answers
336 views

modprobe: ERROR: ../libkmod/libkmod-module.c:959 command_do() Error running install command for cifs

after I searched through a wide amount of posts in different boards, tortured google in any way possible and tried a lot of stuff myself I came to a dead end. I try to mount a Strato Hi-Drive (http://...
1
vote
0answers
352 views

Why doesn't Samba represent Linux symlinks as NTFS symlinks?

Samba is showing/representing symlinks as regular folders. NTFS has symlink reparse points, and these can be represented via UNC - I tried sharing the Users directory in Windows and it showed the ...
3
votes
1answer
1k 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 ...
1
vote
0answers
305 views

Mount SMB on boot

I have a NAS share mounted in CentOS7 through SMB. I did this with: sudo mount.cifs //10.23.83.7/Videos /mnt/smb/plex -o user=plex This is clearly for a Plex Media Server, but when I reboot it is no ...
0
votes
1answer
681 views

Browse windows network with Thunar

I have a clean installation of Xubuntu 17.10 but when I open Thunar and try to "browse network." I get an error that says "failed to retrieve share list from server. Connection timed out." The other ...
1
vote
1answer
6k views

How to force Samba to use SMB 3.0?

With SMB 1.0/CIFS being removed from Windows 10 in Redstone 3 update due to vulnerability, this will conk out a lot of systems relying on older network hard drive enclosures. I have a Linux-based ...
1
vote
1answer
65 views

copying a file from one linux disk to another via windows smb has pauses

Bit of an odd question, and very hard to search on. What I am doing is copying a file from a mech disk to an ssd on an ubuntu 16.04 system, via smb shares. The copy works, but it will run at about 80-...
2
votes
1answer
160 views

How to disable encryption client side, in Linux, when mounting an Azure share with mount.cifs using SMBv3?

I checked the whole man mount.cifs and also everything I found related to SMBv3. I have the following scenario: A Ubuntu 16.04 VM in Azure, with kernel 4.12.11. A Azure Files share, with "Secure ...
1
vote
0answers
2k views

In midnight commander, how is a windows domain specified when making an smb connection?

Midnight commander allows making network connections to SMB services (if compiled with support for the SMB file system). The help contents for detailing how to make an SMB connection are these SMB ...
0
votes
0answers
2k views

Very slow CIFS/SMB performace

I switched from NFS to SMB/CIFS since the permission system of NFS annoyed me. I never had performance issues while using NFS (1GB Lan) and had about 70-90 MB/s write and read speed while writing to ...
0
votes
1answer
12k views

Mounting a Windows shared drive to Kali Linux

Edit: Ok. I was able to mount a single drive. What can I do to "mount" the entire server? This is my situation: I have a couple of Windows 7 machines, that share folders and entire drives. I am ...
2
votes
1answer
170 views

Mounted SMB shares: permission troubles with UID mismatch between client and server [closed]

On the Linux machine LinuxClient I'm trying to mount an SMB share backups located on the Unix machine Server. I want to provide separate directories within backups for different purposes, and I want ...
0
votes
1answer
343 views

smb.conf min protocol = SMB2 timeouts from remote (local network) machine

I've tried to include min protocol = SMB2 to improve the security of my local Linux machines. But when I do this, I get time out from within KDE and Operation Not Supported from CLI. Removing the ...
0
votes
1answer
115 views

CIFS share available only via VPN. Firewall disabled

Suppose the following setup: VPN: VPN server (docker + openVPN) FS: File storage (cifs share) Application, Load Balancer, Database, ... Both servers are root access ubuntu server virtual machines ...
1
vote
0answers
66 views

cygwin: ls -i reports wrong inode number for files in UNC path

I have a multiple-version backup, that uses hard links for files that have not changed from version to version, in my QNAP NAS. The backup target is an external EXT4 disk connected via eSATA to the ...
8
votes
1answer
6k views

CIFS randomly losing connection to Windows share

I have had a couple of directories mounted remotely from a Debian Jessie, in a Windows share, for a few months. In the last weeks, I keep having complaints of random disconnects from the mountpoint, ...
2
votes
2answers
2k views

Determine SMB shares I have read and/or write access to

For a series of targets (IPs), Id like to determine which SMB shares my account has no access to, which it has read access to, and which it has read/write access to. Currently I am using smbclient. ...
6
votes
2answers
2k 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
0answers
806 views

Nemo fails to open SMB share: “Connection timed out”

Recent events forced us to upgrade our windows share servers to use Samba version 3.0. Nemo, the file manager, cannot open the windows network share, producing an error on every attempt. Using both ...
1
vote
1answer
1k views

Can No Longer Mount Windows File Systems (Since May 9th 2017)

For over a year, I've been able to backup numerous Windows servers using Ubuntu Server 16.04, but this all stopped working on Tuesday May 9th 2017. Here's how I'm mounting these windows file systems ...