[Samba] Unable to join domain when DC firewall is active

miguel medalha medalist at sapo.pt
Mon Jan 1 02:01:27 UTC 2024


Maybe reading this Samba Wiki page will help you (a lot):

"The samba service, which provides the AD DC features, requires that the
following ports are opened on the DC:"

etc, etc,

Samba AD DC Port Usage
https://wiki.samba.org/index.php/Samba_AD_DC_Port_Usage


-----Original Message-----
From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rob Campbell
via samba
Sent: 1 de janeiro de 2024 00:48
To: sambalist <samba at lists.samba.org>
Subject: [Samba] Unable to join domain when DC firewall is active

I'm unable to join my computer to the domain.

On the domain controller, initially I only had firewall-cmd --permanent
--add-service=samba but that didn't work. The computer couldn't join but
when I turned off the firewall all-together I was able to join.

I then tried firewall-cmd --permanent
--add-service={samba,dns,ldap,ldaps,kerberos,kpasswd} but that didn't work
either.

Are there some other services and/or ports I need to open?

I've also tried firewall-cmd --permanent --add-port={137,138,139,445}/tcp
and firewall-cmd --permanent --add-port={137,138,139,445}/udp just to see
if it would work but it didn't.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list