summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-07-29 16:34:31 +0000
committerJim McDonough <jmcd@samba.org>2003-07-29 16:34:31 +0000
commit15188bcb02d06881be815e0b98ca16b898d1a9e4 (patch)
tree7026db0f92ea989ab34a0d1a5f51293051bdead3
parent7730b658a10c60e0c30c0d16aa4ff2da0a99ac10 (diff)
downloadsamba-15188bcb02d06881be815e0b98ca16b898d1a9e4.tar.gz
samba-15188bcb02d06881be815e0b98ca16b898d1a9e4.tar.bz2
samba-15188bcb02d06881be815e0b98ca16b898d1a9e4.zip
Fix the build on Heimdal. KRB5_KDB_BAD_ENCTYPE doesn't exist on Heimdal, and
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)
-rw-r--r--source3/libads/kerberos_verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index 943df61486..f9a6c5c97b 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -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)));
}