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

Samba 4 and SSH without password

I've a question to Samba 4 and Kerberos. I've had a functional SSH with SSO. But now when I've installed Samba 4 it doesn't work and it seems, that nobody has found any solution yet. I just read, that it was really difficult and complicated or On…
2
votes
1 answer

Samba as a PDC and offline authentication

Say I have a Windows laptop which has been connected to a domain. The domain has a Samba server as a PDC. Now say that I move the laptop outside of the network (the network is completely inaccessible). Will I be able to logon into accounts I have…
2
votes
3 answers

Restrict Samba4 authentication by user + VPN IP address pair

We're working towards a zero trust security model in our office, with servers secured behind a WireGuard VPN. We already use WireGuard for remote access, so this is the simplest way to ensure encryption for all network traffic. WireGuard guarantees…
Roger Dueck
  • 131
  • 5
  • 17
2
votes
1 answer

disable samba usershare feature

Is there a way to completely disable usershare in Samba? Don't be confused with the users home share: man smb.conf Starting with Samba version 3.0.23 the capability for non-root users to add, modify, and delete their own share definitions has been…
redseven
  • 230
  • 1
  • 10
2
votes
1 answer

Students can't install Extensions in Visual Studio Code

We are a school and would like to use Visual Studio Code together with the Omnisharp extension. The students' working environment has the following characteristics Server-stored home directories Active Directory environment Samba 4.x is used as…
Z.J
  • 121
  • 2
2
votes
0 answers

Insufficient permissions to join the domain

I'm trying to join a linux computer to an existing SAMBA4 AD domain, but I cannot: LANG=C realm -v join --user=ldap example.com * Resolving: _ldap._tcp.example.com * Performing LDAP DSE lookup on: 10.0.0.40 * Successfully discovered:…
sebelk
  • 682
  • 4
  • 13
  • 32
2
votes
2 answers

How to create a working samba PUBLIC share on Linux (smbd) for LATEST windows 10 client?

As we know, latest windows 10 upgrade has made samba client refuse to sue guest account. Some organization even make it impossible to disable this bug. This make it impossible to create a public samba share on Linux for win10 clients. You can't…
recolic
  • 81
  • 1
  • 6
2
votes
1 answer

nmb won't announce samba shares

I'm using samba on Fedora Server Edition. But I can't figure out why any windows can not see it. It can connect (directly, using ip address). It basically works, but I can't see them on either linux (using nautilus) nor windows…
2
votes
2 answers

Samba4 issues with Time Machine: cannot create new backup on Samba share

Note: originally posted on StackExchange. I'm not sure which location is more appropriate, my apologies if the duplication causes issues. TL;DR: Time Machine cannot create a new backup on my shared drive, but can add to an existing backup. I'm…
Mike
  • 251
  • 1
  • 3
  • 9
1
vote
2 answers

Samba doesn't ask for a password

I'm trying to set up Samba on my home server but it doesn't ask for a password. What did I do wrong? [global] workgroup = WORKGROUP security = user map to guest = Bad User wins support = no dns proxy = no [share] path = /media/storage/share guest…
pazzo053
  • 13
  • 3
1
vote
0 answers

How to only allow certain file extension on samba?

How to make samba only allowing certain file extension to put on for example i will only allow .doc, .pdf, .exe and it will block everything else. I know we can use veto files, but veto files work with blacklisting certain file extenstion i found it…
Aditya
  • 111
  • 2
1
vote
0 answers

Linux Samba server for Windows roaming profiles?

I have an existing Windows domain using Windows 2016, and I want to set up roaming profiles. I would like however to use a linux box (CentOS 8 ideally) for the actual fileshare to save a license. I can see in the samba wiki notes on how to do this…
spoovy
  • 354
  • 4
  • 15
1
vote
2 answers

How to exclude PDF folder from samba recycle?

My problem is how can I exclude the folder PDF from recycle (/home/*/PDF)? I have tested to exclude PDF;PDF/;/home/*/PDF... Nothing works. [homes] comment = Home Directories browseable = no vfs objects = recycle recycle:keeptree =…
1
vote
0 answers

Samba: authenticate against Active Directory using winbind but authorize against separate OpenLDAP server

Short Version How can I configure a CentOS 7 machine with Samba 4.8.0 serving users on Windows 7 clients to authenticate using their domain login credentials (winbindd and Active Directory) but be authorized (i.e. perform user/group lookup) against…
rg6
  • 185
  • 1
  • 11
1
vote
2 answers

How can I allow a computer/machine account to authenticate to a Samba AD domain member?

The problem Trying to attach to a network share on a Samba server from Windows Server 2019 as the SYSTEM account results in The password is invalid for \\server\share then a prompt for a new one. Expected result is The command completed…
Sean P.
  • 71
  • 1
  • 7