]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib:krb5_wrap: Add debug to ads_krb5_cli_get_ticket()
authorSamuel Cabrero <scabrero@samba.org>
Thu, 7 Jul 2022 10:33:15 +0000 (12:33 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 12 Jul 2022 11:47:30 +0000 (11:47 +0000)
Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/krb5_wrap/krb5_samba.c

index 9558522c634eac696ff460e296d1a6a109018511..2b9dc97a1bcf5b6ea6ff628b01d461ddc88be2f9 100644 (file)
@@ -3813,6 +3813,10 @@ int ads_krb5_cli_get_ticket(TALLOC_CTX *mem_ctx,
                ENCTYPE_NULL};
        bool ok;
 
+       DBG_DEBUG("Getting ticket for service [%s] using creds from [%s] "
+                 "and impersonating [%s]\n",
+                 principal, ccname, impersonate_princ_s);
+
        retval = smb_krb5_init_context_common(&context);
        if (retval != 0) {
                DBG_ERR("kerberos init context failed (%s)\n",