[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: jpegPhoto in ldif file -viewing
Once the jpeg is base 64 encoded and in ldap, how is it viewed? I tried an
ldap url in netscape 4.07 and it just displayed the encoded text. Do I need
a different client that converts back and displays the image correctly or do
I have another problem? Is there another approach commonly used for viewing
via web?
ldap://www2/uid=testme1,o=my.com,c=us
Object
Class
newPilotPerson
uid
testme1
Name
test
Last Name
me
Photograph
/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAU ...
ldif file
test.ldif
dn: uid=testme1,o=lmco.com,c=US
objectclass: newPilotPerson
uid: testme1
cn: test
sn: me
userpassword: secret
jpegPhoto: /9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAUDBAQ ...
Thanks,
Todd
> ----------
> From: Matz, Guy[SMTP:guy.matz@csfb.com]
> Sent: Wednesday, July 21, 1999 7:43 AM
> To: 'Wilbert de Graaf'; Edi Cahyadi; 'LDAP-software'
> Subject: RE: jpegPhoto in ldif file
>
> or you can use "ldif -b jpegPhoto < image.jpg > image.ldif" this will
> output the ldif for entry
>
> > -----Original Message-----
> > From: Wilbert de Graaf [SMTP:w.degraaf@hetnet.nl]
> > Sent: Wednesday, July 21, 1999 6:13 AM
> > To: Edi Cahyadi; 'LDAP-software'
> > Subject: Re: jpegPhoto in ldif file
> >
> > >In the manual of ldif, it said that the jpegPhoto in Jennifer Jensen's
> > entry
> > >is encoded using base 64. Can anybody tell me how to encode a jpeg file
> > >using base 64? I want to put a jpeg file in my ldif file. The attribute
> >
> >
> > You can use the base64 package from
> > <http://www.fourmilab.ch/webtools/base64/>
> >
> > - Wilbert
> >
>