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
0
votes
0 answers
Capitalize home directories and append string
In the [homes] section of my smba.conf file, %S is a variable holding the name of the current service. If %S is username, the folder /mnt/data/%S is displayed to user username as "username". Is it possible to display the folder /mnt/data/%S to the…

Stücke
- 101
0
votes
1 answer
Understanding Samba VFS Operations for Full Audit
We have a TrueNAS System running TrueNAS-12.0-U8 for which we are required to log all successful and all failed file access attempts for a specific SMB share. The Samba version is 4.13.
Per guidance from the vendor, I've included the below in the…

sardean
- 833
- 3
- 15
- 34
0
votes
1 answer
Failed to join a computer to samba domain (Zentyal) - Couldn't join realm: Insufficient permissions to join the domain
I'm relatively new Zentyal user (few months), and I love it! But I've ran into a problem I hope someone can help me with.
In my deployment I have two Zentyal servers (zentyal-1.mydomain.com and zentyal-2.mydomain.com), both running "Domain…

Aleksandar Pesic
- 259
- 2
- 4
- 9
0
votes
0 answers
Ubuntu server 18.04 samba pdc
The problem I have is that when I want to connect a windows 10 client with a samba pdc server I get these errors:
[client][1]
error trying to join domain, specified domain does not exist or cannot be contacted
[Server][2]
status=daemon 'smbd'…
0
votes
0 answers
How to configure FreeRadius on a different server than Samba4?
I want to set up a FreeRadius server that uses a Samba4 DC base.
I wanted FreeRadius to be on a different server that wasn't a DC Samba4. Is it possible?
Consulted…

campos
- 17
- 3
0
votes
0 answers
How to login as different users in samba?
I am able to setup a samba shares shared among 400 users on ubuntu 20 as file server. As a part of policy after any user have completed his/her work they disconnect from share. The problem arises for some users who share computers. For these users…

SUNITA GUPTA
- 101
0
votes
0 answers
Bind does not start on a DC Samba 4. What to do?
I'm migrating a Samba DC that uses Bind9, but when I try to start Bind on the new DC, a permission error is displayed. Reading some links I saw that the apparmor can be a problem, however it is not mounted. What should I do to solve this…

campos
- 17
- 3
0
votes
0 answers
How to set the path of folders in the compilation of samba?
I'm compiling Samba 4. By default the folders are stored in /usr/local/samba.
With the command below I made some changes:
./configure --bindir=/bin/ --sbindir=/sbin/ --sysconfdir=/etc/samba/ --mandir=/usr/share/man/
However, the following folders…

campos
- 17
- 3
0
votes
1 answer
Windows 10 Doesn't connect with Samba4 server
I'm facing a problem with my samba server.
I had a Samba server but it was a very old configuration so I have reinstalled the OS (Debian 5.10.140-1) and the Samba (Samba version 4.13.13). But now all the computers with Win10 cannot connect in the…

Anderson Silvestre
- 13
- 5
0
votes
0 answers
samba Doesnt work gpo scripts startup
im trying to create and use gpo startup scripts for linux
when creating gpo scripts startup using
Code:
samba-tool gpo manage scripts startup add {32147013-5DD6-4BFA-BAF5-D25B0F05A0C9} /usr/local/scripts/add_proxy.sh
i have no errors
when i…
0
votes
1 answer
Samba 4.16 integration with openldap 2.6 on Centos8 for 2FA
I want to setup 2factor authentication for both Linux and windows machine and want to manage the password via LDAP server.
For this, I am using LDAP(which provides TOTP functionality) to authenticate Linux machine and Samba for windows machines.
My…
0
votes
0 answers
wrong count of files samba windows/linux
i have a problem, i have a shared folder via samba, it works perfectly except if it has allot of files/folders, for example: one subfolder has 885 pdf's and browsing with linux i can see all of them, but in windows i only see 624 (and it depends on…

Miguel Ferreira
- 11
- 4
0
votes
1 answer
Windows client connecting to Samba 4.1.12 failing to join DC, latest Windows 11 Update?
I'm writing this here just in case someone can help me out a little bit here, since I'm kind of lost. I'm managing a domain controller through Samba version 4.1.12 (installed in a Debian 7), a little bit older version, but I'd like to know why…

Marcos L.
- 3
- 3
0
votes
2 answers
access based share enum not working as expected
On a long-term (2years) Arch Linux server, I am running a small samba configuration with several shares.
I would like users to only see the shares which they have access to - which is why I am using the "access based share enum = yes" configuration…

Nox997
- 1
0
votes
2 answers
is There ANY WAY To acess a NAS server over the internet without using any VPN or any ip router config
I'm trying to acess my samba server over the internet but I don't know how to do it without setting up a VPN or something which I don't want to do. I can't do anything with VPN's or router configs since my decos doesn't have any option for port…

ss ss
- 1
- 1