diff --git a/auth/credentials/credentials_secrets.c b/auth/credentials/credentials_secrets.c index ab2c9ddeef9..8469d6e116f 100644 --- a/auth/credentials/credentials_secrets.c +++ b/auth/credentials/credentials_secrets.c @@ -387,6 +387,7 @@ _PUBLIC_ NTSTATUS cli_credentials_set_machine_account_db_ctx(struct cli_credenti FALL_THROUGH; case ROLE_ACTIVE_DIRECTORY_DC: + case ROLE_IPA_DC: use_kerberos = CRED_USE_KERBEROS_DESIRED; break; } diff --git a/lib/param/util.c b/lib/param/util.c index 9a0fc102de8..b9055e86e9d 100644 --- a/lib/param/util.c +++ b/lib/param/util.c @@ -266,6 +266,7 @@ const char *lpcfg_sam_dnsname(struct loadparm_context *lp_ctx) { switch (lpcfg_server_role(lp_ctx)) { case ROLE_ACTIVE_DIRECTORY_DC: + case ROLE_IPA_DC: return lpcfg_dnsdomain(lp_ctx); default: return NULL;