LDAP, binary value

Hey!

I am using jmix 2.2.3. using ldap addon to load users from ActiveDirectory. There is an attribute which comes in binary (xKT/+bW/5EaaaNzhrM3w1g==) but in java i get gibberish (Ĥ�����F�h�����) how do i get this binary as a String ?

i tried to add property java.naming.ldap.attributes.binary=objectGUID
nothing helped. objectGUID is name of attribute.

Hello,

Just in case - how did you set this property (via java code or application.properties)?
If you did this via application.properties make sure property name is
spring.ldap.base-environment.java.naming.ldap.attributes.binary=objectGUID.

Also please provide code where you extract value of objectGUID - it might need additional converting.

Regards,
Ivan

1 Like