Mojo/Mozilla: Mail: LDAP

UI Proposal

Account Specific Address Book & LDAP

Last Modification:

Author: Jennifer Glick 
Creation Date: 14 March 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 on a per account basis.


Design Details

Account Specific Preferences

Each account has separate preferences for enabling/disabling address autocompletion features as well as specifying a different  LDAP directory server.  Future releases will allow users to specify multiple LDAP directory servers per account.

LDAP directories that have been configured are displayed in the "LDAP Directory Server:" menu list. To add a new LDAP directory, or edit or delete an existing one, users can click on the "Edit Directories" button.


Directory Servers

Clicking the "Edit Directories" button opens the "LDAP Directory Servers" dialog. This dialog is used to edit or delete an existing server, or add a new server. 


New Directory/Directory Server Properties

Clicking "Add" or "Edit" from the Directory Servers dialog opens the "Directory Server Properties" dialog.  Note: Offline tab is not currently implemented.

The "Find..."  button retrieves Search Root information from the server and opens a dialog of available suffixes.


Advanced Directory Server Properties

Clicking on the "Advanced..." button on the "Directory Server Properties" dialog opens the "Advanced Directory Server Properties" dialog, which is used to configure more detailed LDAP directory settings.

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