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

Re: vcard imort...



I'm not sure I understand this.  I took a whole lot of time and effort and
wrote a Perl script to import vCards into OpenLDAP...are you saying that it
already had native support for importing vcards?

Hugh

Adam Tauno Williams wrote:

> > Does anyone out there know of any software, open or commercial, that
> > will take vcard files exported from an email app and import them into an
> > LDAP directory?
>
> ldapmodify -b -f ldif.file
>
> Contents of ldif.file
> ---------------------
> dn: cn=whatever,dc=domain,dc=org
> changetype: modify
> add: vcard
> vcard: /tmp/vcardfile
>
> Value gets loaded into attribute from /tmp/vcardfile
>
> Systems and Network Administrator
> Morrison Industries
> 1825 Monroe Ave NW.
> Grand Rapids, MI. 49505

--
Hugh Caley, Lumeria, Inc.
Lead Systems Engineer
hugh@lumeria.com


begin:vcard 
n:Caley;Hugh
tel;pager:510-326-0706
tel;cell:510-326-0706
tel;fax:510-647-0943
tel;home:510-524-1672
tel;work:510-647-1800
x-mozilla-html:FALSE
url:www.lumeria.com
org:Lumeria Inc.;Systems
adr;quoted-printable:;;Apt. 2314=0D=0A535 Pierce St.;Berkeley;CA;94706;USA
adr:;;2850 7th St., Suite 200;Berkeley;CA;94710;USA
version:2.1
email;internet:hugh@lumeria.com
title:Lead Systems Engineer
note:I like bats!
x-mozilla-cpt:;3
fn:Hugh Caley
end:vcard