Provide shared Active Directory discovery and validation primitives
Source: target-root/usr/local/lib/solidgroundux/common/active-directory-management.sh
Provide shared Active Directory discovery and validation primitives
Public functions
- Update DNS through the canonical identity tool
- Validate realm in the Active Directory workflow.
- Validate netbios in the Active Directory workflow.
- Validate account in the Active Directory workflow.
- Print the source IPv4 address selected by the system routing table.
- Print the first IPv4 default gateway from the routing table.
- Print the first non-loopback DNS resolver address reported by resolvectl.
- Resolve an Active Directory domain controller IPv4 address from DNS SRV records.
- Detect the currently configured domain realm from realm or Samba.
- Return the joined AD domain short name
- Normalize and validate SolidGroundUX-managed SSSD configuration
- Test whether the host is configured as a Samba AD domain controller.
- Test whether realmd reports an active realm membership.
- Require dc in the Active Directory workflow.
- Discover kerberos in the Active Directory workflow.
- Discover ldap in the Active Directory workflow.
- Test whether DNS resolves a given hostname to the expected IPv4 address.
Description
Shared Active Directory primitives used by the server, client, and directory management executables. Role-specific provisioning and mutation remain outside this library.
