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.
375
questions
0
votes
1
answer
250
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 ...
0
votes
1
answer
3k
views
Samba 4 Office365 sync
I couldn't find any info on if it's possible to sync Samba4 AD with Office 365.
The obvious idea would be to use a Windows server (non AD role) to install the Azure AD Connect software and run it ...
2
votes
1
answer
2k
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 ...
3
votes
2
answers
2k
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 ...
0
votes
1
answer
621
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 ...
5
votes
1
answer
178
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 ...
2
votes
1
answer
2k
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
...
0
votes
0
answers
1k
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
...
3
votes
1
answer
2k
views
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 ...
0
votes
0
answers
2k
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 ...
2
votes
1
answer
342
views
Can I make `user` objectClass to inherit attributes from my custom `xyz` objectClass?
TL;DR:
How can I make user objectClass in Active Directory to inherit the attributes from my custom xyz objectClass?
More text:
This seemed to be any easy task, but I I have been searching and ...
0
votes
1
answer
1k
views
It is possible to manage a Samba4 ADDC server with phpLDAPadmin?
I have installed a Samba4 and configured it as a Active Directory Domain Controller and works GREAT. Now I wonder, it is possible to manage it with phpLDAPadmin instead of RSAT? I'm kicking all ...
0
votes
1
answer
679
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 ...
0
votes
1
answer
1k
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 ...
0
votes
2
answers
1k
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 ...
1
vote
2
answers
34k
views
Samba4 & Active Directory Kerberos [Cannot contact any KDC for realm 'INTERNAL.CORP.COM' while getting initial credentials
Yesterday I configured an Active Directory Server using Arch Linux and Samba 4 following this guide.
I even added a client to the domain and was able to log in successfuly on my client. After a ...
0
votes
1
answer
28k
views
Samba DC - NT_STATUS_OBJECT_NAME_NOT_FOUND
What am I doing wrong!!! Argh!!!
I’m trying to get an Ubuntu 14.04 server running Samba as domain controller.
Setup is a VM (10.0.0.1, samba.test.local) running a fresh & basic installation of ...
21
votes
4
answers
99k
views
How to configure Samba to work with Windows 10 1709?
A few PCs that have Windows 10 1709 installed (instead of upgraded from 1703) are having trouble connecting to network shares running on Samba (Ubuntu 17.10). Entries in event logs indicate that the ...
1
vote
2
answers
3k
views
Samba4: Possible to build a AD Forest
currently I have to set up a completly new AD infrastructure. Right now most parts in that company are run by NT-DCs untill now.
I bought a new Server installing a Samba 4 (Version 4.3) domain ...
0
votes
1
answer
983
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 ...
1
vote
0
answers
489
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 ...
0
votes
1
answer
58
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 ...
3
votes
2
answers
335
views
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 ...
29
votes
5
answers
92k
views
Samba configuration for public shares
yesterday I upgraded my fedora box to the latest version, and with that, I also upgraded samba, now using samba 4. I used to access those share from any computer at home without user/password, but now ...
4
votes
2
answers
2k
views
possible to make samba4's internal dns server listen on non-standard port?
Is it possible to make samba4's internal dns server listen on a port other than 53?
I need to run two dns server's on this host -- my desire was to use dnsmasq on the standard port for client's and ...
3
votes
1
answer
27k
views
connect to smb share with root access [closed]
Ok, I have smb configured on my Centos 6.7 environment, I have added the user root with smbpasswd -a and when I browse to the share from my windows box I connect with the samba root user I created a ...
2
votes
2
answers
9k
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 ...
0
votes
1
answer
1k
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 ...
...
0
votes
1
answer
272
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=&...
1
vote
1
answer
538
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 ...
2
votes
0
answers
2k
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: ...
4
votes
2
answers
4k
views
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 ...
2
votes
2
answers
4k
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 ...
0
votes
1
answer
67
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 ...
1
vote
1
answer
560
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\...
1
vote
3
answers
2k
views
Older CIFS can not mount shares from Samba-4 server
I have a media-player, which used to connect to my main computer running Samba without a problem. It is running an old version of embedded Linux (kernel 2.6.22.19-27) and has CIFS.
At some point, ...
3
votes
2
answers
26k
views
protocol negotiation failed: NT_STATUS_CONNECTION_RESET
This may look like an old thread. But I tried all types of solution which are provided. But no luck.
I have a Shared Folder from fileserver(windows server 2012 R2 - default samba 2.1)
My client ...
2
votes
1
answer
6k
views
samba4: session setup failed: NT_STATUS_UNSUCCESSFUL
I am having trouble with my samba4 installation. For a long time it has been working without issue. I use webmin to configure users and although the module is only supposed to support samba3 it works ...
-1
votes
1
answer
328
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?
...
1
vote
2
answers
13k
views
Samba4 join NT_STATUS_CONNECTION_REFUSED error
I have a Centos 7.2 server running Samba 4.6.13 as an active directory domain controller. I am trying to join a new Fedora 27 server running Samba 4.7.5 to the domain. The domain command will not ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
883
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.
...
0
votes
0
answers
1k
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 ...
0
votes
1
answer
653
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 ...
2
votes
1
answer
3k
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 (...
1
vote
1
answer
642
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 - ...
1
vote
1
answer
2k
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 ...
1
vote
2
answers
8k
views
OracleLinux 7.3 - Samba 4.6.2 - NT_STATUS_ACCESS_DENIED
I have ran into an issue with SAMBA during a recent server build. Below is a configuration I have used many times without issues.
Samba Configuration - (Anonymous is commented out but works fine ...
0
votes
0
answers
283
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 ...
4
votes
0
answers
3k
views
Strange STATUS_ACCESS_DENIED issue with SMB2 client and Freenas CIFS SHARE
I've recently started seeing some strange SMB2 Errors on Windows 10 PCs (all of them version 1903).
The Fileserver is running FreeNAS-11.1-U7 (with ZFS Volumes) and CIFS Shares with Active Directory ...