Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

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 ...
user avatar
  • 1,680
0 votes
0 answers
31 views

Ubuntu 21.10 with Samba AD unable to create domain trust account

I am trying to add domain trust account for additional kerberos5 (MIT) domain in Samba AD DC with command: net rpc trustdom add <domain_name> -UAdministrator%<administrator_password> What ...
user avatar
0 votes
1 answer
121 views

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 ...
user avatar
  • 101
0 votes
0 answers
112 views

Samba not authenticating after upgrade

I just upgraded my Proxmox host, which also doubles as a storage server from buster to bullseye, which must have upgraded Samba as well. After this, I am unable to mount any Samba shares. The host ...
user avatar
3 votes
1 answer
355 views

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 ...
user avatar
  • 31
0 votes
0 answers
39 views

Manage Samba 4 AD from windows 10 RSAT

I installed samba 4 AD on testing environment, configured it and provision the AD, I installed windows 10 client and joined it to the domain and it worked, I installed RSAT on windows 10 to manage ...
user avatar
0 votes
0 answers
16 views

Per-share encoding in Samba?

Most of my filesystems use KOI8-U (since early nineties), but there is one share, which is "owned" by a PHP-based web-application, that uses UTF8. I have unix charset = koi8-u in the [global]...
user avatar
  • 2,242
0 votes
0 answers
79 views

How do I enable samba 4.13 access without specifying a domain?

Can you tell me, I have a domain controller (cloud.cloud.domain.ru) on samba 4.13 connected to it as a file balloon (fs.cloud.domain.ru) . I can connect to the server with the domain controller ...
user avatar
1 vote
2 answers
366 views

Windows 10 clients flooding Samba servers with phantom guest login attempts

I am currently running a Samba server for file sharing on a SOHO network. I have noticed that one of the recent patches to Windows 10 seems to have introduced some sort of nasty bug with SMB that ...
user avatar
0 votes
0 answers
528 views

Windows 10 login fails at Samba NT domain member

I have the following setup: A Samba server PDC acting as the Primary Domain Controller of a NT domain MYDOMAIN (not Active Directory!) A Windows 10 pro PC Win10 which is also a member of that domain ...
user avatar
  • 597
2 votes
1 answer
167 views

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 ...
user avatar
  • 21
0 votes
1 answer
221 views

Ubuntu login fails with a user of a trusted IDM domain (AD)

We have an IDM Server on a Rocky Linux distro configured with a Trust to a Samba AD DC (also installed on a Rocky Linux). So we created a user 'usupru2' on Samba AD DC under adtest.uy domain. Then we ...
user avatar
  • 11
0 votes
0 answers
295 views

Access denied when listing Samba shares

I've installed Samba to share files with Windows 10 machines. The setup works correctly to access individual shares using their path such as \\myhost\sejf, but listing shares on \\myhost fails with ...
user avatar
  • 381
0 votes
1 answer
1k views

Windows 2019 and truenas SMB share access problems

I'm having all sorts of trouble getting a FRESH Windows Server 2019 to connect to a samba share on Truenas 12. Originally, when I tried to log in, Windows kept saying You Can't Access This Shared ...
user avatar
  • 75
0 votes
0 answers
69 views

Samba Domain Member and DNS Problems

I am trying to use my Fedora 34 workstation as a domain member but I'm having problems. First problem is that when I join the domain, I get an dns error. net ads join -U Administrator Enter ...
user avatar
0 votes
0 answers
158 views

Ansible get authentification timeout when using a domain account on a server running winbind

