Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [samba]

Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.

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

Can't access to a Windows Samba share from debian - NT_STATUS_ACCESS_DENIED listing \*

On my Windows 10 machine I have several samba share folders with a user assigned to my debian machine. On my debian machine, as I had already made cifs mount to a share folder (www) of the same ...
user avatar
0 votes
1 answer
22 views

Can Samba close a single user session coming from a shared host?

If I want to close a user session on a Samba server, the smbcontrol close-share and smbcontrol kill-client-ip commands are available to achieve this. However when dealing with a shared client (a ...
user avatar
  • 1,680
0 votes
0 answers
11 views

Specify Samba "force user" username by numeric UID?

I want to be able to share a named volume from a Docker container over Samba. Samba is running on the host system as a native service (not in Docker). The Docker container runs as a specific UID, thus ...
user avatar
  • 379
0 votes
0 answers
18 views

Unable to access Samba, Apache2 on Ubuntu Server

I've got a PC running Ubuntu 20.04 that I used as my home server with a VM, Samba, webserver, DDNS, SSH etc but randomly it just stopped showing up on my local network for half the services. I can no ...
user avatar
0 votes
0 answers
17 views

Bash cripts in samba domain during login

I have a samba as PDC with Linux machines clients. I created logond script and modified samba config but when logging on nothing happens, please assist me, on google, there are only examples of logon ...
user avatar
0 votes
0 answers
14 views

How would you troubleshoot / fix samba ad dc dns errors

I set up 2 samba ad dcs on Ubuntu Server 21.10 in a heterogeneous environment and came across some errors trying to remote backup DB of DC01 to DC02 via Samba-Tool. I hit up the mailing list and ended ...
user avatar
0 votes
0 answers
34 views

How to get AD site name with winbind/samba-tool

I have several Ubuntu desktops in a Samba AD domain, I need a way to know which site a member is in with the member's shell. The members use samba/winbind to communicate with the domain. I have read ...
user avatar
  • 1
-1 votes
0 answers
24 views

macOSX unstable SMB in MOJAVE

If you search online you can find 1000's of issues with macOS SMB Samba stopping or 'failing'. We are on MOJAVE but reading and experience says CATALINA and BIG SUR also have issues :-( I have found ...
user avatar
0 votes
1 answer
242 views

winbind Could not connect to dssetup pipe: NT_STATUS_RPC_INTERFACE_NOT_FOUND

I am trying to add a new member server running Ubuntu to a Samba Active Directory domain. On first glance everything seems to work, but when querying the status of the winbind service with service ...
user avatar
  • 597
0 votes
0 answers
13 views

Samba server not releasing record locks on network disconnection

I was experimenting with a network file sharing scenario over SMB/samba. Record locks taken on a remote file remains valid, even after 1 hour of network disconnection. The following test case ...
user avatar
1 vote
1 answer
22 views

Bind mount ONLY if Samba mount is present? (Ex: BIND MOUNT Requires NFS Mount \\172.16.x.x\files... )

I have a mount with SAMBA using the following in fstab: //source/files /mnt/files cifs user,_netdev,cache=none,credentials=/usr/src/access.smb 0 0 And then i have the following mount --bind line: /...
user avatar
0 votes
1 answer
48 views

How to mount a shared directory in linux [closed]

RaspberryPi Samba Server Share directory: jack Host Computer Mount (read/write access): jack directory from RaspberryPi I have this task , its a connection between my RPI and my host computer , I have ...
user avatar
  • 1
0 votes
1 answer
15 views

Ubuntu CLI Drive removed

I recently added a drive to my server. However, I check my computer this morning to find the drive doesn't show up on NTFS and I noticed that all folders and files were gone from that mount point on ...
user avatar
0 votes
0 answers
18 views

Ubuntu CLI Device timed out

I recently added a drive to my server, that I previously used as swap space--overkill, but I didn't need it elsewhere. However, I check my computer this morning to find the drive doesn't show up on ...
user avatar
0 votes
0 answers
23 views

Proxy authentication in cyrus with SASL and kerberos

I am trying to enable proxy authentication in cyrus + SASL, i.e authenticating as the admin user cyrus but with the access rights of any other user, e.g. peter (as described here). I am trying with ...
user avatar
  • 101
0 votes
0 answers
19 views

Replicating filesystem Samba and Windows

I'm looking for a way to create a replicating filesystem between Samba and Windows. I thought that DFSR would be the answer but Samba doesn't support SYSVOL replication. I also looked at syncthing ...
user avatar
  • 101
-1 votes
2 answers
39 views

Samba server with copied SID fails mounts with STATUS_INVALID_SID

In my Linux based infrastructure I run MIT Kerberos and LDAP for authentication. For the very few Windows VM clients I use a Samba stand-alone file server. It has it accounts stored in LDAP as well. ...
user avatar
0 votes
1 answer
19 views

Deactivate user access to SAMBA file server in LDAP while maintaining access to other services

I am trying to cut off access of an ldap user to samba server. Disabling password is not an option, since the user needs to maintain access to other services like Nextcloud which is connected to the ...
user avatar
0 votes
0 answers
152 views

Not enough space in SAMBA subdirectory

our company has a legacy server running SUSE 11 release 3.0.76-0.11. 2 disks are mounted on this server. Disk 1 (500GB remaining) mounted as /DIV1/DE and Disk 2 (2TB remaining) as a sub-directory of ...
user avatar
0 votes
0 answers
14 views

Is there a way to identify what computer created a file on a Samba share (mixed-environment)?

Am currently working on a small side project app that uses a file watcher to monitor specified folders for changes. One of the more common uses of the app would be a network share, such as a samba ...
user avatar
0 votes
1 answer
140 views

CentOS - make Samba share available via nginx

I have a collection of files on a Windows share named \\winserver\bucket. On a CentOS server, I am able to mount it so the content is available for perusal. I created an empty directory named /mnt/...
user avatar
  • 101
0 votes
0 answers
46 views

Trusted domain (AD) users Unable to Login SLES server using Winbind

There are two domains (Different Active directory-2019 forest), abc.com (Default domain) and xyzde5.com (trusted domain), One way incoming trust to xyzde5.com and outgoing trust from abc.com we can ...
user avatar
0 votes
0 answers
111 views

Samba not authenticating after upgrade

I just upgraded my Proxmox host, which also doubles as a storage server from buster to bullseye, which must have upgraded Samba as well. After this, I am unable to mount any Samba shares. The host ...
user avatar
0 votes
1 answer
40 views

Allow samba share to access mounted remote file store

I have two servers on the same network. One running Windows Server 2016 and another running CentOS 8. The Windows server is my main file store, it's where all my data is. The CentOS server has the ...
user avatar
  • 431
0 votes
0 answers
38 views

Some operations fail on Samba share

We are setting up a network share with Samba that is meant as external storage for a Linux server (Fedora 35). Reading and writing files works, permissions seem to be set up properly. But there are ...
user avatar
  • 101
0 votes
1 answer
101 views

Samba share only works debug/interactive

I set up a very simple samba share: [files] path=/data browseable = Yes read only = No writable = Yes force user = nobody Unfortunately, when I try to access ...
user avatar
  • 109
0 votes
0 answers
6 views

Samba Logging Parameter to Disable process_name_query_request

Is there a way to disable the process_name_query_request and find_workgroup_on_subnet log entires in Samba's log, perhaps in one of the debug classes? There are so many entries, it makes it impossible ...
user avatar
0 votes
0 answers
16 views

Per-share encoding in Samba?

Most of my filesystems use KOI8-U (since early nineties), but there is one share, which is "owned" by a PHP-based web-application, that uses UTF8. I have unix charset = koi8-u in the [global]...
user avatar
  • 2,242
1 vote
0 answers
366 views

Samba/Winbind domain member authentication issue

In setting up a new Linux Samba fileserver as a AD member I keep running into an issue with authentication. It appears to be triggered by running with selinux in Enforcing mode after joining AD, but ...
user avatar
0 votes
0 answers
525 views

Windows 10 login fails at Samba NT domain member

I have the following setup: A Samba server PDC acting as the Primary Domain Controller of a NT domain MYDOMAIN (not Active Directory!) A Windows 10 pro PC Win10 which is also a member of that domain ...
user avatar
  • 597
0 votes
0 answers
43 views

Issue with refreshing Mapped Network Drives at client side on Windows 10 when hot-swapped on Linux server (SMB)

I have a Linux NAS server (Ubuntu 20.04 w/ Samba version 4.13.14-Ubuntu). It has 16 slots that do have automounting scripts which allow hot-swapping - it is a feature I need as I have to plug ...
user avatar
0 votes
1 answer
137 views

How can I set up Unix permission sync properly with Samba SMB 3.1.1 [closed]

I currently have a NAS for our household (called Waitress) which is running Debian 11 with Samba using SMB 3.1.1. It is connected to a 1TB USB-SS HDD. I also have an Ubuntu machine which is my own ...
user avatar
0 votes
0 answers
99 views

Samba passdb backend with LDAP

I'm trying to set up a Samba server (smbd version: 4.13.13-Debian) and I can't get it to work with LDAP as a backend. Adding passdb backend = ldapsam:ldap://192.168.1.2 (where the LDAP Server is in ...
user avatar
0 votes
1 answer
85 views

SAMBA 4 CN with multiple spaces, cannot modify, delete but can view

Samba with internal LDAP (not openLDAP) configured as AD-DC I have contacts created using CN={name} Contacts that have multiple spaces in the names cannot be edited, deleted or removed from their ...
user avatar
0 votes
0 answers
293 views

Access denied when listing Samba shares

I've installed Samba to share files with Windows 10 machines. The setup works correctly to access individual shares using their path such as \\myhost\sejf, but listing shares on \\myhost fails with ...
user avatar
  • 381
0 votes
0 answers
29 views

SAMBA server restore

Last week I ran into some hardware issues with my SAMBA DC server. I was able to recover the hard disk, but the other hardware seems to be nonfunctioning. I have a spare server and would like to ...
user avatar
  • 1
0 votes
0 answers
304 views

Samba: INTERNAL ERROR: Signal 11 in pid (4.10.16)

Have searched and read around for hours without success. Maybe it's a known issue or easy to give a hint by someone with experience. This is a fully updated Centos7, kernel-3.10.0-1160.45.1.el7.x86_64,...
user avatar
1 vote
0 answers
129 views

Please help me understand mounting cifs for domain group

I have samba ad dc and on a different member I have a file server. Domain Controller = Debian 11 (DC01) Domain Member (File Server) = Fedora 34 (FS01) Domain Member (Workstation) = Fedora 34 (F01) ...
user avatar
0 votes
0 answers
38 views

can't write to dockerized samba server share from windows 10 machine

Hi so I am in the process of setting up a dockerized samba server and for the most part it's setup however I can't/don't have permission to write to the server from a windows 10 machine. I tried ...
user avatar
1 vote
0 answers
128 views

Unable to log in with AD credentials

I have a DC (Debian) that seems to be working fine. I am able to join the domain but when I join a Fedora member it joins but the DNS isn't registered. I have to manually add the record to the dc. ...
user avatar
1 vote
0 answers
45 views

Printers Sharing Ubuntu Server

I need to share 3 USB printers on a network, I installed a Raspberry Pi4 with Ubuntu Server 20.04 LTS with CUPS e smb services configured. From windows 10 I'm able to access \ip of the server and I ...
user avatar
  • 11
0 votes
1 answer
153 views

Windows Server 2019 accessing shares over VPN for some users

I'm using Windows Server 2019 and have setup a OpenVPN 2.5.4 Client as a service to start a VPN link back to my pfSense box at another location. The problem is only some Windows Server users can ...
user avatar
  • 59
1 vote
1 answer
123 views

Samba allow SMB1 protocol for a single IP only

I have an old network printer in my Linux network supporting SMB1 only. How can I limit the potential security issue to this IP only? Enabling the SMB1 protocol in the [global] section of smb.conf is ...
user avatar
0 votes
1 answer
34 views

Nmbd limiting mdns interfaces

Is there a way to limit which interfaces nmbd uses for announcing the service? I've got multiple bridges which really shouldn't be getting the _smb.tcp entries, but by default they do. I've got: ...
user avatar
  • 1,254
0 votes
0 answers
158 views

Ansible get authentification timeout when using a domain account on a server running winbind

I installed a new domain controller hosted by Samba 4.11 on Ubuntu 20.04 (using ubuntu packages). I configured the system authentication to use AD credentials with the use of winbind. On others (...
user avatar
1 vote
1 answer
157 views

How do I veto a specific UNIX path with Samba? (Match one directory with a specific name, but NOT any others)

So I recently learned about the veto files option for Samba, and I want to use it to hide just one directory that matches a given name. Example: I have two directories with the following UNIX paths: /...
user avatar
  • 11
0 votes
0 answers
239 views

Setting up both a public and secure share on the same Samba server

Running RHEL 7 / Samba 4.10 I have two different shares on this server. I need to make one publicly available to everyone on the network and one password protected. A lot of the articles I've found ...
user avatar
0 votes
1 answer
115 views

Samba username mapping not working as desired

I have the following username mapping in Samba: master = johndoe user2 user3 regular = user5 user6 restricted = johndoe user8 user9 By default, Samba will always map johndoe to the last entry in ...
user avatar
1 vote
0 answers
94 views

Mysqldump really slow when dumping to network drive

I'm facing an issue when dumping a mysql database to the network drive. The thing is I'm getting really slow speeds (around 3-7mb/s). Dumping locally, the speed is fine. I've coded my own program that ...
user avatar
0 votes
0 answers
37 views

Change the value of the records that SAMBA creates when joining a second domain controller to the primary

I am trying to join a second server to my primary domain controller to use as a secondary domain controller. I am using the following command to do it: root@dc2:~# kinit administrator administrator@...
user avatar

1
2 3 4 5
37