summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-29 08:58:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:41 -0500
commit6fff735da0f9243761c410b39b876358a99fb9a8 (patch)
tree7f54b98a7af245faa9e09a262d990e37f5f39d85
parentdf63172ad9b6460dc05bead8629b78b9a44f5b7c (diff)
downloadsamba-6fff735da0f9243761c410b39b876358a99fb9a8.tar.gz
samba-6fff735da0f9243761c410b39b876358a99fb9a8.tar.bz2
samba-6fff735da0f9243761c410b39b876358a99fb9a8.zip
r23647: Use smb_krb5_open_keytab() in smbd as well.
Guenther (This used to be commit d22c0d291e1b4a1412164d257310bbbb99de6500)
-rw-r--r--source3/libads/kerberos_verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index cfe9eeb7a2..2eb5d66092 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -81,9 +81,9 @@ static BOOL ads_keytab_verify_ticket(krb5_context context,
ZERO_STRUCT(kt_entry);
ZERO_STRUCT(kt_cursor);
- ret = krb5_kt_default(context, &keytab);
+ ret = smb_krb5_open_keytab(context, NULL, False, &keytab);
if (ret) {
- DEBUG(1, ("ads_keytab_verify_ticket: krb5_kt_default failed (%s)\n", error_message(ret)));
+ DEBUG(1, ("ads_keytab_verify_ticket: smb_krb5_open_keytab failed (%s)\n", error_message(ret)));
goto out;
}