The getLDAPResultCode function in errors.go seems to ignore the matchedDN part of an LDAP error: https://tools.ietf.org/html/rfc4511#section-4.1.9
Is there any specific reason for this?
Would changes to parse matchedDN in getLDAPResultCode, and adding it to a new MatchedDN field in the Error structure be the direction to add this?
Thanks,