go-ldap / ldap

Basic LDAP v3 functionality for the GO programming language.
Other
2.25k stars 355 forks source link

fix: `ParseDN` wrongly handling base64 encoded AttributeKeyValues #426

Closed cpuschma closed 1 year ago

cpuschma commented 1 year ago

Fixes #419. This PR updates the ParseDN function to also take base64 encoded AttributeKeyValues into account. I also thought about decoding the Base64 encoded KV directly... but this could affect existing code as it would change the behavior.