Questions tagged [samba]

A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

Filter by
Sorted by
Tagged with
0 votes
1 answer
14 views

SELinux issue with FTP/Samba/Home directory

I am setting up my home camera to record to my NAS server (CentOS 8 Stream). I am using FTP for the transfer. I installed vsftpd and created a dedicated user (ftpuser). I want the files to be ...
user avatar
1 vote
0 answers
15 views

Make Samba report 0 bytes free to Windows

I have a Debian server running my samba share and use Win11 clients to mount it. Everything is working, I just had to change the dfree command to #!/bin/sh df $1 | tail -1 | awk '{print $2" "...
user avatar
1 vote
1 answer
27 views

Samba seems to be ignoring the setgid bit and is creating executable files when it shouldn't

This seems to pop up often (like here and here) but still haven't found a working and satisfactory solution. The problem is as follow: Mixed Linux and Windows environment; Linux users accessing thru ...
user avatar
0 votes
1 answer
29 views

smbclient works but mount.cifs doesn't (NT_STATUS_MORE_PROCESSING_REQUIRED)

I am attempting to access a file share on an old machine which uses SMBv1. This is a remote machine which I do not have physical access to, but I believe it runs Windows XP. I can access it fine using ...
user avatar
0 votes
0 answers
16 views

Samba share in fstab, setuid root not working but for one share

I'm mounting different SMB Shares from a server. All of the shares have the exact same server side configuration (minimum SMB 2.1, maximum 3.0, enforce encryption, ...). On my client side (laptop) all ...
user avatar
  • 1
0 votes
1 answer
33 views

fstab Read Only Error

I'm attempting to automate the mounting a Samba share using /etc/fstab, and I'm not sure how to translate the bash command into the format fstab is expecting. I'm able to successfully run the ...
user avatar
  • 1
0 votes
0 answers
14 views

Efficient way to dynamically change access rights for Samba; use ACL?

Suppose that I share the root of a data disk using Samba. The permissions I want are something like: There are only a few users. By default, the users can read all the content. Exception to 2: Some ...
user avatar
0 votes
2 answers
64 views

What is the requirement to execute chmod +x? 'rw' is not enough!

Please see my screenshot below. User chj executes chmod +x ichsize.out, but fails with Operation not permitted. ichszie.out has world-rw permission enabled, but it looks not enough. -rw-rw-rw- 1 ...
user avatar
  • 113
0 votes
0 answers
31 views

Why does Samba not maintain its own database of users and permissions?

When working as a standalone server, Samba has its own user database smbpasswd, but still requires each of its users has a corresponding local Unix user. It also relies on local filesystem permissions ...
user avatar
  • 445
0 votes
1 answer
37 views

How to Activate a Mount of a Remote Share When Its Machine Connects?

How can one activate a mount of a remote SMB share when the remote machine connects? This is more about discerning a local event triggered by the connection of a particular remote machine, than it is ...
user avatar
  • 155
0 votes
0 answers
16 views

Samba 4.15 DES-DBC-MD5

Is there a way to enable des-cbc-md5 ? I have opensuse Leap 15.3 and samba 4.15 and I need to accept Windows XP and Windows 7 clients. I read Samba 4.11 and des-cbc-md5
user avatar
  • 1
1 vote
0 answers
21 views

Check account status as a Samba domain member

I have a Rocky Linux 8.5 machine running as an Active Directory domain member. I've added it to the domain with net ads join command and I can run several commands to list domain objects as expected. ...
user avatar
0 votes
1 answer
180 views

How to share a folder in KDE Dolphin?

I want to be able to share a folder in Dolphin. Right click on a folder, then go to Share tab. Unfortunately I see a message there: "You appear to not have sufficient permissions to manage Samba ...
user avatar
  • 432
0 votes
0 answers
28 views

Can't make samba share writable

