Samba Operability (As Role of PDC) In CentOS stream 9 or 10

I have been running Samba Version 4.22 in Clear Linux I am trying to transition to CentOS Stream 10. I have the /var/lib/samba from Clear Linux. There are a number of differences between the Clear Linux version and the CentOS version, first the /usr/sbin/samba is missing from the CentOS version, how do I version of samba that supports a version of a PDC that is like what was available in Clear Linux? Is there a special install? Do I have to build my own version from samba sources?

I think by ‘PDC’, you actually mean a Samba AD DC, a PDC was an earlier type of domain controller which relies on the deprecated SMBv1 protocol.
If this is the case, then you cannot create a Samba AD DC on Centos Stream (or RHEL or any of its derivatives, the code just isn’t there) .

You can obtain Samba AD packages capable of being used as an AD DC from Tranquil IT, see here:

Thank you for this. I will check it out. As user/subscriber of Installing and configuring a secondary Samba-AD on Redhat and derivatives — Samba-AD - 4.22 4.22 documentation
Will a person be informed about updates? Clear-Linux updated Samba with all of the roles it supported. I was able to keep my Samba PDC going since 2021, with little to no issues, in Clear-Linux. They have been gone since July, but I already miss the distribution.

Do you know anything about how if CentOS is deprecating systemd-networkd? I am running into an issue where systemd-networkd will provide basic networking services like a dhcp client on the input ethernet interface and will assign ip addresses on the internal output ethernet interfaces, but no longer provides a DHCPD server capability. It chokes on IPforarding key words, and DHCPD operation, no ip addresses or dns or routing setup is provided when hosts ask for them.

If I keep bumping into these issues I might have to port to Ubuntu or something else, I was beginning to like CentOS Stream 9/10, but Samba is a core requirement so is fully functional systemd-networkd networking configuration and control software. I could install a separate dhcpd server.

Sorry I cannot help with systemd-networkd, I do not use it, I always turn it off. I can help with Samba problems, but I wish you would stop referring to your AD DC as a PDC, every AD DC is equal except for the FSMO roles and they can be on any DC.

I have systemd-networkd working on both CentOS Stream 9 in VMware and CentOS stream 10.
The VMware VM I believe had an issue with the configuration files being executable, because I copied them over from shared host directory where the permission are not correct seem like all files from the shared folder (from VMware host) are rwx for user group and others. I corrected that problem in the /etc/systemd/network directory then network configured correctly.

In the CentOS 10 case on actual hardware, I kept getting SELINUX assertion when the systemd-networkd was reloaded and restarted. I copied the suggestion that were in the SELINUX dialog box, though that would fix the problem, then I just disabled SELINUX in /etc/config

#SELINUX=enforcing
SELINUX=disable

Then I rebooted.

For the suggestions the SELINUX dialog asserts, where are they put, in the /etc/selinux somewhere?