• 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
Name
Last commit
Last update
..
config.go Loading commit data...
config_repo.go Loading commit data...
config_repo_test.go Loading commit data...
connector_bitbucket.go Loading commit data...
connector_bitbucket_test.go Loading commit data...
connector_github.go Loading commit data...
connector_github_test.go Loading commit data...
connector_ldap.go Loading commit data...
connector_ldap_test.go Loading commit data...
connector_local.go Loading commit data...
connector_oauth2.go Loading commit data...
connector_oauth2_test.go Loading commit data...
connector_oidc.go Loading commit data...
connector_oidc_test.go Loading commit data...
interface.go Loading commit data...
login_local.go Loading commit data...