I'm trying to make my samba share (running on Debian 10) writable but it seems that anything I try just breaks the share and I cannot access it anymore. Here's my current configuration: [...
user avatar
  • 709
0 votes
0 answers
100 views

ksmbd on Ubuntu 22.04

I'm running Ubuntu 22.04 desktop, and I heard about the new ksmbd kernel module. I've upgraded the system from version 21.10. As of right now I have samba server and I want to migrate to the new ksmbd....
user avatar
  • 103
0 votes
0 answers
65 views

Does Samba ignore ACLs and umask?

I have an ACL on /media/drv: sudo setfacl -dRm u::rwx,g::rwx,o::r-x /media/drv Likewise I set the special directory group id bit on /media/drv like this: sudo chmod g+s /media/drv When I make a ...
user avatar
0 votes
0 answers
15 views

Problems getting read-write for GROUP with SystemD (and fuse.sshfs) Samba remote connection

SUMMARY I'm having trouble establishing a remote connection to a SAMBA share where a non owner, but member of the GROUP can write to. I'm using SAMBA in a Container (config detail further down) and ...
user avatar
0 votes
0 answers
10 views

How do would samba rsync replication behave with shares if they're mapped dynamic?

I'm trying to replicate shares, in case of fail, on multiple samba ad-dcs for windows clients and im not sure how rsync or rsync/unison replication would behave with that conecept. 2 Dcs, 2 subnets/...
user avatar
  • 1
1 vote
1 answer
50 views

Samba AD DC DNS Directory Service error

Clients can log in, pull the cached gpos, only the stored credentials for mapped drives are lacking. With the RSAT tools, of course, no more connection. Im really confused at this point because this ...
user avatar
2 votes
1 answer
46 views

samba shows `NT_STATUS_BAD_NETWORK_NAME'

We have a samba config that we were using for at least two years. That config includes [global] unix extensions = no wide links = yes Testing that config with smbclient -L <IP> shows ...
user avatar
  • 217
1 vote
1 answer
32 views

Strange rsync samba btrfs behavior by Files lesser than 26MB

i have created a btrfs filesystem on my Raspberry Pi with a simple subvolume Data01, to share for backup my Server i've created a samba share on raspberry After that i mounted the samba share on my ...
user avatar
0 votes
1 answer
37 views

How to setup linux-only Samba with user/group ownership same between server and client

Before I begin I should note that what I'm asking for was working perfectly with the "vers=1.0" flag added to mount.cifs. But after an OS upgrade on the server, which upgraded samba to ...
user avatar
0 votes
0 answers
35 views

Is it possible to run a samba server while disabling IPC$ at all?

I ran into the question as stated in the caption of the question: If I run a samba server I usually offer one or more shares. One share that appears to be always there is IPC$. From the documentation ...
user avatar
  • 7,019
0 votes
0 answers
74 views

Samba Share Server not Visible on Other Linux System Filebrowser(s)

So I have been struggling to configure my home server to have a samba share that works equivalently to other systems on my network. Here's how my samba configuration looks: [global] workgroup = ...
user avatar
  • 131
1 vote
1 answer
170 views

Kubuntu 20.04.4 LTS cannot mount domain samba shares (either from terminal or fstab)

I have been trying to mount a simple share. All domain users should have read permissions. Kubuntu was configured for domain, I can see domain and log in with domain user. When I access shares with ...
user avatar
0 votes
1 answer
66 views

Cannot access mounted drive through samba

So a few drives are mounted to user home via fstab at boot. UUID=XXXX-XXXX /home/user/10TB exfat defaults,uid=1000,umask=000 0 0 Then I ran this command for samba to access home directory: sudo ...
user avatar
  • 135
0 votes
1 answer
26 views

Mac can access Samba folder on CentOS but can't read anything

On Mac, used finder - go - connect to server to connect Mac to the Samba on CentOs. I connect with Linux user name and password. Then the home directory appears. The issue is that all files show up ...
user avatar
0 votes
1 answer
44 views

Samba Linux Suse Enterprise 15 - Access Denied

I'm trying to set up Samba in a linux SuSE enterprise 15 environment, however when I'm trying to map the linux share to windows a pop up for a log in is showing and everytime I log in it returns ...
user avatar
0 votes
0 answers
93 views

Mounting SMB Drive permanently for specific User

System: Fedora 35/Gnome 41 Windows Shared Drive with credentials and domain Goal: Shared drive is mounted and usable when I'm logged in. What I already did: Added the network drive via Gnome Files (...
user avatar
0 votes
1 answer
19 views

smbldap-useradd: what are the different addresses for?

smbldap-useradd has some parameters to specify addresses for the user: # smbldap-useradd --help | grep -i addr -M e-mail address (comma separated) -O localMailAddress (comma separated) -T ...
user avatar
  • 548
1 vote
0 answers
161 views

Cannot open samba share in file manager but can mount it using CLI

I am running Ubuntu 20.04.3 LTS on my machine where I am trying to run docker container (ubuntu based) with samba. The container is running in a background. I can mount shared folder to host OS using ...
user avatar
  • 11
0 votes
0 answers
19 views

File manager's upload progress freezes for cifs mount

I've observed this on Arch (with Dolphin) and Mint (with Nemo). If I try to move/copy a large file to or from a CIFS mounted drive (via a file manager), the progress window pops up and the progress ...
user avatar
0 votes
0 answers
70 views

Clarification regarding CVE-2020-25717

We use CentOS 7 and have only samba-client in our deployment. (We do not have samba server in our deployment.) Does the CVE-2020-25717 affect our deployment?
user avatar
  • 101
0 votes
0 answers
18 views

Samba: Control illegal character substitution

Samba seems to be substituting a file name on Linux that contains illegal characters for Windows. For example, a file name like This | is illegal?.txt on Linux becomes something like TDASDFJ~1 when ...
user avatar
1 vote
1 answer
69 views

Network discovery does not find Samba?

I have a simple Samba server set up with the following smb.conf: [global] workgroup = MYWORKGROUP netbios name = MYNAME server string = Samba server server role = standalone server hosts allow = 192....
user avatar
0 votes
0 answers
9 views

Send file to shared folder with smbclient [duplicate]

I'm trying to configure a script to copy local files from one folder to another one using smbclient. I have tried dir_backup=/backup backup_name=data_1 cd $dir_backup smbclient //192.168.4.x/folder-...
user avatar
0 votes
0 answers
56 views

Preserving file permissions in a samba server secured with SELinux

I am trying to share a folder in my Fedora machine through samba secured with SELinux. I need my machine to have read/write permission to the shared folder while other machines to only have read ...
user avatar
  • 21
0 votes
0 answers
297 views

Can't mount samba share on client Arch from new Rocky host?

EDIT: changing uid=1001 to uid=1000 fixed it, ugh I just tried to follow this guide and this guide, and my own previous knowledge for creating a samba share, but at this point I can’t get it to mount ...
user avatar
  • 1
0 votes
0 answers
730 views

samba access denied: "session closed for user nobody"

I am seeking to add a Samba share to a host running Linux Mint. Desired features of the share are discoverability of the host and share through broadcast, accessibility of files only by users with ...
user avatar
  • 172
0 votes
0 answers
104 views

Samba: permission denied

I have a server with a host and a Virtualbox VM.The host is running CentOS 7 and it is updated. Indeed the VM is running CentOS 5 and I know this OS is not supported by several years but I can't ...
user avatar
0 votes
0 answers
14 views

Watch and Delete any New Folder in Samba shares using inotifywait [duplicate]

I have setup Samba in CentOS 7 and shared some folders for Windows users in LAN. I observed that users keep creating New Folders with different names. I want to prevent users doing so. I recently came ...
user avatar
  • 1
0 votes
1 answer
161 views

cifs missing from Fedora 34

Attempting to mount a windows filesystem with -t cifs yields: mount error: cifs filesystem not supported by the system Sure enought: lsmod | grep cifs Shows nothing. Doing modprobe cifs gives me: ...
user avatar
  • 103
0 votes
3 answers
2k views

CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE

Linux: 4.18.0-305 OS: CentOS 8.4 I have an SMB folder that is mounted with the following command: mount -t cifs -o iocharset=utf8,rw,credentials=${_passwordFile},nobrl,nounix,file_mode=0644,dir_mode=...
user avatar
0 votes
0 answers
103 views

How to insert new users directories

I am trying to set up the directories on Ubuntu Server, Linux 4.15.0-162-generic #170-Ubuntu SMP using command chown user:group however, I have gotten an error like chown: invalid spec: ‘2163147:’ ...
user avatar
1 vote
0 answers
212 views

Windows cannot access Samba after changing password

I have a samba server setup in Ubuntu 18.04 and have multiple users with their own respective folder to access with their credentials. Right after a user changes his/her samba password the users ...
user avatar
2 votes
1 answer
55 views

Securing Samba on debian 10

I'm configuring a debian 10 VPS and recently installed samba. I was impressed -- in a bad way :) -- about how quickly /var/log/samba started filling up with all sorts of attempts to access the one ...
user avatar
0 votes
1 answer
688 views

Samba share shows wrong disk free space

I have a virtual machine that I use for a samba share at home. It stores the data on a shared folder from the host machine. Both on the host and guest machines, the total and available space for this ...
user avatar
  • 709
0 votes
2 answers
34 views

Having an issue mapping to Linux Samba share from my Win 10

I have a Samba share setup on a OpenSuse 12.2 machine. So it's using SMB 1.0. Now a few months ago I use to be able to map a network drive to that share with no problem. But now all of a sudden I ...
user avatar
0 votes
0 answers
21 views

Samba. user created folder group issue

I created a share directory where each group and user has permissions to access different folders, and additionally it has a public folder. All users and groups have permission to create and delete ...
user avatar
0 votes
0 answers
286 views

Mount SMB Share

I am trying to mount an SMB share in Debian that is hosted on Server 2019 so that I can run a nightly bash script and copy some data over to it. Its been working well until we turned off SMB V1.0 for ...
user avatar

1
2 3 4 5
20