summaryrefslogtreecommitdiffstats
path: root/ldap/ldif
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2009-07-14 12:50:36 -0600
committerRich Megginson <rmeggins@redhat.com>2009-07-14 14:41:45 -0600
commitbea97a2d7b6437419cc5649645f0c58b6966a46e (patch)
tree9baee3513c3905affd830a36a5813e3cfc84a304 /ldap/ldif
parenta4240192f344a1a172cfdf8609661b90435b5db3 (diff)
downloadds-bea97a2d7b6437419cc5649645f0c58b6966a46e.tar.gz
ds-bea97a2d7b6437419cc5649645f0c58b6966a46e.tar.xz
ds-bea97a2d7b6437419cc5649645f0c58b6966a46e.zip
Fix attrcrypt usage of nsSymmetricKey
The current attrcrypt is failing because it attempts to store the encryption symkey in the nsSymmetricKey attribute. This attribute is not defined in the schema, so it defaults to DirectoryString syntax. Storing the value then fails syntax validation because the binary values in the key do not conform to DirectoryString. The code was poorly designed to handle and report errors of this nature. The real fix is to add nsSymmetricKey as a BINARY syntax attribute. I also cleaned up the error detection and reporting for this case. Reviewed by: nkinder (Thanks!)
Diffstat (limited to 'ldap/ldif')
0 files changed, 0 insertions, 0 deletions