summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm5
diff options
context:
space:
mode:
authorWill Fiveash <will.fiveash@oracle.com>2006-10-21 00:33:24 +0000
committerWill Fiveash <will.fiveash@oracle.com>2006-10-21 00:33:24 +0000
commit5658348b5929bed246dcc58cfd8eb0f8ac61c2f3 (patch)
tree94a243b61f2297fee00f73d233fe458cfe1b5a7f /src/lib/kadm5
parentf44875f7b60f894b5390f3e2a578bc4ceba25601 (diff)
downloadkrb5-5658348b5929bed246dcc58cfd8eb0f8ac61c2f3.tar.gz
krb5-5658348b5929bed246dcc58cfd8eb0f8ac61c2f3.tar.xz
krb5-5658348b5929bed246dcc58cfd8eb0f8ac61c2f3.zip
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
Diffstat (limited to 'src/lib/kadm5')
-rw-r--r--src/lib/kadm5/admin.h3
1 files changed, 3 insertions, 0 deletions
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