diff options
author | Michael Adam <obnox@samba.org> | 2008-07-22 11:39:01 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-01 16:04:42 +0200 |
commit | 7205dd5d12476c265bb8cec26df78a531d750db6 (patch) | |
tree | babd5dba067e493211190c9c4581a964c77d77aa /source3/libnet/libnet_proto.h | |
parent | 3fa9e5fdd45f4554e24f90f316dba55b7a787e0f (diff) | |
download | samba-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.h | 5 |
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 */ |