summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2016-04-21 20:54:12 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-04-25 10:35:14 +0200
commitb26ae7fbf66b4d79efc7a49164f93011d963333b (patch)
treeb58d5bfe79a805493ce39f9d80597f3ac06ee139 /source3/libads
parent0c373f2854a3414680ce71e8738b429a60b70fd3 (diff)
downloadsamba-b26ae7fbf66b4d79efc7a49164f93011d963333b.tar.gz
krb5_wrap: add enctype arg to smb_krb5_kt_seek_and_delete_old_entries()
Unused in this commit, the next commit will use it to avoid deleting keys with the same kvno but a different enctype. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos_keytab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c
index 340e55252e8..8a3363c577a 100644
--- a/source3/libads/kerberos_keytab.c
+++ b/source3/libads/kerberos_keytab.c
@@ -280,6 +280,7 @@ int ads_keytab_flush(ADS_STRUCT *ads)
ret = smb_krb5_kt_seek_and_delete_old_entries(context,
keytab,
kvno,
+ KRB5_ENCTYPE_NULL,
NULL,
NULL,
true,