On Wed, Jan 30, 2013 at 10:52:57PM -0500, John Stoffel said unto me:
> Anyway, So I got the newest version from git, which reports itself as
> 0.18.4 and tried again using btool and I get the output corrupted as
> well.  I've appended the output of one record when using the -v
> option.  I generated it like this:

[ snip ]

>     00000240: 33 31 32 30 20 48 69 67 68 77 6f 6f 64 73 20 42  3120 Highwoods 
> B
>     00000250: 6c 76 64 00 0a 00 24 53 75 69 74 65 20 31 30 38  lvd...$Suite 
> 108
>     00000260: 00 08 00 26 52 61 6c 65 69 67 68 00 03 00 27 4e  
> ...&Raleigh...'N
>     00000270: 43 00 06 00 28 32 37 36 30 34 00                 C...(27604.

[ snip ]

> postalAddress:: 
> MzEyMCBIaWdod29vZHMgQmx2ZApTdWl0ZSAxMDgKUmFsZWlnaCBOQyAKMjc2MDQ=
> postalCode: 27604
> sn: Adman
> st: NC
> street: 3120 Highwoods Blvd

In LDIF the :: at the end of the object name means the value is base64 
encoded (often you'll see this for things like multi-line fields).  If 
I decode the postalAddress value, I get:

---
09:47:43@apollo (3566) ~ >echo 
"MzEyMCBIaWdod29vZHMgQmx2ZApTdWl0ZSAxMDgKUmFsZWlnaCBOQyAKMjc2MDQ=" | base64 -d
3120 Highwoods Blvd
Suite 108
Raleigh NC 
---

Which looks right from the raw output.

--Matt

-- 
Matthew Ernisse
E-Mail: merni...@ub3rgeek.net
Web: http://www.ub3rgeek.net/                   PGP Key ID: 0x4AE6BF32

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to