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
2
votes
1 answer
How to set minimum Samba protocol version without breaking anonymous access?
I have a read-only Samba share set up with Samba 4.3.11 on Ubuntu 16.04. This works without issue for publishing some files/tools that need to be available to all hosts.
However, out of the box, this allows for all smb protocol versions. The normal…

Nathan Neulinger
- 607
- 1
- 6
- 17
2
votes
1 answer
Can I make `user` objectClass to inherit attributes from my custom `xyz` objectClass?
TL;DR:
How can I make user objectClass in Active Directory to inherit the attributes from my custom xyz objectClass?
More text:
This seemed to be any easy task, but I I have been searching and trying for couple of hours with no success.
I have a…

Mohammed Noureldin
- 541
- 1
- 11
- 25
2
votes
3 answers
Samba member server - is user disabled?
I have a Debian Samba file server bound to Active Directory as a member server.
We create a staff folder for each employee matching their username on this server.
When employees quit, their Active Directory user account gets deactivated and moved…

user122992
- 150
- 1
- 8
2
votes
0 answers
Samba mount is empty when mounted with nounix
For years this has worked and today it stopped.
I have a Debian 8 server running Samba 4.2.10 to provide some shares to Windows 10 and Ubuntu 16.04 machines on a LAN.
This morning the ubuntu machines have apparently mounted shares but they're…

artfulrobot
- 2,949
- 13
- 36
- 60
2
votes
2 answers
How to know the service name of a samba server
The samba address is given by
///
Knowing the BIOS name , how do I get to know the field remotely (other machine than the server)?

user123456
- 563
- 1
- 7
- 20
2
votes
0 answers
Connecting windows 2012 to a linux ADDC, running samba 4 with ldap as backend
I have set up a Ubuntu server, running samba 4 and ldap, so it can act like a ADDC.
I have connected linux and mac machine though ldap, and windows server 2003-2008 machines through the samba domain. but a problem occurs when I'm trying to join a…

Tomas
- 259
- 3
- 7
- 16
2
votes
0 answers
Folder redirection to Samba fails, though mapping drives works [SOLVED]
I'm at a university. We have a campus-wide AD domain that we can use to authenticate our labs. I'm trying to set up a Linux server for mapping drives and folder redirection.
The Samba server is an ubuntu 16, 64bit, with minimal stuff installed…

user379283
- 29
- 3
2
votes
1 answer
Samba file sharing on Server 2012 R2 AD domain
Overview
I currently have a CentOS 7 server set up as a VM host using KVM. It has a 4TB (2x2TB mirrors) ZFS array that will be used for VM and file storage. This was set up as part of a process to rebuild an AD domain from scratch on top of Server…

dghodgson
- 173
- 1
- 8
2
votes
0 answers
How can I get writes in samba shares to be treated as a specific user for permission purposes?
Use case: I'm trying to set up a single Samba share in a system (A) that should be freely accessible from another system (B) in the same network.
A is running CentOS 7 with Samba 4 daemons.
B runs Windows 7 Professional.
I set up the share in A…

Protected
- 21
- 2
2
votes
1 answer
Samba4 Bind9 client registration as A Host
I have setup an AD DC using Samba4 with Bind9. Everything works perfectly. The problem I'm seeing is after joining a computer to the domain, the computer doesn't appear in DNS as a Host (A) compared to Microsoft that it automatically add the…

Stan
- 23
- 2
2
votes
1 answer
samba 4.3.9 ntlm_auth: Memory allocation error (0xc0000017)
System: Ubuntu 16.04 - samba Version 4.3.9-Ubuntu
-> # ntlm_auth --request-nt-key --domain=VBA.LAN --username=[user] --password=[pw]
NT_STATUS_NO_MEMORY: Memory allocation error (0xc0000017)
This happens after upgrade to 16.04. Is this a bugg?…

Henrik Ormåsen
- 233
- 2
- 15
2
votes
1 answer
Control Windows permissions on Samba share from linux
I have a Debian 8 with Samba 4 as a AD domain member. The DC is Windows Server 2008. The shares are able to handle Windows permissions - I use IDMAP backend = rid, since I cannot add uidNumber and gidNumber to AD account record.
I can display and…

mkudlacek
- 1,677
- 1
- 11
- 15
2
votes
1 answer
samba4: session setup failed: NT_STATUS_UNSUCCESSFUL
I am having trouble with my samba4 installation. For a long time it has been working without issue. I use webmin to configure users and although the module is only supposed to support samba3 it works no problem.
Recently I was unable to connect…

chrisedebo
- 29
- 1
- 2
2
votes
1 answer
Manually (re-)create Active Directory schema objects msExchRecipientDisplayType and msExchRecipientTypeDetails from Exchange on Samba AD
Somehow, my Active Directory has "lost" (at least) 2 objects from the schema. msExchRecipientDisplayType and msExchRecipientTypeDetails are what I need to recreate.
I believe they were lost, because my existing useraccounts have those properties.…

Alex Stragies
- 409
- 4
- 12
2
votes
1 answer
samba classicupgrade from samba3 to samba4
I'm very confused with doing samba upgrade from samba 3.5 (debian squezze) to samba 4.1 (ubuntu 14.04 lts)
What i'm done now? all from official samba…

Łukasz
- 51
- 1
- 8