Skip to content

SEC-1963: ActiveDirectoryLdapAuthenticationProvider: flag binary attributes #2188

@spring-projects-issues

Description

@spring-projects-issues

Mark Rigby-Jones (Migrated from SEC-1963) said:

JNDI is not able to correctly detect binary attributes in Active Directory, leading to some attributes (such as the SID and GUID) to be incorrectly transferred in text mode, leading to corruption for certain values. A fix for this is to add an additional item to the environment in bindAsUser(...):

env.put("java.naming.ldap.attributes.binary", "objectGUID objectSid");

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: ldapAn issue in spring-security-ldaptype: enhancementA general enhancementtype: jiraAn issue that was migrated from JIRA

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions