Skip to main content

🗂️ Active Directory Account

An Active Directory account: the domain, its NetBIOS name, the logon format and UPN suffix, the account name and the password, plus two flags for service accounts and gMSAs.

  • The logon format decides the name a bind uses: NETBIOS signs in as NETBIOS\username, UPN as username@suffix (or username@domain without a suffix). Leave it unset for the default, username@domain.
  • The Service account and gMSA account flags are yes/no markers on the secret.

Type id: type-active-directory. Agents and sneakers-put name the type by this id; sneakers_list_secret_types lists it.

🧾 Fields​

FieldKeyKindRequiredSecretNotes
DescriptiondescriptionMulti-line textNoNo
Domain (FQDN)domainTextYesNo
NetBIOS domainnetbiosTextNoNo
Logon formatlogonFormatChoiceNoNoOne of NETBIOS, UPN
UPN suffixupnSuffixTextNoNo
Account NameusernameTextYesNo
PasswordpasswordPassword (can be generated)YesSensitivethe field rotation changes
Service accountserviceAccountYes or noNoNo
gMSA accountgmsaYes or noNoNo
NotesnotesMulti-line textNoNo

🔒 What's secret​

Password is masked until someone who can read the secret reveals or copies it, and every reveal and copy is written to the audit trail. Everything else is plain metadata that anyone who can see the folder can see.

🔁 Heartbeat, rotation and check-out​

  • Heartbeat: yes, against the secret's target (how it works).

  • Rotation: yes: rotation changes Password (how it works).

  • Check-out: yes: one person at a time holds it for a lease (check-out).

  • The heartbeat binds to the directory as the account itself, and also records whether the account is the domain's built-in Administrator and whether adminCount is set.

  • Rotation is a self-service password change made with the current password, so the connector needs no admin rights on the directory. When the target has a Kerberos realm, the new password is then proved over Kerberos, on the connection's KDC port (88 unless the connection sets another).

  • The built-in Administrator (RID 500, matched by its SID, never by name) is never rotated; its heartbeat still runs.

🎯 Targets​

A target with an LDAPS connection (port 636), an LDAP connection, or a Kerberos connection (kpasswd on port 464 of the same host). Active Directory only allows a password change over an encrypted connection, so use LDAPS or Kerberos to rotate. An LDAPS certificate has to chain to the system's trusted roots; one that doesn't is reported as an untrusted certificate and the password is never sent. See targets and connections for how to set one up.