Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 1102 Implement principal renaming in LDAP The generic method of renaming principals (by adding a new entry and deleting the old one) does not work in LDAP. Add an LDAP implementation of rename that properly renames the DN and attributes when necessary. [ghudson@mit.edu: minor naming changes and code simplifications] https://github.com/krb5/krb5/commit/2ac75e548afadde4f87f20fcc1ee1472cdac3fed Author: Sarah Day Committer: Greg Hudson Commit: 2ac75e548afadde4f87f20fcc1ee1472cdac3fed Branch: master src/plugins/kdb/ldap/ldap_exp.c | 2 +- src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c | 52 +++++ src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.h | 8 + src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c | 216 ++++++++++++++++++++ src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.h | 7 + src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c | 2 +- .../kdb/ldap/libkdb_ldap/libkdb_ldap.exports | 1 + src/tests/t_kdb.py | 12 + 8 files changed, 298 insertions(+), 2 deletions(-)