inejge/ldap3

Integration for Binary Attributes

celidur opened this issue · 3 comments

We can't create user with a binary attribute like picture, we also can't modify it

You can, by supplying add() or modify() with attribute names and values converted to &[u8]. See #35.

ok thank you I'll try

I've make this:
Mod::Replace(UserAttribute::Picture.as_bytes(), HashSet::from([picture.as_slice()]))

It's defined correctly, but in the attribute, not in the binary attribute in the LDAP.