summaryrefslogtreecommitdiffstats
path: root/daemons/ipa-kdb/ipa_kdb.h
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-06-20 19:35:50 -0400
committerSimo Sorce <ssorce@redhat.com>2011-08-26 08:24:49 -0400
commit452fcdccdccb4340f20c85dd9d4f45ee2b02bf37 (patch)
tree65e61bd20f90aad8b56ffe92b8083c3091a4703a /daemons/ipa-kdb/ipa_kdb.h
parent49c25dbdf5b51a6cc157135a0d2f89c7eb408dd9 (diff)
downloadfreeipa-452fcdccdccb4340f20c85dd9d4f45ee2b02bf37.tar.gz
freeipa-452fcdccdccb4340f20c85dd9d4f45ee2b02bf37.tar.xz
freeipa-452fcdccdccb4340f20c85dd9d4f45ee2b02bf37.zip
ipa-kdb: implement change_pwd function
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.h')
-rw-r--r--daemons/ipa-kdb/ipa_kdb.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.h b/daemons/ipa-kdb/ipa_kdb.h
index 257145cb6..7dc880527 100644
--- a/daemons/ipa-kdb/ipa_kdb.h
+++ b/daemons/ipa-kdb/ipa_kdb.h
@@ -66,10 +66,6 @@
#define KMASK_TL_DATA 0x040000
#define KMASK_LOAD 0x200000
-/* MIT Kerberos sanctioned hack to carry private data around.
- * In krb5 1.10 this should be superceeded by a better mechanism */
-#define KDB_TL_USER_INFO 0x7ffe
-
#define IPA_SETUP "ipa-setup-override-restrictions"
struct ipadb_context {
@@ -161,3 +157,12 @@ krb5_error_code ipadb_store_master_key_list(krb5_context kcontext,
char *master_pwd);
krb5_error_code ipadb_create_master_key(krb5_context kcontext);
+
+/* PASSWORD FUNCTIONS */
+krb5_error_code ipadb_change_pwd(krb5_context context,
+ krb5_keyblock *master_key,
+ krb5_key_salt_tuple *ks_tuple,
+ int ks_tuple_count, char *passwd,
+ int new_kvno, krb5_boolean keepold,
+ krb5_db_entry *db_entry);
+