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
6
votes
2 answers
How to log if a user removes a file from samba share
I am working over the default Samba that comes with RHEL 6.x version. I am successful in sharing a samba share to my client users.
I have given each of them a set of credentials using which they have to connect to samba server and upload or download…

Shashikanth Komandoor
- 199
- 2
- 7
6
votes
1 answer
GPO with SAMBA as DC
I am working on a network of 500 Windows workstations with Linux servers. SAMBA 4 is in use as the domain controller.
Users can move between workstations, and as a results the contents of their profiles (including MyDocuments) appear to replicate…

TSG
- 1,674
- 7
- 32
- 51
6
votes
1 answer
CentOS cifs client sees Windows 2012 deduplicated files as symlinks
I have CentOS 7.0 VM with a volume mounted on a Windows 2012-R2 file server.
The volume contains some big files related to an internal Wordpress site.
About a week ago the site became 'broken' and what I found is that from Linux the files look like…

Niels Basjes
- 2,196
- 3
- 19
- 26
6
votes
2 answers
Samba4 [homes] share
I am having issues with the [homes] share.
OS is Ubuntu 12.04.
I've installed samba 4.0.3, bind9 dlz, ntp, winbind, everything but pam modules, and did all the tests from https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO.
Running getent passwd and…

SambaDrivesMeCrazy
- 61
- 1
- 1
- 5
5
votes
0 answers
Samba and AD - "net ads changetrustpw" fails
I've got a Samba member of a Windows AD. I'm using a combination of sssd and winbind. Samba manages machine password changes, and it's configured also to update the passwords used by sssd. (The machine password update that is usually handled by sssd…

roaima
- 1,591
- 14
- 28
5
votes
2 answers
How to rename a user in samba4 domain?
How can I change a login of a user in samba4 based domain?
I've tried reading the samba-tool man page, but it does not seem to show anything that i could use.

pQd
- 29,981
- 6
- 66
- 109
5
votes
3 answers
Samba not working on LAN without internet connection
I've got a Samba 4 share on a CentOS 7.2 server in my LAN that I access from some Windows 10 clients.
The clients use the server IP to access the share and Samba is configured to be a stand-alone server, not a domain member one.
Everything works…

Eggplant
- 53
- 1
- 5
5
votes
0 answers
`smbstatus` not showing NetBIOS name
I'm upgrading a Samba server from 3.0.37 to 4.4.3, and it seems that on 4.4.3, the smbstatus utility no longer displays the NetBIOS name of connected clients.
On 3.0.37, smbstatus -p looks like this:
PID Username Group …

jjlin
- 209
- 1
- 2
- 7
5
votes
0 answers
Samba authentication and LDAP
I have an OpenLDAP server that I use for authentication and authorization for various services.
All users are of object type inetOrgPerson and my groups are groupOfNames.
Now I want to configure Samba to authenticate against LDAP as well (with group…

Chris
- 193
- 1
- 6
5
votes
2 answers
Mount unix samba 4 share to osx client without mangled file names
I have a unix server (arch linux) with samba 4.1.12. The share has files inside it with utf-8 nfc encoding (standard utf-8).
When I mount this samba share into an osx client (10.9.5), files with special names like File with "quotes" are displayed…

Markus
- 151
- 2
- 10
5
votes
2 answers
Share folder with realmd / sssd and AD integration
I've setup a CentOS 7 machine, and joined it to our AD via realmd through:
yum install realmd samba-common oddjob oddjob-mkhomedir sssd
realm join --user=myuser@mydomain.local mydomain.local
After that, realm list returns the expected…

Nick Andriopoulos
- 251
- 1
- 2
- 9
5
votes
3 answers
Workstations in remote site don't know about new AD realm
I've recently migrated a classical Windows Domain (samba3) to an Active Directory domain (samba4).
Workstations in remote sites do not have a local DC so they are not aware of the transition, hence they do not automatically migrate to the Active…

MikeyB
- 39,291
- 10
- 105
- 189
5
votes
1 answer
SAMBA 4 Forest Functional Level
What is the highest AD Forest functional level I can use and still have SAMBA 4 function as a domain controller. Can SAMBA 4 act as a domain controller in a Server 2012 functional level forest? Does functional level matter with SAMBA?

Edwin
- 1,041
- 7
- 17
5
votes
1 answer
Samba4 locked pst files
i have a samba4 server that holds my clients outlook pst files, if the outlook client or the machine crashes i must go to the server to kill the PID manually.
i saw there was "reset on zero vc =yes" parameter that can solve the problem but that is…

BluesRhythm
- 308
- 1
- 5
- 13
5
votes
1 answer
BYOD (accessing files) on a domain without joining?
I run a Samba 4 instance at a small private school. This makes a regular Linux server appear as a directory controller. There are two relevant benefits to this:
I have a Samba share for people's documents, and I use the Redirected Folders feature…

Philip
- 801
- 6
- 10