summaryrefslogtreecommitdiffstats
path: root/src/plugins/locate/python
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-11-17 15:30:32 -0500
committerGreg Hudson <ghudson@mit.edu>2012-11-17 15:44:03 -0500
commit85898e8f1c9e4f5bff70e1ff810519363b262eb4 (patch)
tree1c697cd42cf8055a911c6db1a9c6c6df2939529b /src/plugins/locate/python
parent76259be582f1e0d07c2a8993741e4893c7fd6f74 (diff)
downloadkrb5-85898e8f1c9e4f5bff70e1ff810519363b262eb4.tar.gz
krb5-85898e8f1c9e4f5bff70e1ff810519363b262eb4.tar.xz
krb5-85898e8f1c9e4f5bff70e1ff810519363b262eb4.zip
Fix quoting issues in LDAP KDB module
Modify ldap_filter_correct() to quote special characters for DN strings as well as filters, since it is already used to quote a DN string in krb5_ldap_name_to_policydn() and there's no harm in over-quoting. In krb5_ldap_put_principal(), quote the unparsed principal name for use in DNs we choose. In krb5_ldap_create_password_policy(), use the policy name for the CN of the policy entry instead of the (possibly quoted) first element of the DN. Adapted from a patch by Jim Shi <hanmao_shi@apple.com>. ticket: 7296
Diffstat (limited to 'src/plugins/locate/python')
0 files changed, 0 insertions, 0 deletions