Active Directory (AD) is Microsoft’s enterprise directory and identity platform, first released with Windows 2000 and now the dominant identity provider in enterprise environments worldwide. It combines four technologies into a single integrated system: LDAP as the directory access protocol for querying and modifying identity data; Kerberos 5 as the authentication protocol for issuing tickets that prove identity without transmitting passwords; DNS as the service location mechanism that clients use to discover domain controllers, Kerberos KDCs, and LDAP servers; and Group Policy as the configuration management system that pushes security settings, software installation, and policy enforcement to every joined machine. These four components are inseparable in practice: a Linux host joining an AD domain receives a Kerberos principal in AD’s KDC, a machine account object in the AD LDAP directory, a DNS record for its hostname, and (optionally) Group Policy Objects applied to it. The AD forest is the trust boundary: multiple domains can exist within a forest and all share a common schema, configuration, and Global Catalog, with transitive Kerberos trust between them.
AD’s directory schema is LDAPv3-compatible but Microsoft-extended beyond standard RFC 2307. Every security principal (user, computer, group, service account) has a Security Identifier (SID) — a globally unique, immutable identifier that is the actual identity token in Windows access control, independent of name or DN. The SID is carried in the PAC (Privilege Attribute Certificate) embedded in every Kerberos ticket, containing the user’s SID, all group SIDs, and privilege flags — allowing Windows services and AD-aware Linux services to make authorisation decisions from the ticket alone without querying LDAP. User account attributes of security relevance include: userAccountControl (a bitmask encoding account enabled/disabled, password never expires, smart card required, trusted for delegation, and dozens more), pwdLastSet and lockoutTime for password policy enforcement, msDS-SupportedEncryptionTypes declaring which Kerberos encryption types the account supports, and altSecurityIdentities for storing certificate subject names and SSH public keys for certificate- and key-based authentication. Group Policy Objects (GPOs) are LDAP objects in the cn=Policies,cn=System container linked to sites, domains, or OUs; Windows clients process them at boot and login via the Group Policy Client service; Linux clients joined via SSSD and realmd do not process GPOs natively but can apply a subset of security policy through SSSD’s AD provider features.
For Linux infrastructure, AD integration is the dominant enterprise identity use case and SSSD with realmd is the standard integration path. realm join example.com performs the full join in one command: it discovers the nearest domain controller via DNS SRV records (_ldap._tcp.example.com, _kerberos._tcp.example.com), creates a machine account in AD, writes the Kerberos keytab to /etc/krb5.keytab, and configures SSSD with the ad provider. Once joined, Linux users authenticate with their AD username and password (or Kerberos ticket), group membership is resolved from AD, sudo rules can be stored in AD using the RFC 2307 schema extension or in FreeIPA trust mode, and HBAC (Host-Based Access Control) restricts which AD users may log in to which Linux hosts. AD Certificate Services (AD CS) provides the enterprise CA for issuing user and machine certificates, integrated with the AD identity store — user certificates issued by AD CS carry the user’s UPN in the SAN, enabling certificate-based authentication to Linux hosts via SSSD’s pam_cert_auth feature and FIDO2/smartcard login. Kerberos constrained delegation and resource-based constrained delegation (RBCD) allow AD-enrolled Linux services to impersonate users when accessing other Kerberos-protected services — the mechanism underlying gss-proxy and kerberised NFS, CIFS, and PostgreSQL authentication. The Azure AD / Microsoft Entra ID cloud identity service is a separate product that does not implement the same AD protocols (no LDAP, no Kerberos, no Group Policy) and integrates with Linux via OIDC/OAuth 2.0 through SSSD’s IdP provider or via the Microsoft Entra Linux agent rather than through the traditional AD domain join path.
