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
27
votes
5 answers
Samba configuration for public shares
yesterday I upgraded my fedora box to the latest version, and with that, I also upgraded samba, now using samba 4. I used to access those share from any computer at home without user/password, but now there seems to be something wrong with the…
Angel Villalain
- 373
- 1
- 3
- 4
20
votes
4 answers
How to configure Samba to work with Windows 10 1709?
A few PCs that have Windows 10 1709 installed (instead of upgraded from 1703) are having trouble connecting to network shares running on Samba (Ubuntu 17.10). Entries in event logs indicate that the cause seems to be that Windows 10 1709 disabled…
Jim
- 629
- 2
- 7
- 20
19
votes
3 answers
How do I change my default shell on a domain account
I use a samba4 domain account to log in on my laptop. I wanted to try zsh out, but since my user doesn't reside in /etc/passwd I found that chsh can't find my user. Can anyone advise how I can change my login_shell?
I couldn't see anything in my…
Rumbles
- 915
- 1
- 12
- 27
16
votes
2 answers
Encrypting SMB traffic with Samba
We use Samba on Ubuntu 14.04 LTS as a PDC (primary domain controller) with roaming profiles. Everything works fine, except for if we try to enforce encryption via setting:
server signing = mandatory
smb encrypt = mandatory
in the [global]…
Kai Petzke
- 378
- 1
- 3
- 10
14
votes
3 answers
Windows 10: AD Domain Admin with missing rights?
Maybe my title is not correct but I wouldn't know how else to name it at this point.
If I log into a Windows 10 machine with the main AD Domain Admin Account, I get an error message when entering the language settings app.
(My Windows is in…
vic
- 973
- 1
- 9
- 21
12
votes
1 answer
How many FSMO roles are there?
I've always understood that there are five FSMO roles, but sometimes I see something that says there are seven. How many are there, really?
Ward - Reinstate Monica
- 12,788
- 28
- 44
- 59
11
votes
4 answers
Resolving samba testparm message: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)
testparm in samba may produce this message:
rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)
This appears be be resolved by increasing the max open file limit using this Linux command ulimit -n 16384..
Is this a safe change for…
jcalfee
- 331
- 3
- 7
- 13
9
votes
2 answers
keytab auth against samba 4 DC: Client not found in Kerberos database while getting initial credentials
I set up a samba 4 active directory on ubuntu 14.04 following Samba AD DC HOWTO. In principle everything works well but I'm stuck in getting kerberos authentication running using SPNs for web applications.
When I try to run
kinit -k -t keytabfile…
Heiko Robert
- 291
- 1
- 2
- 7
9
votes
2 answers
Win7 clients failing with cached credentials on samba4 RODC
I'm setting up a test environment for a customer about to deploy samba4 into 1400 remote sites and I'm running into a problem. It's my job, after all, to run into problems and then solve them.
Active Directory
forest root & single domain:…
MikeyB
- 38,725
- 10
- 102
- 186
8
votes
3 answers
Difference between durable file handles, resilient file handles and persistent file handles
In CIFS/SMB protocol, I see that there are 3 types of file handles: durable, resilient and persistent. What is the difference between them?
Waveter
- 544
- 1
- 6
- 22
7
votes
4 answers
Windows 7 Client flooding network with DHCP requests. Not setting IP
I have a small network, with 15 workstations, SAMBA AD, and a bunch of Virtualized linux servers. All the workstations, and servers are on the same subnet.
All workstations are running Windows 7 Pro
Both my Samba 4 DC, and ISC-DHCP-SERVER are…
Skye Bowen
- 71
- 4
7
votes
3 answers
Windows 10 PE Unable to map network drive anonymously
I'm trying to set up a imaging environment. The idea is to use DISM to apply WIM images (Windows 10 Pro) over the network.
I am able to boot into Windows 10 PE. I have network connectivity via DHCP.
When I try to map the network share using net…
ColLeslieHapHapablap
- 193
- 1
- 1
- 7
7
votes
3 answers
Samba4 advice for production use
I have an old Samba 3 + LDAP server installed that needs to be rebuilt. I'm weighting my options, and Windows Server seems too expensive at the moment, and Samba 4 appeared to be a nice option, coupled with the last Bind 9 that can dynamically add…
pgb
- 445
- 1
- 6
- 18
6
votes
1 answer
How can Samba be configured to use LDAP for authentication only?
I'm looking to set up a new Samba file share that uses LDAP for back-end authentication. The LDAP server is already set up, and the machine the Samba server will be on is already set up to allow SSH access using LDAP authentication.
It seems the…
Brian Bauman
- 216
- 1
- 2
- 10
6
votes
3 answers
Use NTLMv2 Authentication with Samba
Trying to connect to Samba shares on a Linux host with a Windows 10 client, even after setting the client Security Policy to allow non-NTLMv2 authentication, the client still gives errors like "The specified password is not correct." when using…
palswim
- 422
- 2
- 5
- 22