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.

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

smbclient throws “ERROR NT_STATUS_IO_TIMEOUT”

I am trying to get a SMB connection to a HTB box with an open SMB port. But smbclient throws an "ERROR NT_STATUS_IO_TIMEOUT" error every time. I've added client min protocol = CORE client ...
0
votes
1answer
16 views

Remount SMB file system if unmounted

I have a SMB share via my router that I use to share docs between 4 rPi4B's. I mount the drive on boot via gstab with the following line: //fritz.box/fritzbox/NAS_USB /home/pi/Documents/Dateiserver ...
1
vote
0answers
22 views

SMB mount with Kerberos

I have set up a server with Fedora 33 and joined it to an Active Directory. This worked successful and users can authenticate themselves with their Active Directory user names. I can also see my Linux ...
0
votes
0answers
36 views

Why is the filesize of my disk twice as small in 'df -h' compared to 'lsblk'?

I just bought and installed a 4TB NAS HDD to use as a SMB Share. Through windows it only shows me a capcity of 2TB instead of 4, which I found out is because Samba uses the 'df -h' command, whereas I ...
1
vote
0answers
10 views

Use ethernet port for smb share transfers, but smb should still be accessible over wifi

I'm pretty new to Linux networking and I'm not sure how to fix a file transfer issue I have. I have two Raspberry Pis. One is running Raspberry Pi OS and the other is running OSMC. Both are connected ...
0
votes
1answer
29 views

Solaris 11: zfs smb share works only as guest

I'm on Solaris 11.4 I create a zfs fs zfs create rpool/share and I set for sharing via smb zfs set share=name=zfssmb1,path=/rpool/share,prot=smb,csc=auto,guestok=false rpool/share When I try to ...
0
votes
0answers
17 views

Edit smb.conf using a script

I need to add Netbios alias to the smb.conf file using a script. What's a good way to do this? I'll have to do this to multiple servers.
1
vote
1answer
28 views

Cannot scan (documents) to Samba share when using SMBv2

On my Debian Buster I have a Samba share that works fine from both Windows and Linux clients. I've configured the Samba with min protocol = SMB2 in smb.conf and with local user/password authentication ...
0
votes
1answer
38 views

How to make this Samba share accessible without any user/password login?

I have modified /etc/samba/smb.conf to create a [public] share: [global] workgroup = WORKGROUP log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-...
1
vote
1answer
48 views

Creating Symbolic link in SMB share

I am connecting to an SMB share, i have read and write permission. I am trying to create a sym link to a file outside the share, but i get the following error: ln: failed to create symbolic link '9' : ...
1
vote
0answers
277 views

smbclient protocol negotiation failed: NT_STATUS_IO_TIMEOUT not supported SMB dialect?

I'm trying to do some enumeration on the kioptrix vm from vulnhub and failing to list available shares using smbclient. According to nmap tcp/139 is open. I've used metasploits auxiliary smb_version ...
0
votes
0answers
13 views

Samba Network Share - Server X Client Timestamp

When I modify a file in a samba network share this file will have the server's timestamp and not the client's as shown in this image... Is it possible to make the client's timestamp prevail over the ...
0
votes
1answer
25 views

CentOS: Mount SMB remotly

Issue & solution: /srv/samba ownership was root:root; changing its group with chgrp prv /srv/samba/ allowed me mount it using user prv:prv from a remote machine. Note that /srv/samba/foo's ...
0
votes
1answer
38 views

Transfer files between two Ubuntu machines over ftp

I wonder how I can transfer files between two machines running ubuntu using FTP? Also what is the best fastest configurations to transfer files over ubuntu (cifs, smb, ftp,...)? Also is it worth it to ...
0
votes
0answers
10 views

Debian: SMB cannot unmount a shared DVD drive used by SMB

Here's the trace of the problem: I noticed that a DVD drive mapped to a shared location in a Debian-based system cannot detect any new discs. I figured the issue was caused by the fact that new discs ...
0
votes
0answers
404 views

RHEL - Mounting CIFS Permission Denied (Error code - 13)

I understand that a lot of people have posted on this issue, I have read through a whole lot of them before I try to post this question. I have tried the many of the provided solution, none have works ...
1
vote
1answer
412 views

linux - smb/cifs Stale cp: cannot open 'file.JPG' for reading: Stale file handle

I've got the following entry in my /etc/fstab: //fritz.box/fritz.nas /mnt/smb/fritz.nas cifs user,cache=loose,nohandlecache,username=name,workgroup=WORKGROUP,password=pwd,vers=3.0 0 0 ...
0
votes
2answers
701 views

Debian 10 samba (smb) share - cannot connect with any OS

I am attempting to deploy a samba share from a Debian 10 server, which I intend to use with both Windows, Mac OS X and other Debian 10 machines. I have been at this for a few days now and not been ...
2
votes
0answers
68 views

Using subversion on an CIFS mounted share

