diff options
author | Simo Sorce <idra@samba.org> | 2012-04-26 15:05:11 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2012-05-04 16:51:28 +0200 |
commit | c2f663263c60e6a4b83d85d70fc1e091d77618f5 (patch) | |
tree | d6ef6da7b4ec8ea227111820d3466710048aa1be /lib/krb5_wrap/krb5_samba.h | |
parent | 94b9af6ac6e7d524398d971c44cc5569cf70346f (diff) | |
download | samba-c2f663263c60e6a4b83d85d70fc1e091d77618f5.tar.gz samba-c2f663263c60e6a4b83d85d70fc1e091d77618f5.tar.bz2 samba-c2f663263c60e6a4b83d85d70fc1e091d77618f5.zip |
Move keytab_copy to krb5samba lib
This is a helper fucntion that uses purely krb5 code, so it belongs to
krb5samba which is the krb5 wrapper for samba.
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r-- | lib/krb5_wrap/krb5_samba.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 864cda67bb..e2bd634d7a 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -241,6 +241,17 @@ bool unwrap_edata_ntstatus(TALLOC_CTX *mem_ctx, DATA_BLOB *edata, DATA_BLOB *edata_out); + +krb5_error_code kt_copy(krb5_context context, + const char *from, + const char *to); +krb5_error_code kt_copy_one_principal(krb5_context context, + const char *from, + const char *to, + const char *principal, + krb5_kvno kvno, + krb5_enctype *enctypes); + #endif /* HAVE_KRB5 */ int cli_krb5_get_ticket(TALLOC_CTX *mem_ctx, |