From 5658348b5929bed246dcc58cfd8eb0f8ac61c2f3 Mon Sep 17 00:00:00 2001 From: Will Fiveash Date: Sat, 21 Oct 2006 00:33:24 +0000 Subject: enabling LDAP mix-in support for kdb5_util load I now have mix-in working for the kdb5_util load. If the krbSubTrees realm attr contains a base DN where non-krb entries live the load/krb5_ldap_put_principal() code will modify those entries whose krbPrincipalName attr matches that of the dump princ record being loaded otherwise a standalone krbprinc entry will be created under the realm container. I also fixed a small bug in krb5_ldap_policydn_to_name() for the version that uses ldap_explode_dn(). ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18729 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/admin.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib') diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h index b64e9e7fc..99d18d4e2 100644 --- a/src/lib/kadm5/admin.h +++ b/src/lib/kadm5/admin.h @@ -92,9 +92,12 @@ typedef long kadm5_ret_t; #define KADM5_CPW_FUNCTION 0x080000 #define KADM5_RANDKEY_USED 0x100000 #endif +#define KADM5_LOAD 0x200000 + /* all but KEY_DATA and TL_DATA */ #define KADM5_PRINCIPAL_NORMAL_MASK 0x01ffff + /* kadm5_policy_ent_t */ #define KADM5_PW_MAX_LIFE 0x004000 #define KADM5_PW_MIN_LIFE 0x008000 -- cgit