mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
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
This commit is contained in:
parent
eafcef1858
commit
d5b8b804fe
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user