If you installed Thunderbird through Bear Access (either with the Bear Access CD or through uPortal.Cornell), Thunderbird already knows how to look up addresses in the Cornell Electronic Directory.
On the other hand, if you downloaded the Thunderbird installer from Mozilla or elsewhere, you'll need to tweak a few things.
To use Thunderbird 1.5.x with the Cornell LDAP server, you need to
Configure LDAP Server:
- Windows: From the Tools menu, select Options
Macintosh: From the Thunderbird menu, select Preferences- Click Composition
- Click the Addressing tab
- In Address Autocompletion place a check mark next to Directory Server
- Click Edit Directories...
- Click Add to open the Directory Server Properties dialog box
- Fill out the General tab as shown here:
Click OK to close the Directory Server Properties dialog box, then click OK to close the LDAP Directory Servers dialog box.
In the Options dialog box, select the server listing you just created from the drop-down list next to Directory Server. This will select it as the default "Global" LDAP server.
- Click OK to close the Options dialog box.
Configure LDAP Attribute Mappings:
If you have already installed Thunderbird from another source, but would like to take advantage of the LDAP mappings, you can download the Attribute mapping entries and include them in your preference file.
- Download user.js and save it in your profile folder. Here are the default locations, but if you made changes during your initial install, you'll have to find it on your own:
Windows:
C:\Documents and Settings\username\Application Data\Thunderbird\Profiles\random.default
Macintosh:
username\Library\Thunderbird\Profiles\random.default
For username: substitute the name under which you log on to your computer. For many people this will be your NetID.
For random.default: Thunderbird creates a folder (in the Profiles folder) with 8 random characters followed by a period and the word "default". That's where the user.js file goes.- When you launch Thunderbird it will automatically import the entries into the preference file.
- After Thunderbird has successfully launched (and you've tried a search or two to verify that the new settings work), close Thunderbird and delete the user.js file. This is important. Leaving the user.js file in place can make it hard to diagnose problems that may crop up later.
You can also choose to manually configure the attribute mappings, rather than using the user.js file method described above. The two methods have the same effect, so there's no need to do both!
- Windows: From the Tools menu, select Options
Macintosh: From the Thunderbird menu, select Preferences- Click Advanced
- Select the General tab, and click the Config Editor button.
- In the Filter entry box type: default.att
This will display all the LDAP attributes that Thunderbird uses, and the attribute name Thunderbird expects an LDAP server to return.
- For each of the following attributes double-click the entry and edit the entry so that it matches the table below.
Thunderbird attribute ending with Edit entry to readCompany o,company Department cornelledudeptname1,department,departmentnumber,orgunit,ou HomeAddress homePostalAddress,mozillaHomeStreet JobTitle cornelleduunivtitle1,title NickName edupersonnickname,mozillaNickname,xmozillanickname WebPage1 labeledUri,mozillaWorkUrl,workurl WorkAddress cornelleducampusaddress,street,streetaddress,postOfficeBox,postaladdress WorkCountry c,countryname WorkPhone cornelleducampusphone,telephoneNumber Optional Entries
SecondEmail mailRoutingAddress,mozillaSecondEmail,xmozillasecondemail Custom1 cornelledudefaultpo,mozillaCustom1,custom1
- Close the About:config dialog box.
- Click OK to close the Options dialog box.
Go to Computing at Cornell Thunderbird Home Page
Last updated: May 23, 2007