Re: [389-users] Importing Thunderbird AddressBook into LDAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/22/2011 01: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@xxxxxxxxxxxx
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> objectclass: mozillaAbPersonAlpha
> givenName: Tina
> sn: Franks
> cn: Tina XXXXXX
> mozillaNickname: tinaX
> mail: TXXXXXXX@xxxxxxxxxxxx
> modifytimestamp: 48a5a25d
>
> I guess one of the objectlasses should be "People"?
No.  There are some problems with the dn:
1) Only use 'cn' in the dn if you are absolutely sure that the cn value 
will be unique - that is, that no two people will have the same first 
and last name.  Unless this is a trivial deployment, you will want to 
use something else that is usually unique, like a userid, because there 
is no way to guarantee that two people will not have the same name.
2) Don't use both 'cn' and 'mail' in the dn: (in fact you probably want 
to use a userid as in 1)
3) You need a suffix.  By default, 389 creates a suffix based on your 
domain name e.g. dc=example,dc=com.   The typical dn would be something 
like dn: uid=theuserid,ou=People,dc=example,dc=com
> Thanks,
>
> Phil.

--
389 users mailing list
389-users@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-users


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux