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

Re: Base 64 encoded data...



ldif -b someAttributeName < yourFileName

Without the '-b' option, each line in your textfile would be a new
attribute.  Redirect the output to a new LDIF file or append to an existing
LDIF file.  Sprinkle with sugar and serve!

Adam



----- Original Message ----- 
From: "Ray Jackson" <Ray.Jackson@cern.ch>
To: <openldap-software@OpenLDAP.org>
Sent: Wednesday, May 31, 2000 6:22 AM
Subject: Base 64 encoded data...


> Hi all,
> 
> I have a text file (including new lines) which I want to store on the
> LDAP server.  I understand that to do this I need to treat the data as
> Base 64 encoded data.  However, how do I convert my data to base 64
> encoded data and more importantly how do I convert is back to the
> original format after I retrieve the base 64 encoded data via an
> ldapsearch?
> 
> Cheers,
> Ray.
>