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");
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");