Configuring LDAP attribute mapping for the address book
You can import information in your directory server to create an address book on FortiMail. Before you do this, you must map LDAP attributes to the equivalent field of contacts in the FortiMail address book.
Domain & User > Address Book > Contact and other related menus appear only if either:
|
To configure an LDAP-to-address-book mapping
-
If required, on your LDAP server, configure the schema so that it works with a FortiMail LDAP profile query. For details, see Preparing your LDAP schema for FortiMail LDAP profiles.
Also test the query results. If it contains data that you do not want to import into the address book, then you must configure LDAP query filter later.
-
Go to Domain & User > Address Book > LDAP Mapping.
-
Either click New or double-click an entry to modify it.
-
Configure the following:
GUI item
Description
Enter a unique name.
If you need to add a mapping, click the + button, and then configure Contact Field and LDAP Attribute.
If you need to delete a mapping, select a mapping's checkbox, and then click the - button.
Select an attribute in FortiMail address book contacts (such as Email, First name, Last name, or Mobile) that you want to map to an LDAP attribute.
Note: The Email attribute must be mapped.
Select the name of the LDAP attribute on the directory server that corresponds to each Contact Field.
For example, the
cn
(common name) attribute might be mapped to Display name, and themail
attribute might be mapped to Email.If the query in the LDAP profile returns some results that you do not want to import into the address book, enter an LDAP query filter.
For example, to select only results that have an email address, the filter might be:
(mail=*)
-
Click Create.
-
To apply the LDAP attribute mapping, select it either while importing contacts on demand, or in a regularly scheduled address book synchronization. For details, see Adding contacts to the address book and Synchronizing the address book via LDAP.