In Active Directory, what connects the KDC's principals to their corresponding LDAP entries? For example, my KC principal might be


and my LDAP entry might be:

dn: cn=john,dc=company,dc=com
objectclass: somewhere

but how does Active Directory "connect" the two? SRV records? For example, when I log in (i.e., use Kerberos), how does AD match my Kerberos principal to my LDAP entry?

UPDATE: This MSDN article comes close to answering the question, but doesn't clearly explain the flow: "The Key Distribution Center (KDC) is implemented as a domain service. It uses the Active Directory as its account database and the Global Catalog for directing referrals to KDCs in other domains.. The KDC for a domain is located on a domain controller, as is the Active Directory for the domain. Both services [ sic? probably meant the 3 services of Kerberos: AS, TGS, and password reset ] are started automatically by the domain controller's Local Security Authority (LSA) and run as part of the LSA's process."

  • If I read your question correctly - it's a bit difficult to understand - you are looking for the attribute called UPN (rather than SPN that mentioned by Jacob's answer below) – strongline Nov 20 '17 at 2:45

An ldap attribute called SPN (service provider name) the primary being HOST

  • Any details here? Your answer doesn't explain why, for example, Administrator has no SPNs: C:\Users\Administrator>setspn -L Administrator Registered ServicePrincipalNames for CN=Administrator,CN=Users,DC=company,DC=com: C:\Users\Administrator> – mellow-yellow Nov 19 '17 at 0:55
  • users by default have no services, they are users, they are not workstations to have host or mssql servers to have MSSQL so they do not have SPNs (by default, a mssql service for example would have them added to delegate permissions), the username is your kerberos identity. type klist – Jacob Evans Nov 19 '17 at 3:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.