Questions tagged [samba4]

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.

377 questions
1
vote
2 answers

How to make samba4 use external LDAP for authN, internal LDAP for all else?

I have Samba v4.0.5 installed and running. It is running its own 'bundled' ldap service. I'm happy for it to use its own internal ldap service, but I'd like it to use an external ldap service for authentication. Can someone tell me how to do…
Jon Detert
  • 11
  • 2
1
vote
1 answer

How to setup Samba4 to enable NTFS encryption?

I'm currently giving the sernet.de samba4 (rc1) appliance a shot (running inside vmware player on Windows 7). Providing a share is no problem, but the client still can't choose to encrypt files. What settings do need to be changed in the simplest…
Tobias Kienzler
  • 388
  • 1
  • 9
  • 28
1
vote
5 answers

VPN server to access Samba4

On my network I have an Ubuntu 12.04 server running Samba4, my domain is fully configured and functional. Now, I would like to enable VPN access over the internet, and have another box to do so. I have been searching on the internet for guides and…
Jack H
  • 71
  • 1
  • 12
1
vote
1 answer

SAMBA4 as Active Directory DC: Linux computer and changing password

I have successfully joined computer to the SAMBA4 DC and successfully logging in! Now the question is...how Linux users now can change their own passwords? I guess it's to use "passwd" command. But it's not changing the password. It's complaining…
bakytn
  • 1,217
  • 5
  • 16
  • 28
1
vote
0 answers

2 Samba Configs: "config file" Parameter Fails

I am attempting to create 2 separate shares using 2 very different configs. I can get both going individually from the same system, but not together. Regretfully, I still have some legacy systems that require NT1. I am attempting to build this…
Lee Fisher
  • 23
  • 4
1
vote
0 answers

Samba AD sysvol sync unison permissions issue

I'm having an issue with syncing the unix permissions and ownership on the sysvol between two Ubuntu Samba AD DCs using unison. I have copied the idmap.ldb file from DC1 to DC2 and the Windows permissions seem to be set correctly on the sysvol.…
1
vote
0 answers

Migrate from Zentyal to Samba4AD

I'm really new in Active Directory world and I plan to migrate from Zentyal 7 (a stack of multiple tools packaged in an Ubuntu OS) to a pure Samba4 Active Directory, and keep the same domain name. I only have : users groups two GPO I use Windows…
1F987
  • 771
  • 1
  • 8
1
vote
2 answers

Can Samba close a single user session coming from a shared host?

If I want to close a user session on a Samba server, the smbcontrol close-share and smbcontrol kill-client-ip commands are available to achieve this. However when dealing with a shared client (a Windows Terminal Server for example) these commands…
roelvanmeer
  • 1,764
  • 3
  • 13
  • 27
1
vote
1 answer

Samba AD: Create keytab for computer without net ads join?

Gist: I have set up a samba as AD DC. I'd like to export a keytab for SPNs for a computer account only without having the computer to run samba itself, or issue net ads join. Running samba-tool domain exportkeytab gives me no keys for the SPNs, and…
Technaton
  • 121
  • 5
1
vote
0 answers

Kerberos issues with Samba4 AD DC when resolv.conf not set to use localhost

I recently did a "classis conversion" of our small NT4 Samba domain to an AD one on my Debian 10 "Buster" system. I got everything working as far as I can tell, but I don't understand one issue I came across: Kerberos does not work unless the…
Tim T
  • 111
  • 3
1
vote
1 answer

Joining samba server into windows AD domain, but in DNS subdomain

We have a windows AD domain, let's say EXAMPLE.COM. With corresponding DNS domain example.com I want to have just a normal domain member. Ubuntu 20.04, Samba 4.11.6. Its DNS name is already established. Let's say it is a.b.example.com. Forward and…
1
vote
1 answer

Group Policy: existing Policy values deleted when running gpupdate

Domain Controllers (2): Samba 4 Client: Windows 10 1909 x64 After joining a computer to the domain, when I run gpupdate /force for the first time, the values under these keys are…
1
vote
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…
James Hopwood
  • 37
  • 1
  • 6
1
vote
1 answer

SAMBA netstat local address 0.0.0.0

Trying to run samba AD DC but I'm stuck. After created domain provision, I defined resolv.conf: cat /etc/resolv.conf nameserver 10.99.0.30 search example.com Service running: samba-ad-dc.service - Samba Active Directory Domain Controller Loaded:…
SimonLi
  • 49
  • 1
  • 6
1
vote
1 answer

I can mount a samba share from windows and see what it holds but cannot create files or directories

[Newbie warning! this is my first time setting up Samba. I'm almost there but...] Server is running Centos 8, Samba V4.10.4 Shared filesystem is xfs, I have enabled extended attributes and tested that so it is working. I have also tested samba's…
hkc94501
  • 31
  • 5