The branch, master has been updated
       via  d5b8b804fe4 Add ROLE_IPA_DC into two more places
      from  eafcef18584 s3:locking: fix debug level for NT_STATUS_NOT_FOUND 
messanges in get_static_share_mode_data

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d5b8b804fe46eee2969abb479dc7bf3f109fffe4
Author: Alexander Bokovoy <a...@samba.org>
Date:   Mon Apr 24 19:26:19 2023 +0300

    Add ROLE_IPA_DC into two more places
    
    Missed two more places originally when introduced ROLE_IPA_DC.
    
    Signed-off-by: Alexander Bokovoy <a...@samba.org>
    Reviewed-by: Andreas Schneider <a...@samba.org>
    
    Autobuild-User(master): Alexander Bokovoy <a...@samba.org>
    Autobuild-Date(master): Tue Apr 25 07:46:36 UTC 2023 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 auth/credentials/credentials_secrets.c | 1 +
 lib/param/util.c                       | 1 +
 2 files changed, 2 insertions(+)


Changeset truncated at 500 lines:

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;


-- 
Samba Shared Repository

Reply via email to