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
0
votes
2 answers
Targeted GPO deployments from Samba (4) DC
I've seem to be stuck. I come from a mostly POSIX background, & thrown into the deep-end on this one, so learning as I go along - so not sure if there's no solution, or if it's my own Dunning-Kruger at play.
Setup:
(Trying to keep as much of the…

Workshop
- 21
- 3
0
votes
0 answers
Cannot set ACL permission at Samba share
I have setup samba share at xfs file system. Samba 4.2 runs at CentOS 7.
Setting POSIX ACLs and extended attributes works as expected (setfacl -m user:joe:rw example.txt, setfattr -n user.example -v foo example.txt) at Linux.
The samba sharing is…

JiriHnidek
- 101
- 4
0
votes
0 answers
Samba4 Active Directory, Dovecot/Postfix LDAP auth lookups
I have 2 Ubuntu linux 14.04 servers with Samba4 on them. One is the AD master, the other is the AD backup.
Before the Samba 3.8.4 update, my Postfix+Dovecot servers were able to do user lookups and authentication lookups. Now they cannot.
postfix…

user145837
- 371
- 5
- 18
0
votes
1 answer
Samba file sharing cache
Does Samba have any option for file caching over WAN (connected via VPN)?
I've looked into WAN optimization, but I want something simple to setup.
Setup:
Linux File Server(Main Office)====WAN====Linux Server(Branch)===Clients O/S (Branch)
Goal: …

Benjamin Jones
- 326
- 1
- 9
- 23
0
votes
0 answers
Windows Share: Wrong content?
I like it to use Linux for many things (e.g. programming), but i also need Windows many times. So i have a virtual Ubuntu and a native Window. To share data i have installed samba on Linux (Ubuntu) and i always open this share on Windows.
But now i…

Kevin Meier
- 131
- 5
0
votes
1 answer
VSS-like feature for SMB file shares in Samba4
In Samba4, is there any feature like VSS for SMB file shares in Windows Server?
I see that the Previous Version tab exists under Properties in the context menu on the client side, but I don't know how to turn it on at the server side.

Waveter
- 564
- 2
- 6
- 23
0
votes
1 answer
Change DomainSID on Samba 4 PDC
I've had trouble changing the Domain SID of my SAMBA 4 Domain Controller to an old one.
Let's say S-1-5-21-3307158569-4287292154-27117666 is the SID I want to set.
I use the following command:
net setdomainsid…

Unborn
- 3
- 1
- 2
0
votes
0 answers
Why I cannot find ldap.conf file when I want to integrate 389-ds and samba on centos 7?
I am working on two servers, a samba server and a 389-ds server. Now I want to integrate them so that samba shares are authenticated via ldap server.
I have followed instructions on…

Mohammad
- 103
- 4
0
votes
0 answers
postfix rejects all EMails Recipient address rejected: User unknown inlocal recipient table
Hi Together I've got a problem with my postfix server and i can't solve it. I set up a local mailserver with dovecot and postfix to receive e-mail over my own domain. It worked fine till i tried to install sogo and managesieve. Now every mail i send…

Timo Wolfinger
- 1
- 1
0
votes
0 answers
Is it possible to make samba (smbd,nmbd,winbindd) stop write log to disk and write it only to syslog(rsyslog)?
I have samba instance, and I don't need samba write log to disk, but I want write it to rsyslog. And not full_audit, just general log, how to do it?
Options
syslog only and syslog from http://www.sloop.net/smb.conf.html has no effect. Samba still…

Raf
- 173
- 7
0
votes
1 answer
change role samba 4 from BDC to PDC
Is it possible to change the role of a Samba4 BCD controller to PDC ?
PDC is broken and not accessible, I can't get any data from it.
PDC IP: 192.168.0.11
BDC IP: 192.168.0.4
Now my BDC syslog shows:
samba[1376]: Failed to connect host…

Łukasz
- 51
- 1
- 8
0
votes
1 answer
Login in Active Directory Domain (Samba 4) and mount -t cifs on debian
I've configured Samba 4 with bind and kerberos to work as an Active Directory authentication server. I've also configured "home share" so I can login to any Windows machine in my Domain and work with my files.
In addition I want to access my files…

ghi
- 101
0
votes
1 answer
Windows ACE Does Not Modify Unix ACL
Using a CentOS 7 Samba 4 file server, I am not able to modify "Security" permissions on a directory from the standard windows directory properties dialog.
I used realmd to join the CentOS VM to the windows domain, and am successfully able to log-in…

Joebocop
- 101
- 1
0
votes
0 answers
Samba AD - Member server necessary?
For a small windows network (5 users with their own machines) I set up an AD DC using Samba 4 on Arch Linux on a HP Microserver.
Those users have files they will need to access from a central location, namely concurrent access to a file db and some…

vic
- 973
- 1
- 10
- 22
0
votes
1 answer
Samba4 - detect password change
I want to detect when a user changes his password on the Samba4 DC.
As far as i know Samba4 stores the passwords in /var/lib/samba/private/secrets.tdb.
But when I change a password with smbpasswd the file does not change, the last change date is…

W4rlock
- 968
- 1
- 7
- 10