How AD synchronization works
BlueMind allows you to import and use users and groups from an Active Directory system.
An Active Directory incremental import is carried out on each domain on the BlueMind side.
The passwords of imported users are validated directly against the Active Directory. BlueMind does not store any passwords.
New users can connect to a BlueMind server even if they haven't been imported yet. Their BlueMind account will be created upon request automatically if the authentication process is successful.
User or group provisioning (creation or modification) from the Active Directory to BlueMind therefore takes place:
- when the server is configured, during the initial import,
- periodically during the day, through scheduled jobs
- or automatically when a user logs in.
Access to AD directory synchronization functionalities requires the ad-import plugin to be installed.
To start the plugin installation, log into the server and enter the command below:
When installation is complete, restart the bm-core component using the following command:
- Log into the target BlueMind server as global administrator.
- Browse the admin console and select System Management > Modify Domain and select the domain you want to set up AD synchronization for.
- Select the Directories tab and go to the AD synchronization section:
- Fill in the information requested with the Active Directory parameters provided in the table below:
|Parameter Requested||Active Directory Value|
|AD user login|
Login ID used to make queries to the Active Directory server.
Values are mapped on import for compatibility reasons:
|AD user password||Password for the account entered in the AD user login box|
|AD server hostname or IP|
Active Directory server IP or FQDN address. This field can be left empty if the server can be located using a DNS SRV record.
(see the following Technet article)
|AD root DN||Root for Active Directory search. If left empty, searches are made using the root DN.|
Used to limit the search to a sub-section of the Active Directory tree.
|AD users filter|
Filter for searching user entries in the AD.
Or, to display all accounts whose accountStatus is "MAIL" and are not included in the MAILSHARE branch of the directory:
|AD groups filter|
Filter for searching group entries in the AD.
Or groups with a description:
|Split domain group|
This field can be left empty.
It will be ignored if the split domain functionality is not configured for BlueMind.
Emails addressed to members of this group will be redirected to another mail server in the same domain (configured via domain segmentation).
The BlueMind Active Directory plugin is not restrictive and does not require a specific schema, just the following information:
- the hostname (or IP address) of the Active Directory server
- AD directory credentials ("username" and "password") to allow connections.
By default, all users and groups are imported from the Active Directory. Filters that are used to query part of the directory can be configured with the following information:
- root directory
- filters to use for user and group synchronization, to apply restrictions to imported data.
Finally, you can specify the split domain group.
The synchronization tool allows you to check directly if the directory is available and access has been configured correctly.
How the synchronization tool works
The Active Directory plugin has three interdependent functions:
- global import of all users
- incremental import
- real-time import on authentication
The global import browses through all Active Directory users and groups (taking into account the AD root and filters) and imports them into BlueMind. Those that do not exist are created, and existing ones are modified if necessary.
The incremental import works the same way, but only browses through the users modified since the last import.
Finally, import on authentication looks for the user unknown to BlueMind in the Active Directory. If the user is found, it is imported and authenticated in the Active Directory, giving the user immediate access to BlueMind.
Accounts imported from an Active Directory that complies with the LDAP filter are activated automatically.
Conversely, accounts can be suspended or deleted from the Active Directory thereby forbidding them access to the mail system. A user deleted in the Active Directory is merely suspended in BlueMind.
Scheduled Active Directory synchronization
When the Active Directory plugin is installed, BlueMind creates a scheduled job whose purpose is to synchronize user and group databases against the Active Directory at regular intervals.
Incremental imports only processthe data that has been created, deleted or modified since the last import.
As shown in the screenshot below, a scheduled job can be:
- automatic: activated based on criteria from earlier imports, at 4-hour intervals at the most;
- scheduled: with a cron-type scheduling format, which allows any activation frequency;
- disabled: in this case, the scheduled job is not executed.
Import Active Directory scheduled job
Scheduled jobs monitoring
The scheduled jobs monitoring page allows you check that they are performed correctly. The screenshot below shows a log of synchronization jobs performed, execution date and results:
Active Directory-BlueMind mapping
|BlueMind||Active Directory Attribute||Note|
|title*||personalTitle||Personal title: Mr., Mrs., Ms., Miss|
|jobtitle*||title||Job title: Manager, IT Director, etc.|
The mail Active Directory attribute is set as the default email address in BlueMind.
If this field is missing or empty, the default BlueMind email address is populated with the first value found in the following fields (in that order):
If none of these fields is populated, the user will not have a mail service.
|memberOf||memberOf||List of groups the user is a member of. The BlueMind user is added to groups previously imported only.|
|service||department||BlueMind v.3.0 and above.|
|photoID||thumbnailPhoto||Profile picture: attribute content is imported as profile picture for related account|
|BlueMind||Active Directory Attributes||Note|
|member||member||Only synchronized groups and users are added to members of the BlueMind group.|
From BlueMind 3.5, access to applications is subject to the roles users are assigned. As AD imports do not handle roles, imported users are not assigned any roles and they are unable to access applications (webmail, contacts, calendar).
The easiest and most effective way of handling this is through groups:
- in AD, assign one (or several, if desired) common group to users
- launch a first import: the group(s) are imported into BlueMind along with the users
- go to the admin section and assign the desired roles to the group(s)
Roles will be maintained during subsequent imports and updates.
In the future, simply assign new users to this/these group(s) in order to give them the desired roles.
Forcing or correcting a UID
A user's UID can be populated or corrected in the user's admin page in BlueMind.
To do this, go to the admin console > Directories > Directory Browser > select user > Maintenance tab: enter the user's AD UID in the External ID box then save.