[389-users] Importing Thunderbird AddressBook into LDAP

Philip Rhoades phil at pricom.com.au
Mon May 23 15:41:52 UTC 2011


Carsten,

These are examples of the different errors (one for every ~700 entries):

[23/May/2011:19:43:57 +1000] conn=7 op=2 RESULT err=0 tag=101 nentries=1 
etime=0
[23/May/2011:19:44:33 +1000] conn=7 op=4 RESULT err=32 tag=105 
nentries=0 etime=0
[23/May/2011:19:44:33 +1000] conn=7 op=87 RESULT err=34 tag=105 
nentries=0 etime=0
[23/May/2011:19:44:54 +1000] conn=6 op=5 RESULT err=0 tag=101 nentries=1 
etime=0
[23/May/2011:20:09:07 +1000] conn=21 op=0 RESULT err=0 tag=97 nentries=0 
etime=0 dn=""
[23/May/2011:20:09:47 +1000] conn=21 op=3 RESULT err=0 tag=101 
nentries=0 etime=0

Thanks,

Phil.


On 2011-05-23 20:44, Carsten Grzemba wrote:
> Hi,
>
> now the output in /var/log/dirserv/slapd-<inst>/access would be very helpful.
> Btw. the dn line means, that you must have a suffix with the dn:
>
> mail=TXXXXXX at nYYYYYYY.com
>
> which is not common.
>
> Regards
>
> ----- Ursprüngliche Nachricht -----
> Von: Philip Rhoades<phil at pricom.com.au>
> Datum: Montag, 23. Mai 2011, 11:48
> Betreff: Re: [389-users] Importing Thunderbird AddressBook into LDAP
> An: "General discussion list for the 389 Directory server project."<389-users at lists.fedoraproject.org>
> Cc: Carsten Grzemba<grzemba at contac-dt.de>
>
>> Carsten,
>>
>>
>> On 2011-05-23 16:06, Carsten Grzemba wrote:
>>> I guess the standard schema of 389Ds do not know objectclass
>>> mozillaAbPersonAlpha and the attribute mozillanickname
>>>
>>> You can extend your schema with the 389console or remove
>> (rename) the
>>> mozilla oc and attr
>>
>>
>> I removed all the lines with those words in them but when I
>> import the
>> resulting file it still seems that all of the records are
>> rejected (ie
>> no new users show up on the 389 Console).
>>
>> Thanks,
>>
>> Phil.
>>
>>
>>> Regards Carsten
>>>
>>> ----- Ursprüngliche Nachricht ----- Von: Christopher
>>> Wood<christopher_wood at pobox.com>  Datum: Sonntag, 22. Mai
>> 2011, 21:57
>>> Betreff: Re: [389-users] Importing Thunderbird AddressBook
>> into LDAP
>>> An: 389-users at lists.fedoraproject.org
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>
>>> My short trite answer is:
>>> http://directory.fedoraproject.org/wiki/FAQ#Troubleshooting
>>>
>>>>
>>>
>>>
>>>
>>>
>>> ->   What errors are you getting?
>>>
>>> ->   What version are you running?
>>>
>>> ->   When you ldapsearch on one of your pre-existing
>> entries, does it
>>> look like what you posted below?
>>>
>>>
>>>
>>>
>>>
>>>>
>>>>
>>> On 22/05/11 03:10 PM, Philip Rhoades wrote:
>>>
>>>> People,
>>>>
>>>> I have installed the 389 DS on F14 x86_64 OK and can see a few
>>>> people that I added with the 389 Console in both Thunderbird and
>>>> Squirrelmail but now I want to do a bulk import of my TB
>>>> addressbook into the 389 DB. I can export the TB AB to an
>> ldif file
>>>> but it fails to import using the 389 "Import Databases" fn - I
>>>> presume I have to somehow massage the LDIF file to make it
>>>> compatible?  Here is a complete record:
>>>>
>>>> dn: cn=Tina XXXXXX,mail=TXXXXXX at nYYYYYYY.com objectclass: top
>>>> objectclass: person objectclass: organizationalPerson objectclass:
>>>> inetOrgPerson objectclass: mozillaAbPersonAlpha givenName:
>> Tina sn:
>>>> Franks cn: Tina XXXXXX mozillaNickname: tinaX mail:
>>>> TXXXXXXX at nYYYYYYY.com modifytimestamp: 48a5a25d
>>>>
>>>> I guess one of the objectlasses should be "People"?
>>>>
>>>> Thanks,
>>>>
>>>> Phil.
>>>>
>>>
>>>
>>>
>>>
>>>
>>>> -- 389 users mailing list 389-users at lists.fedoraproject.org
>>>> https://admin.fedoraproject.org/mailman/listinfo/389-users
>>>>
>>>>
>>>> -- 389 users mailing list 389-users at lists.fedoraproject.org
>>>> https://admin.fedoraproject.org/mailman/listinfo/389-users
>>
>> --
>> Philip Rhoades
>>
>> GPO Box 3411
>> Sydney NSW	2001
>> Australia
>> E-mail:  phil at pricom.com.au
>>
>>
>> --
>> 389 users mailing list
>> 389-users at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/389-users

-- 
Philip Rhoades

GPO Box 3411
Sydney NSW	2001
Australia
E-mail:  phil at pricom.com.au



More information about the 389-users mailing list