I installed a new domain controller hosted by Samba 4.11 on Ubuntu 20.04 (using ubuntu packages). I configured the system authentication to use AD credentials with the use of winbind. On others (...
user avatar
0 votes
0 answers
240 views

Setting up both a public and secure share on the same Samba server

Running RHEL 7 / Samba 4.10 I have two different shares on this server. I need to make one publicly available to everyone on the network and one password protected. A lot of the articles I've found ...
user avatar
0 votes
0 answers
37 views

Change the value of the records that SAMBA creates when joining a second domain controller to the primary

I am trying to join a second server to my primary domain controller to use as a secondary domain controller. I am using the following command to do it: root@dc2:~# kinit administrator administrator@...
user avatar
0 votes
0 answers
566 views

Unable to join a dc I just created with samba ad dc

I followed these instructions: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller These instructions didn't work exactly as they read. There was one step I ...
user avatar
0 votes
0 answers
48 views

How do I run dnsmasq and samba ad dc on the same server?

I am able to run dnsmasq with no issues but only when I don't have samba (ad dc) running. With dnsmasq running I am able to resolve both internal and external hostnames within my network. However, ...
user avatar
0 votes
0 answers
41 views

Multiple passwords for Samba users // seperate password for Windows RDS Server

I have a SAMBA-Domain based on "https://www.univention.com/products/ucs/" I would love to have 2 passwords for each user while one of them is always the same. the background is, that I have ...
user avatar
0 votes
0 answers
50 views

Samba 4 and Windows "Local system account"

I have a AWS EC2 Linux instance with configured samba (v4) shares. The idea is to allow passwordless access to the shares from the onprem machines which are running Windows Server 2016. There are ACLs ...
user avatar
  • 101
0 votes
1 answer
41 views

Where does Sendmail get authentication from?

For reasons I can't get into at the moment, I'm authenticating to an SMB domain (using Samba 4.9.5 on a Debian host as the DC, if it matters) with a Mint Linux server in the domain with Samba 4.11.6 ...
user avatar
  • 353
0 votes
0 answers
29 views

Join windows 10 professional to a domain NetpDoDomainJoin: status: 0x52e

I am using ethernet cable and I have a Synology Nas acting as Active Directory Domain controller. My computer has the Nas inserted in the Dns records and can resolve the Nas, for example I can ping ...
user avatar
  • 125
0 votes
1 answer
306 views

How to overcome the Weaker MD4 hash issue with samba

We are using samba configuration on our RedHat(RHEL7.9) systems, where SMB authentication is based on a NTLM password hash which basically a clear-text credential for a challenge-response ...
user avatar
0 votes
2 answers
299 views

Samba AD Groups appear empty on Unix

Environment: fresh Debian 10 Samba 4.9.5-Debian as AD-DC, using internal LDAP, internal DNS, RFC2307 enabled, libnss-winbind enabled and configured, libpam-winbind enabled and configured fresh Debian ...
user avatar
0 votes
1 answer
340 views

Compiled samba from source upgrade - version mismatch

I'm testing Samba 4 AD (test environment) on CentOS 8. First attemp was with version 4.13.5 without cups support because I have installed packages listed in section "Manually maintained ...
user avatar
0 votes
1 answer
457 views

how to export permissions/ACLs from Samba share to clients?

I have a Synology NAS running Samba that serves up shares in my network. I've set up autofs, LDAP and sssd and can mount Samba home directories on the fly when I log into Linux and MacOS machines. My ...
user avatar
1 vote
0 answers
136 views

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 ...
user avatar
  • 111
0 votes
1 answer
34 views

Odd user display discrepancy in standalone Samba server ("Account Unknown" vs "Unix User")

I am using a standalone Samba server on Ubuntu 18.04 (Samba 4.7.6). When an employee leaves the company, their Unix account ist locked (but not deleted). Their Samba account, however, is deleted via ...
user avatar
0 votes
1 answer
313 views

samba-tool tool missing on Centos8 after samba412 package install

Cant find samba-tool on Centos8 after samba412 package install... dnf cant find it as well. dnf provides samba-tool Error: No Matches found What's more, there is no /usr/local/samba/bin folder ... ...
user avatar
  • 151
0 votes
1 answer
148 views

Centos8: Selinux blocking Samba service from starting

My Samba4 service is being blocked from starting using systemctl. The audit log shows: type=AVC msg=audit(1606428851.446:87): avc: denied { execute } for pid=1748 comm="(samba)" name=&...
user avatar
  • 151
1 vote
1 answer
199 views

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 ...
user avatar
1 vote
0 answers
1k views

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: ...
user avatar
  • 630
0 votes
1 answer
33 views

Several redundant automatic entries for all DHCP client machine host names in Samba 4 AD DC DNS

We have a Samba 4 AD DC installation wich is also the DNS in our network. It collects entries of all DHCP client machines with their addresses automatically. I can remember to have activated this ...
user avatar
  • 111
1 vote
1 answer
151 views

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 deleted: HKLM\...
user avatar
  • 141
2 votes
2 answers
3k views

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 ...
user avatar
  • 81
-1 votes
1 answer
198 views

Can't connect samba domain to RSAT GPM

I have created a domain using Samba4 and while RSAT DNS works perfectly with the domain, GPM says " The Specified Domain Either Does Not Exist or Could Not Be Contacted". How can i fix this? ...
user avatar
0 votes
1 answer
680 views

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 ...
user avatar
0 votes
1 answer
280 views

SAMBA: valid users ignores local samba user

I have a linux server (SLES12 SP5) in a Windows domain. >smbd -V Version 4.10.5-git.192.26ffbcd72313.11.1-SUSE-SLE_12-x86_64 Accessing samba shares with a domain user works very well. ...
user avatar
0 votes
0 answers
441 views

Single sign on with Samba AD DC, Linux servers, GSSAPI/Kerberos and Windows clients that are not joined to the domain

Setup We have: a machine running Samba 4 on Debian Buster as AD DC. another Debian Buster machine running Samba 4 as file server, joined to the domain with net join and using winbind for ...
user avatar
0 votes
1 answer
351 views

SAMBA AD DC visible from external DNS

I have configured fully functional SAMBA AD DC server. During AD provisioning process i set up SAMBA_INTERNAL as DNS back end. I couldn't use "NONE DNS", it is not supported. I want to use ...
user avatar
  • 49
2 votes
1 answer
2k views

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 (...
user avatar
1 vote
1 answer
311 views

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 - ...
user avatar
  • 49
5 votes
1 answer
127 views

Override template homedir on FreeNAS 11.3 joined in Active Directory

I've joined a FreeNAS 11.3 in an Active Directory and everything works as expected. But one feature that I'm really missing is some kind of override on mapped home directories for users. By default ...
user avatar
1 vote
1 answer
1k views

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 ...
user avatar
0 votes
0 answers
215 views

Samba AD on Debian 10

I have 2 VMs running, one for Windows 10 Pro and a second with Debian 10. Basically I would like to have the windows machine join the samba AD that's running on Debian 10 VM. I went trough the ...
user avatar
1 vote
1 answer
161 views

Can't write on Samba4 share using Zentyal 6.1 server, after upgrading from 5, read only is allowed

I can't write on all my clients (Windows 7 and Windows 10) in all my samba shares, even if the users are accepted on domain, and the permissions was maintained. The shares are on a NAS, ISCSI ...
user avatar
2 votes
2 answers
6k views

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 ...
user avatar
  • 211
3 votes
4 answers
1k views

in-addr.arpa zone delegation in Bind 9 and Samba 4 as an AD DC with DDNS

Environment and goals In my testing KVM lab I have a virtual network 172.16.50/24, in this network I have got 2 Centos 7 VMs running Bind 9 and ISC DHCP servers: Мастер DNS : controller.wsvirt.home (...
user avatar
  • 31

1
2 3 4 5
8