[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapadd with picture




Sebastian Mrosek wrote:

> jpegphoto: me.jpeg

You have misunderstood the format, what you have to put there is the
base64 encoding of me.jpeg, not its name.  I think you can use a tool
called ldif to help you in that, but I never tried.

> ldapsearch shows:
> 
> jpegphoto= me.jpeg

ldapsearch, like all our clients, is brainless and does not know that
jpegphoto is not a string and shows what you put there interpreting it
as a perfect printable string.

> But when I explore the tree from netscape everything I get is a broken
> link.

The icon of a broken link?  Very probably, Netscape *knows* that the
attribute is a jpeg image, tries to render it and fails.

> Is it only a "manual-not-read-error"?

I think so.

Julio