• Frode Nordahl's avatar
    Get DN from entry, not entryDN attribute · 508c24b1
    Frode Nordahl authored
    Not all LDAP servers have entryDN available as an attribute. Reading up on
    https://tools.ietf.org/html/rfc5020 tells me that entryDN is intended for
    making the DN available for attribute value assertions. Thus it is not
    mandatory for a LDAP server to make it available as an retrievable
    attribute.
    
    The DN is always a part of the entry returned in a search result, just use
    it.
    
    Fixes #314
    508c24b1
connector_ldap.go 8.58 KB