Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration for Binary Attributes #124

Closed
celidur opened this issue Apr 25, 2024 · 3 comments
Closed

Integration for Binary Attributes #124

celidur opened this issue Apr 25, 2024 · 3 comments

Comments

@celidur
Copy link

celidur commented Apr 25, 2024

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

@inejge
Copy link
Owner

inejge commented Apr 25, 2024

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

@celidur
Copy link
Author

celidur commented Apr 25, 2024

ok thank you I'll try

@celidur celidur closed this as completed Apr 25, 2024
@celidur
Copy link
Author

celidur commented Apr 25, 2024

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.

@celidur celidur reopened this Apr 25, 2024
@celidur celidur closed this as completed Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants