Fix the build on Heimdal. KRB5_KDB_BAD_ENCTYPE doesn't exist on Heimdal, and
authorJim McDonough <jmcd@samba.org>
Tue, 29 Jul 2003 16:34:31 +0000 (16:34 +0000)
committerJim McDonough <jmcd@samba.org>
Tue, 29 Jul 2003 16:34:31 +0000 (16:34 +0000)
it's a different rc than KRB5_BAD_ENCTYPE (which exists on both MIT and
Heimdal).  This will just make the debug show up at level 3 always.

Jeremy, you may want to revisit this, but it's probably not worth the hassle.
(This used to be commit 4ff322ccf9c8485bcfe67e658d48f190f03547b0)

source3/libads/kerberos_verify.c

index 943df6148626ca53ebf5fd483758dc1b0c032cbf..f9a6c5c97b72b5a45878c874f2283375c52a5d9f 100644 (file)
@@ -162,7 +162,7 @@ NTSTATUS ads_verify_ticket(ADS_STRUCT *ads, const DATA_BLOB *ticket,
                        break;
                }
        
-               DEBUG((ret != KRB5_KDB_BAD_ENCTYPE) ? 3 : 10,
+               DEBUG( 3,
                                ("ads_verify_ticket: enc type [%u] failed to decrypt with error %s\n",
                                (unsigned int)enctypes[i], error_message(ret)));
        }