2b9beffd08
CompositeName adds quotes to names which contain a forward slash ("/") character. These are automatically removed by Spring LDAP's DistinguishedName, but only if they are at the ends of the String. Since we were preprending the base to the (quoted) DN, resulting in something like ["cn=joe/b",ou=people], this was causing problems with the DN value returned from the search. Additionally, the bind succeeds when a DN is used with a slash, but the subsequent call to getAttributes() fails. This call now passes in a DistinguishedName for the user DN instance instead of a String. |
||
---|---|---|
.. | ||
src | ||
ldap.gradle | ||
openldaptest.ldif | ||
pom.xml | ||
run_slapd.sh | ||
slapd.conf | ||
template.mf |