diff options
author | Alexander Bokovoy <ab@samba.org> | 2023-04-24 19:26:19 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2023-04-25 07:46:36 +0000 |
commit | d5b8b804fe46eee2969abb479dc7bf3f109fffe4 (patch) | |
tree | 76695f11c52452b0db0097d56b0bfb553564621a | |
parent | eafcef18584c264dc68dd95fbd8aa39218199446 (diff) | |
download | samba-d5b8b804fe46eee2969abb479dc7bf3f109fffe4.tar.gz |
Add ROLE_IPA_DC into two more places
Missed two more places originally when introduced ROLE_IPA_DC.
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Tue Apr 25 07:46:36 UTC 2023 on atb-devel-224
-rw-r--r-- | auth/credentials/credentials_secrets.c | 1 | ||||
-rw-r--r-- | lib/param/util.c | 1 |
2 files changed, 2 insertions, 0 deletions
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; |