diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-11-18 13:59:48 -0500 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-12-20 11:35:42 -0500 |
commit | f0a14b5be4954559e1174e268bbfe097c1ab873c (patch) | |
tree | 9954251ccd453685763027cd5a9f9c94f9d4f122 /src/lib/kdb/t_stringattr.py | |
parent | 7ee7399056a201d20315c2ce6650330a7d5c9177 (diff) | |
download | krb5-f0a14b5be4954559e1174e268bbfe097c1ab873c.tar.gz krb5-f0a14b5be4954559e1174e268bbfe097c1ab873c.tar.xz krb5-f0a14b5be4954559e1174e268bbfe097c1ab873c.zip |
Simplify LDAP KDB module container DN handling
Outside of krb5_ldap_read_krbcontainer_params and
krb5_ldap_create_krbcontainer, no fields of
krb5_ldap_krbcontainer_params were used except for the DN. There was
code to create a krbTicketPolicyReference attribute (which would fail
because the schema doesn't allow that attribute, and was never
exercised because kdb5_ldap_util would never set the parameter) and to
read fields like max ticket life from the referenced ticket policy,
but those fields were never used.
Eliminate the structure and just store the container DN in
krb5_ldap_context. Continue creating the container object when
creating a realm (by calling krb5_ldap_create_krbcontainer
unconditionally; it now exits successfully if the container already
exists), but don't ever read it.
Diffstat (limited to 'src/lib/kdb/t_stringattr.py')
0 files changed, 0 insertions, 0 deletions