I am setting up an ubuntu svn/apache2 server for our production environment. Also, it is mandatory, that the actual data is saved on a centralized location in our environment(different server, mounted ...
4
votes
2answers
2k views

smbclient can access Windows share content, mount.cifs cannot

I have been given an account on a Windows file server. The (to me) very strange situation is that I can connect with smbclient, change to the (deep) subdirectory or show its content I can mount the ...
1
vote
0answers
568 views

Freenas and ACL permissions

I have been trying to set up the ACL on FreeNas 11.3 all day and it just does not work the way I think it should I am wondering what I am doing wrong. All I want to do is when a user creates a file in ...
0
votes
1answer
167 views

Start SMBD (Samba) with profiling parameter (For NetData)

I am trying to set up Netdata monitoring on my debian server. Netdata works with everything but Samba. To get it to recognize samba I have to do the following: smbd must be started either with the -P ...
0
votes
0answers
26 views

Samba config on raspberry os for NAS to mac os

I'd create a NAS server on raspberry Pi 4. Got connected external HDD, ext4 formatted. sudo mkdir /mnt/private sudo mkdir /mnt/public fstab file config sudo nano /etc/fstab UUID=XXXXXXXX /mnt/...
1
vote
1answer
1k views

In OpenMediaVault, how do I secure an SMB share with login and password?

I'm running a NAS server with https://www.openmediavault.org/ on a Raspberry PI. I've made a "shared folder", activated SMB sharing and within it created a share for this folder with "only guests" ...
1
vote
2answers
1k views

How to copy a directory from smb server to linux?

I'm trying to copy a directory from an smb link smb://source/path to a Linux machine I have tried rsync -av //source/path /destination/path and rsync -av smb://source/path /destination/path but ...
0
votes
0answers
85 views

Mount using DFS share 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: ...
1
vote
1answer
257 views

Mount SMB share on Ubuntu without kernel support [Linux Deploy - Linux on Android App]

I'm trying to mount a SMB share on Ubuntu, but this install is in the Android application Linux Deploy. This version of Ubuntu doesn't seems to have the cifs module in the kernel. $ find /lib/...
0
votes
1answer
393 views

Cannot log in into samba share with smbclient but mount it via cifs

The problem We have a NAS, which I can easily mount via CIFS, but I cannot access it via smbclient. On the NAS itself I have very little influence. I just got a permission for a set of shares there. ...
0
votes
0answers
13 views

Better way to share zpool folder for of ease of implementation, management, flexibility, compatibility, & security: SMB or NFS (latest versions)?

I have zpool on OpenIndiana Hipster that I'd like to serve as a Restic backup target repo for my Raspberry Pi 3B+ running Raspbian Buster. Should I share the target folder using SMB 3.1.1 or NFSv4? ...
0
votes
1answer
140 views

File corruption on samba share

I have a Samba 2.0 share, setup with a Western Digital WDTVLIVE device. I'm playing mp3 files from this share (from MacOS Music, Windows MusicBee and iOS Evermusic apps). What happened some days ...
0
votes
1answer
145 views

Accessing a directory on an SMB share without access to the parent directory

I have an SMB share from a Windows 2019 host: \\server\share I can mount this using mount.cifs to my Linux server on /mnt/ I'm then trying to access a directory a few levels down: \\server\share\...
0
votes
0answers
510 views

Mount cifs between two centos vms as user gives mount error(13): Permission denied

I am trying to mount a folder from centos vm (ver 8) to another cent os vm (ver 7) but getting the following error. Can someone let me know what is going wrong here. mount.cifs -vvv //server-ip//...
1
vote
0answers
286 views

mount could not resolve address for Windows server in fstab

I am having problems permanently mounting a Windows SMB share in Lubuntu 18.04.3 Desktop. I have installed smb4k and gigolo, and created a mount point sudo mkdir /media/newmusic sudo chmod -R 777 /...
0
votes
1answer
1k views

Samba multi user setup - step by step?

Tried it many times but never get the SMB sharing right on Unix. A minimal Debian file server, no GUI, just SSH... I always thought you set all the permissions in SMB and just found out you do it in ...
3
votes
1answer
636 views

Can't mount multiple shares from a Windows 10 machine on Linux

I have a machine (winten) running Windows 10 Pro that exports two shares (X and Y). I can mount either of those shares on my Arch Linux machine, but not both at the same time. The configuration in /...
1
vote
0answers
255 views

Issues interacting with Windows Shares without mounting

I am rebuilding a legacy system using Kubernetes, and do in some cases need to read and write files to Windows shares. I have tried working with our internal cloud providers to install various ...
1
vote
0answers
19 views

Linux - How to find a file with a keyword on a Windows network share

I'd like to know how i can find a file from Linux cli with a keyword on a Windows network share. I've searched for find, but there's no network command. I've searched for smbtree, but I doubt if you ...
2
votes
0answers
473 views

Samba shares - How to restrict access to Active Directory groups

I'm working in an Active Directory domain environment and am trying to configure some Samba shares so certain directories on a SUSE UNIX server are accessible by Windows clients. Access to each share ...
0
votes
1answer
77 views

SMB Not Able to Use Date Command Substitution

smbclient //10.10.101.29/it -W WORKGROUP -U user --password pass -c 'put ./file_$(date +%Y_%m_%d).file ./folder/file_$(date +%Y_%m_%d).file' The above does not work & gives me an error stating: ....
0
votes
0answers
2k 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
5k views

Can't connect to SMB shared Storage from Ubuntu 18.04

i have an external hard drive connect to my TP-Link router and shared using USB Share, i am unable to connect to this Share from Ubuntu, i can only see shared volumes but can't gain access. I can ...
0
votes
2answers
7k 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 = ...
1
vote
2answers
704 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 ...
6
votes
0answers
4k 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
3k 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 ...
1
vote
1answer
6k 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
2answers
890 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 ...
3
votes
1answer
439 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 ...
1
vote
1answer
2k 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 ...
5
votes
1answer
22k views

SMB 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 ...