adclient.krb5.service.principals.autoupdate

This configuration parameter specifies whether adclient keeps the computer account's service principal names in step with adclient.krb5.service.principals after the computer has joined.

When set to true, adclient adds any service principal that is listed above but missing from the computer account, together with its key table entries. It does this at startup, when it reconnects to Active Directory, and when adrelaod is run, so a change to the list above takes effect without re-joining the domain.

Service principals are only ever added. Removing a service from the list above does not remove it from the computer account; use adkeytab --delspn to remove a service.

Enabling this makes the list above authoritative for additions. Every service it names is added to the computer account, not only those that are new. If the computer account was pre-created with a deliberately reduced set of service principals, set the list above to exactly the services this computer should have before enabling the parameter. For example, to have adclient maintain only the ldap service principal:

adclient.krb5.service.principals: ldap
adclient.krb5.service.principals.autoupdate: true

The default is true on macOS X and false on other platforms. It is false by default because a service principal that is absent from a pre-created computer account is assumed to be absent deliberately, and adclient should not override the choice an Active Directory administrator made when creating the account.

Example:

adclient.krb5.service.principals.autoupdate: false