RHDS - How to add a binary attribute using the command line?

Solution Verified - Updated -

Issue

There are attributes which support binary values ( jpegPhoto, userCertificate, ... ).
To add or update such an attribute, the LDAP tools read the value from a file.
Therefore a specific syntax should be used.

Environment

Red Hat Directory Server 11
Red Hat Enterprise Linux 8.x
Red Hat Directory Server 10
Red Hat Enterprise Linux 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content