[krbdev.mit.edu #8065] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon May 23 16:25:52 EDT 2016


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 at mit.edu: minor naming changes and code simplifications]

https://github.com/krb5/krb5/commit/2ac75e548afadde4f87f20fcc1ee1472cdac3fed
Author: Sarah Day <sarahday at mit.edu>
Committer: Greg Hudson <ghudson at mit.edu>
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(-)



More information about the krb5-bugs mailing list