Samba4 is version 4 of Samba, the Linux implementation of the SMB/CIFS protocols. It is the first version of Samba with full Active Directory support, allowing a Linux server to become an Active Directory Domain Controller.
Questions tagged [samba4]
377 questions
5
votes
5 answers
Active Directory with public unix dns (no MS DNS)
I'm setting up a new Active Directory instance for my department at a university. I have some experience managing domains at previous jobs (NT4/2k/2003), but there are two unique things about our environment here: The network is 100% public IP…

notpeter
- 3,515
- 2
- 26
- 44
5
votes
1 answer
Override template homedir on FreeNAS 11.3 joined in Active Directory
I've joined a FreeNAS 11.3 in an Active Directory and everything works as expected. But one feature that I'm really missing is some kind of override on mapped home directories for users.
By default the directories are with the following template…

Vinícius Ferrão
- 5,520
- 11
- 55
- 95
4
votes
0 answers
Strange STATUS_ACCESS_DENIED issue with SMB2 client and Freenas CIFS SHARE
I've recently started seeing some strange SMB2 Errors on Windows 10 PCs (all of them version 1903).
The Fileserver is running FreeNAS-11.1-U7 (with ZFS Volumes) and CIFS Shares with Active Directory ACL.
When I open some images from Adobe Bridge or…

arpan
- 41
- 2
4
votes
2 answers
Samba, Windows ACLs and unwanted executable bit
I setup Samba with ACL support on an Ubuntu 18.04 LTS server and I'm facing the following situation.
Here's the smb.conf content:
[global]
# naming
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
# networking
disable…

Gregory Pakosz
- 148
- 2
- 11
4
votes
3 answers
Samba 4.9.0 ./configure lmdb error
I'm very new to Linux and installing Samba and I'm trying to make my Centos 7 into a ADDC.
However, whenever I want to configure I get the following message:
Checking for lmdb >= 0.9.16 via header check : not found
Samba AD DC and…

user2827958
- 221
- 2
- 7
- 15
4
votes
1 answer
Synchronise Samba 4.4 passwords with the Unix password database
I run a small Samba 4.4 server, and I would like to keep the Samba password database in sync with the Unix password database. I would like the Samba password to be updated when a user changes their password with the traditional Unix passwd program.…

Kaypro II
- 302
- 1
- 4
- 11
4
votes
0 answers
Any possibility to use ZFS for Samba4 AD DC share on Ubuntu 16.04?
For a few (~ 5) PCs running Windows 8.1 I have to setup a domain controller using Samba4 on Ubuntu 16.04 Server.
Additionally the DC should provide a few shared folders with user-specific access and act as a printer server.
To prevent data…

Apollo13
- 41
- 2
4
votes
0 answers
Authentication issues when clients access domain-joined server from non Samba4 subdomain DNS name
We have an issue we’ve been struggling with for quite some time since we rolled out 10 Samba4 domain controllers at our main office and all remote sites about 3 years ago.
Simplified Current Configuration:
2 DCs at main site with internal DNS using…

Thomas Maerz
- 41
- 2
4
votes
2 answers
How can I change the localSID for a SAMBA Server?
I am trying to change the localSID for a SAMBA server, however I am unable to. I have tried the command "net setlocalsid" to no avail. To troubleshoot I have also stopped the smbd and nmbd services, but this did not help. Any help would be…

byronicle
- 111
- 1
- 4
4
votes
1 answer
Migrate from MS Active Directory to Samba4
The target is to replicate a MS AD DC (Windows server 2012) to a new Samba4 AD DC, then migrate users to the new Samba domain. This is our first time, and the various documents on the Internet are not very encouraging.
There is only one forest and a…

Déjà vu
- 5,546
- 9
- 36
- 55
4
votes
0 answers
Samba4 internal DNS and isc-dhcp zone update
Could anybody explain, how to solve this problem with internal samba4 DNS and dynamic zone updates from isc-dhcp?
In the logs I have:
dhcpd: Unable to add reverse map from 170.5.168.192.in-addr.arpa. to
dus-ws-21a.nmedia.local: tsig verify…

kbu
- 255
- 4
- 14
4
votes
2 answers
possible to make samba4's internal dns server listen on non-standard port?
Is it possible to make samba4's internal dns server listen on a port other than 53?
I need to run two dns server's on this host -- my desire was to use dnsmasq on the standard port for client's and configure dnsmasq to resolve the domain owned by…

Ben
- 391
- 1
- 3
- 11
4
votes
2 answers
Mac (Yosemite) Samba 4.1.6 under Ubuntu
I'm finding that accessing a Samba share (4.1.6) from a Mac running Yosemite can be extremely slow. It can take several minutes (no exaggeration) to display a folder containing four or five files.
I've run Wireshark during one of these long pauses…

user611942
- 113
- 1
- 1
- 5
4
votes
0 answers
Configure ntlm_auth for offline operations
We currently have a NAC server set up to authenticate against a Samba4 AD using the ntlm_auth utility and would like to make it more tolerant to network outages.
Currently, when the NAC loses connectivity to the Samba4 Active Directory, every login…

Antoine Benkemoun
- 7,314
- 3
- 42
- 60
4
votes
1 answer
FreeRADIUS using Active Directory integration broken without any traces
I've a FreeBSD 10.0 server running FreeRADIUS 3 and things got broken without any apparent reason.
I'm using Winbind from Samba4 to authenticate with ntlm_auth. I've done some debug to solve the problem, but I was unable to find where is the…

Vinícius Ferrão
- 5,520
- 11
- 55
- 95