>>>>> "Matthew" == Matthew Ernisse <merni...@ub3rgeek.net> writes:

Matthew> 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:

Matthew> [ 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.

Matthew> [ snip ]

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

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

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

Matthew> Which looks right from the raw output.

Ah ok, that makes sense then.  So when I tried to use '2vcard' to
parse this LDIF output to get vCard formated data, it bombed on this
info.  Sigh... time to start hacking the perl script.

Or can I just import the LDIF data into outlook?  Time to try....

John

------------------------------------------------------------------------------
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