Issue
How do I give users the Find functionality in the WebMail Address Book to search for corporate contacts in our LDAP server?
Solution
You can set the LDAP Address Book default using the procedure below. The Mirapoint system administrator configures this functionality for the primary domain user. Either the system administrator or the domain administrator configures a delegated domain user.
1. Add the address book URL to your system. Issue the following CLI command:
Url Add Addrbook:AB1 "AB1" "ldap://ldap.example.com/ou=AB1,dc=example,dc=com??sub?" ""
Where:
- AB1 is the class instance name
- "AB1" is the text description of the URL
- "ldap://ldap.example.com/ou=AB1,dc=example,dc=com??sub?" is the URL. The URL components are as follows:
- "ldap.example.com" is the hostname for the directory server
- "ou=AB1,dc=example,dc=com" is the base DN followed by the first "?"
- The second "?" is left blank for the attribute
- sub is the scope
- The last "?" is the filter. The default filter is:
"(&(|(objectclass=person)(objectclass=inetorgperson)(objectclass=organizationalperson))(mail=$(mail)*)(|(cn=$(name)*)(sn=$(name)*)(givenname=$(name)*)))""
- "" is the option.
If the entries in the directory server are stored with different references than cn and sn, this filter will need to be modified accordingly.
2. Add your directory server URL. Issue the following command:
Url Add Addrbook:AB1 "LDAP Service AB1" "ldap://Directory_server/Search_root??sub?" ""
Where:
- AB1 is the class instance name
- "LDAP Service AB1" is the text description of the URL
- "ldap://Directory_server/Search_root??sub?" is the URL. The URL components are:
- Directory_server is the LDAP server where the user wants to find information
- Search_root is the path from where the search starts, followed by the first "?"
- The second "?" is left blank for the attribute
- "sub" is the scope
- The last "?" is the filter.
- "" is the option.
|
NOTE: For more information, use the CLI commands Help Url Add or Help About Url. |
To check whether or not a URL has been added, issue the CLI command:
Url List ""
You must issue the Url Add command for every new primary or delegated domain user and point to the corresponding LDAP server.
This command applies to the current delegated domain. If no delegated domain is current, the command applies to the system's primary domain. So, you must issue the Url Add command for every new delegated domain and point to the corresponding LDAP server.
|
NOTE: The maximum number of search results displayed can be configured in WebMail Address Book, it defaults to 100. LDAP servers may impose a limit on the number of results returned, for performance reasons. As a result, you may not get the entire contents of your LDAP directory during a '*' search. If you need to change this setting, refer to your LDAP server documentation. If you are using the local LDAP directory, the corresponding CLI command is: CLI> DIR SetDBOption sizelimit "miratop" value If you change the maximum number of search results displayed, you may cause a performance hit on your LDAP server. |
Comments
0 comments
Please sign in to leave a comment.