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]
365 questions
0
votes
1 answer
how to export permissions/ACLs from Samba share to clients?
I have a Synology NAS running Samba that serves up shares in my network. I've set up autofs, LDAP and sssd and can mount Samba home directories on the fly when I log into Linux and MacOS machines.
My shares on the NAS are on an Ext4 volume, i.e.…
![](../../users/profiles/71575.webp)
Stephen Winnall
- 165
- 1
- 8
0
votes
1 answer
Odd user display discrepancy in standalone Samba server ("Account Unknown" vs "Unix User")
I am using a standalone Samba server on Ubuntu 18.04 (Samba 4.7.6). When an employee leaves the company, their Unix account ist locked (but not deleted). Their Samba account, however, is deleted via smbpasswd -x foo. When viewing the properties of a…
![](../../users/profiles/214860.webp)
user2323470
- 183
- 4
- 9
0
votes
1 answer
samba-tool tool missing on Centos8 after samba412 package install
Cant find samba-tool on Centos8 after samba412 package install...
dnf cant find it as well.
dnf provides samba-tool
Error: No Matches found
What's more, there is no
/usr/local/samba/bin
folder ...
Do I miss something?
Installed packages:
dnf list…
![](../../users/profiles/550993.webp)
Paul Paku
- 151
- 7
0
votes
1 answer
Centos8: Selinux blocking Samba service from starting
My Samba4 service is being blocked from starting using systemctl. The audit log shows:
type=AVC msg=audit(1606428851.446:87): avc: denied { execute } for pid=1748 comm="(samba)"
name="samba" dev="dm-0" ino=1462831…
![](../../users/profiles/550993.webp)
Paul Paku
- 151
- 7
0
votes
1 answer
Several redundant automatic entries for all DHCP client machine host names in Samba 4 AD DC DNS
We have a Samba 4 AD DC installation wich is also the DNS in our network.
It collects entries of all DHCP client machines with their addresses automatically. I can remember to have activated this behavior some day in the past, but can't remember…
![](../../users/profiles/195339.webp)
andreas
- 111
- 4
0
votes
1 answer
Using Samba as an AD domain member with consistent automatically generated POSIX attributes across Linux members
I am trying to join multiple Linux devices to a Windows Active Directory Domain with both Domain logon and Samba file sharing functionality. I am trying to avoid manually adding POSIX attributes to AD users and groups here. Although seeming simple…
![](../../users/profiles/587566.webp)
James Hopwood
- 27
- 1
- 5
0
votes
1 answer
SAMBA: valid users ignores local samba user
I have a linux server (SLES12 SP5) in a Windows domain.
>smbd -V
Version 4.10.5-git.192.26ffbcd72313.11.1-SUSE-SLE_12-x86_64
Accessing samba shares with a domain user works very well.
Unfortunately I can't access the share with a local samba user,…
![](../../users/profiles/549014.webp)
stalachristian
- 3
- 1
0
votes
0 answers
Single sign on with Samba AD DC, Linux servers, GSSAPI/Kerberos and Windows clients that are not joined to the domain
Setup
We have:
a machine running Samba 4 on Debian Buster as AD DC.
another Debian Buster machine running Samba 4 as file server, joined to the domain with net join and using winbind for authentication (let's call this FILE).
a third Debian Buster…
0
votes
1 answer
SAMBA AD DC visible from external DNS
I have configured fully functional SAMBA AD DC server. During AD provisioning process i set up SAMBA_INTERNAL as DNS back end. I couldn't use "NONE DNS", it is not supported.
I want to use external(from SAMBA) DNS in my local network which is also…
![](../../users/profiles/580171.webp)
SimonLi
- 49
- 1
- 6
0
votes
0 answers
Samba AD on Debian 10
I have 2 VMs running, one for Windows 10 Pro and a second with Debian 10.
Basically I would like to have the windows machine join the samba AD that's running on Debian 10 VM.
I went trough the installation of samba on Debian, but I'm having issues…
0
votes
1 answer
Central authentication with Samba4 for applications
I have a small problem / doubt about the use of Samba4 as a central authenticator of external applications, I explain, I am instantiating a Samba4 server as a PDC for domain authentication for some computers with W10, but already taking advantage of…
![](../../users/profiles/524008.webp)
Fabio Orefice Amez
- 35
- 5
-1
votes
1 answer
Samba file server as domain member: error when joining domain
I would like to set up samba 4 to share a local directory, so that domain users are allowed to mount the directory. I don't want domain users to be able to log in the linux machine, they should only be able to use the shared directory.
There are 3…
![](../../users/profiles/347840.webp)
user368507
- 109
- 5
-1
votes
1 answer
Unable to set ADS security on Samba DC
I've been trying to set my security as ADS for my Samba DC. Unfortunately, whenever I do, the LDAP server can no longer be found using net ads info. Below is my current smb.conf.
[global]
workgroup = EXAMPLE
security = ads
realm =…
![](../../users/profiles/331006.webp)
Elegant
- 21
- 1
- 4
-1
votes
1 answer
Better samba4 logging
My default logging conf in smb.conf for samba-4.3.0 is:
log level = 1
log file = /var/log/samba/log.%m
The good thing is:
all samba logs is in the same directory;
each service and workstation has a single log file.
But still it is not perfect:…
![](../../users/profiles/314255.webp)
Francesco Malvezzi
- 396
- 2
- 11
-1
votes
1 answer
Computers on preexisting Windows 2008 domain accepting accounts from Samba3/4 domain
I have a web application written in PHP where I would like to allow existing users to log into Windows computers, too. Re-hash of their passwords is doable (by requesting them to change the password). And to solve desync of passwords, I intend to…
![](../../users/profiles/6242.webp)
Ivan Vučica
- 224
- 1
- 4
- 13