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
4
votes
1 answer

Samba 4: group members not shown in "getent group"

I am running Samba 4 as an AD Server. Everything works fine, beside the members of a group is not listed by getent group: # getent group ...snip... LOCAL\Enterprise Read-Only Domain Controllers:*:3000040: LOCAL\Domain Admins:*:512: LOCAL\Domain…
ribx
  • 59
  • 2
  • 3
4
votes
1 answer

Samba4 Internal DNS with DHCP Server

On FreeBSD we run Samba4 as a DC and until recently had our IP addresses handed out by the routers DHCP server. We switched to running a DHCP server on the FreeBSD machine with the following configuration:- # dhcpd.conf # # Sample configuration file…
Jack
  • 41
  • 1
  • 3
4
votes
1 answer

Enable NIS extensions (rfc2307) on Samba 4 AD after installation

I'm testing out our samba 4 migration process and when the initial forest/domain was created, it was created without using --use-rfc2307: sudo samba-tool domain provision \ --domain netdirect \ --realm=ad.netdirect.ca \ …
MikeyB
  • 39,291
  • 10
  • 105
  • 189
4
votes
1 answer

Samba name mangling too mangled to be practical

Switched recently from W2K3 to Samba4.0.9/CentOS6.4 for our fileshare for WinXP clients. Have an ancient (1995!) piece of software that uses 8.3 filename format. After the switch, long filenames became useless in the context of the File->Open…
Kev
  • 984
  • 4
  • 23
  • 46
4
votes
0 answers

Samba4 share: Windows can read/write, OS X can only read

In the last few days I've played around with Samba4. I've created a new domain, some shares and everything works well. At least when I'm working with windows. We have some OSX clients an I'm testing the shares with lion. Now the problem is: With…
4
votes
1 answer

Samba capabilities & functionality

The company that I work for wishes to replace its windows servers with new linux servers but wants to keep Windows on employee desktops. The requirements are: The employee desktops should be able to authenticate with a central linux server. The…
4
votes
1 answer

Cannot access SMB share from Windows 10 via OpenVPN Connect

I'm sure this problem must have been solved a thousand times but nothing I do seems to work. Summary: On Windows 10 client, using file explorer, and OpenVPN Connect client 3.3.4, can't access a NAS via SMB on which OpenVPN server (2.4.11…
Balvik
  • 41
  • 1
  • 3
3
votes
2 answers

Samba4 AD DC setup and working, but won't connect with Windows 7 or 10

I've gotten a Samba 4 AD DC setup running on Ubuntu 18.04 LTS. I used this tutorial to make it work: https://www.tecmint.com/install-samba4-active-directory-ubuntu/ The problem is I can't get my Windows 7 or 10 clients to connect to the domain. Here…
jfreak53
  • 163
  • 1
  • 4
  • 27
3
votes
2 answers

Forwarding Active Directory Queries through DNSMASQ

I've set up an AD domain controller through Samba 4. I'm using Samba 4's internal DNS Server for handling the SRV queries. However, due to project requirements, my clients need to have a DNSMASQ as their one and only DNS server. Thus, my plan was…
Fang
  • 167
  • 1
  • 12
3
votes
0 answers

Samba & AutoFS Hide shares

just want to ask if it possible to hide Samba-shares (through AutoFS) that users don't have access to ? I have 5 shares for 5 different groups of users (ex: group1...4 and Public). When member of group1 logins into client PC - he must see only…
Koni32
  • 31
  • 1
3
votes
2 answers

Samba Read-only shadow copies

We are currently running a FreeNAS 11.1-U6 machine (Which runs Samba 4.7.0) which we use for development. Since sometimes files get overwritten or deleted by accident before it gets committed in our VCS i have setup automatic snapshots every 15…
WarriorXK
  • 31
  • 2
3
votes
2 answers

MSCHAPv2 authentication not working

I've been fighting with this for around a week now. I'm trying to get a RADIUS server to authenticate against our Samba-based Active Directory, but I can't get it to work. Because of our infrastructure, PAP will not work. Because AD does not offer a…
Dessa Simpson
  • 539
  • 7
  • 27
3
votes
1 answer

Samba4 AD Time Sync

I know this question is asked a lot, and I've googled for days, but none of the solutions I have found so far work. My problem is this: Windows 10 workstations are not syncing their time with my Samba4 domain controller. I have verified that ntpd is…
Brent
  • 107
  • 1
  • 2
  • 8
3
votes
1 answer

kinit: Cannot find KDC for realm

I'm trying config samba4 as domain controller following samba wiki /etc/resolv.conf : domain transbekk.lan nameserver 192.168.1.1 nameserver 192.168.1.254 /etc/hostname : domain.transbekk.lan /etc/samba/smb.conf # Global parameters [global] …
Mezoo
  • 161
  • 1
  • 1
  • 5
3
votes
1 answer

Samba recycle bin per user?

I am looking to solve my issue with Samba recycle bin.. I have users a1, a2, and a3, they all belong to group companya. A samba server with the following configuration. [global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) …
rustysys-dev
  • 143
  • 1
  • 8