Mojo/Mozilla: Mail: LDAP

UI Proposal

Global Address Book & LDAP

Last Modification:

Author: Jennifer Glick 
Creation Date: 15 February 2001

Status: Proposal



Feature Team


Dan Mosedale, Srilatha Moturi 


Mitch Green




Robin Foster Clark


Jennifer Glick



Please post all comments and suggestions regarding this spec to the newsgroup, netscape.public.mozilla.mail-news.



Provide a method for users to autocomplete messages using a specified LDAP directory server.


Design Details

Global Preferences






Directory Servers

Clicking the "Select" button or "Edit Directories" button opens the "LDAP Directory Servers" dialog. This dialog is used to select a directory server, edit an existing server, or add a new server. One of the problems with 4.x, was that users had to know to first go to the Address Book to create a directory server before they could select it for use in the Address Book preferences.  Users would still be able to create new directories from the Address Book, but they would also be able to create them while within preferences.


New Directory/Directory Server Properties

Clicking "Add" or "Edit" from the Directory Servers dialog opens the "Directory Server Properties" dialog.

Offline directories is not enabled currently.



Requirements from Srilatha Moturi

Typedown pane -Edit->mail/news->Account Settings. One pane per account.

  1. Per-account typedown pane: exactly like Pinpoint Addressing "box" of 4.x preferences Addressing pane 
  2. Plus one more item: "Don't complete against more than ___ results" 
  3. Move "Enable address autocomplete" from Address Books preference to per-account typedown
    pane (similar to Address Auto completion box in the screen shots). One modification from screen shots is that, we should be able to select more than one server. (this will be implemented in the future). 

Directory Servers Dialog - Same as the screen shot. 

Directory Servers properties dialog: 

  1.  Directory Name 
  2. Hostname (LDAP Server)
  3. BaseDN (Search Root) 
  4. Advanced Options Button
  5. OK and Cancel Buttons

No offline tab for this release. 

Advanced Options Dialog: 

  1. Port number 
  2. Login with username and password 
  3. Save Password (disabled at this point) 
  4. Search filter (applis to entries within the specified scope of the search)
  5. Scope (scope of the search. If no scope is specified, the server performs a base search. )
    • Base (radio button, retrieves information only about the distinguished name (<base_dn>) specified in theURL) 
    • One (radio button, one retrieves information about entries one level below the distinguished name (<base_dn>) specified in the URL) 
    • Sub (radio button.  retrieves information about entries at all levels below the distinguished name (<base_dn>) specified in the URL. The base entry is included in this scope. ) 
  6. Don't return more than X results

The "Do not display more than X results" in "Address Autocompletion" box is the preference for autocompletion where we will not show more than X results in the mail compose window. 

The "Do not return more than X results" is the preference we set to tell the server to return only X