Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Universal Address Book Format ? 1

Status
Not open for further replies.

mobajwa

MIS
Feb 10, 2005
122
US
I have a couple of plain text files with contacts and was thinking of finally putting up a address book for myself.Any idea on what the universal format of the address book is. Right now i use thunderbird, which can export by files in LDIF , Comma seperated and Tab delimited formats !!

Im looking for a format suitable to be imported into my soon to be setup LDAP directory server.


-
mobajwa

After the game ,the king and the pawn , both go in the same box.
 
I'd get the data moved into an excel spreadsheet, and use save as and save it as a comma separated values file.

Then import using that file. CSV is a standard format for address book. Potentially, tab delimited could be of use, but CSV "feels" more powerful (just an opinion).

Hope this helps.
 
thanx Dollar. ( Finally someone replied. I have posted this thread in atleast 3 forums with no luck )

So you wuuld go with CSV. Can we easily import SCV in an LDAP server ?




-
mobajwa
 
If you are importing to an LDAP server it would likely be easier to export into an LDIF and then import it directly into LDAP. If you do address book to csv you would have to convert csv to ldif format anyway.

However, you may get errors if your LDAP schema does not match objectclass defs and attribute defs exported by t-bird.

-Chris Larivee
 
thanks ldap4u

I dont exactly know the meaning of all those terms you talk about but ill make it a point to keep the ldif format as my main option!

-
mobajwa
 
where exactly can i find some good tutorials on how to start making my first LDIF file.. Everything i find is about WHAT these LDIF files are but there are no examples.. the only one xample i found is this one..

version: 1
dn: cn=Barbara Jensen, ou=Product Development, dc=airius, dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
cn: Barbara Jensen
cn: Barbara J Jensen
cn: Babs Jensen
sn: Jensen
uid: bjensen
telephonenumber: +1 408 555 1212
description: A big sailing fan.

Are those all the possible fields or can i add more ?

-
mobajwa
 
Didn't ThunderBird give you the LDIF when you exported? You can add and even subtract some fields - but your schema must support the new fields you add.

-Chris Larivee
 
Yes , i have just coem to know that I can export to LDIF format from thunderbird !
never knew that before.. thanx a bunch !


-
mobajwa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top