summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_proto.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-22 11:39:01 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:04:42 +0200
commit7205dd5d12476c265bb8cec26df78a531d750db6 (patch)
treebabd5dba067e493211190c9c4581a964c77d77aa /source3/libnet/libnet_proto.h
parent3fa9e5fdd45f4554e24f90f316dba55b7a787e0f (diff)
downloadsamba-7205dd5d12476c265bb8cec26df78a531d750db6.tar.gz
samba-7205dd5d12476c265bb8cec26df78a531d750db6.tar.bz2
samba-7205dd5d12476c265bb8cec26df78a531d750db6.zip
libnet keytab: add function libnet_keytab_remove_entries().
This can be used to remove entries of given principal, kvno and enctype. Michael (This used to be commit a6f61c05b270c82f4bfce8a6850f81a09ad29087)
Diffstat (limited to 'source3/libnet/libnet_proto.h')
-rw-r--r--source3/libnet/libnet_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/libnet/libnet_proto.h b/source3/libnet/libnet_proto.h
index 43046a44c0..26ffbfce8c 100644
--- a/source3/libnet/libnet_proto.h
+++ b/source3/libnet/libnet_proto.h
@@ -55,6 +55,11 @@ struct libnet_keytab_entry *libnet_keytab_search(struct libnet_keytab_context *c
const char *principal, int kvno,
const const krb5_enctype enctype,
TALLOC_CTX *mem_ctx);
+
+krb5_error_code libnet_keytab_remove_entries(struct libnet_keytab_context *ctx,
+ const char *principal,
+ int kvno,
+ const krb5_enctype enctype);
#endif
/* The following definitions come from libnet/libnet_samsync.c */