enabling LDAP mix-in support for kdb5_util load
authorWill Fiveash <will.fiveash@oracle.com>
Sat, 21 Oct 2006 00:33:24 +0000 (00:33 +0000)
committerWill Fiveash <will.fiveash@oracle.com>
Sat, 21 Oct 2006 00:33:24 +0000 (00:33 +0000)
commit5658348b5929bed246dcc58cfd8eb0f8ac61c2f3
tree94a243b61f2297fee00f73d233fe458cfe1b5a7f
parentf44875f7b60f894b5390f3e2a578bc4ceba25601
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/kadmin/dbutil/dump.c
src/lib/kadm5/admin.h
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_create.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_krbcontainer.h
src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c