[imp] Importing addressbook from CSV file

Mimmus viggiani@yahoo.com
Tue, 27 Nov 2001 12:43:54 +0100


OK, thanks.
I tried but I'm getting the error...

Warning: Undefined index: dn in /usr/local/horde/turba/lib/Driver/ldap.php
on line 321

and ADD fails.
In .../turba/config/sources.php I have the following settings:

$cfgSources['contacts'] = array(
    'title' => 'Contacts',
    'type' => 'ldap',
    'params' => array(
        'server' => 'localhost',
        'port' => 389,
        'root' => 'dc=xxxxxxxx,dc=it',
        'bind_dn' => 'cn=Manager,dc=xxxxxxx,dc=it',
        'bind_password' => 'yyyyyyy'
    ),
    'map' => array(
        '__key' => 'dn',
        'name' => 'cn',
        'email' => 'mail',
        'alias' => 'givenname'
    ),
    'search' => array(
        'name',
        'email',
        'alias'
    ),
    'public' => true,
    'readonly' => false,
    'export' => true
);

I found a thread in the archives but it doesn't give a solution.
Is it also possible to import directly an Outlook (full, not Express)
addressbook (.pst file)?

Thanks
Domenico Viggiani

----- Original Message -----
From: "Jan Schneider" <jan@horde.org>
To: <imp@lists.horde.org>
Sent: Tuesday, November 27, 2001 12:08 PM
Subject: Re: [imp] Importing addressbook from CSV file


> Zitat von Mimmus <viggiani@yahoo.com>:
>
> > I'm trying to configure CSV importing to a LDAP repository.
> > Hopefully, I have now an empty, writable LDAP database to export to.
> >
> > Now I need only to know CSV file specifications.
> > Any reference?
>
> Not necessary. You can map the fields in the csv file to the fields in
your
> ldap directory manually during the import.
>
> > Are entries exported in a per-user fashion or in a single, shared to
> > all
> > repository?
>
> Depends on how you configured your ldap directory: public or private.
>
> Jan.
>
> ::::::::::::::::::::::::::::::::::::::::
> AMMMa AG - discover your knowledge
> :::::::::::::::::::::::::::
> Detmolder Str. 25-33 :: D-33604 Bielefeld
> fon +49.521.96878-0 :: fax  +49.521.96878-20
> http://www.ammma.de
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com