In ZENworks Control Center, click Configuration > Asset Inventory.
In the LDAP Import Tasks panel, click New to launch the New LDAP Import Task Wizard.
Complete the wizard by using information from the following table to fill in the fields.
Wizard Page |
Details |
---|---|
Define Details page |
Fill in the following fields:
|
Enter LDAP Settings page > Search pre-configured LDAP source option |
The Enter LDAP Settings page lets you identify the LDAP directory against which you want to perform the import task. A preconfigured LDAP source is one that has already been defined as a user source in your Management Zone. For information on how to create a user source, see If you want to create a new connection to the LDAP directory, see Enter LDAP Settings page > Specify a new LDAP source option. To use an existing connection to the LDAP directory:
|
Enter LDAP Settings page > Specify a new LDAP source option |
The Enter LDAP Settings page lets you create a new connection to the LDAP directory to import inventory information. A new LDAP source is one that was defined as a new source when the import task was created. If you want to use an existing connection, see Enter LDAP Settings page > Search pre-configured LDAP source option. To create a new connection to the LDAP directory:
|
|
Credentials that are not saved are cleared from memory when the ZENworks Server is restarted. If you are creating a scheduled import task, you should save the credentials to ensure that they are still available when the import task is performed. IMPORTANT:If an optional field is defined in the LDAP directory, it must be included in the dirimport.xml file on the ZENworks Server to make it available in the LDAP Fields list. For more information, see Optional fields are not visible in the LDAP Fields list in ZENworks Control Center. |
Map Fields page > Key option |
The Map Fields page displays the LDAP directory fields on the left and ZENworks Inventory fields on the right. The ZENworks Inventory Fields list displays the following information:
The Key option lets you define a key assignment for the LDAP Import task. You must define a key assignment for each task to uniquely identify the mapped fields. You can define only one key for each task. Key is a unique value that is assigned by mapping an LDAP field to a unique ZENworks Inventory field. When a task runs, the key field is searched for the stored key value. If the key is unique, the data from the specified LDAP fields is imported to the specified ZENworks Inventory fields. If the key is not unique, only the first hit is selected for mapping, which might result in incorrect mappings. To define a key assignment:
|
Map Fields page > Map option |
The Map option lets you map one or more LDAP directory fields to the corresponding fields in the ZENworks Inventory database. To map an LDAP directory field to the corresponding ZENworks Inventory field:
|
Map Fields page > Remove option |
To remove a field mapping:
To remove a key assignment from the selected field:
|
Set the Import Schedule page |
Configure the schedule when you want to run the import task, then click OK.
|
Select Primary Server page |
Select the ZENworks Server that you want to perform the LDAP import task. |
When you finish the wizard, the import task is listed in the LDAP Import Tasks panel. You can use the panel to monitor the status of the task. If the key is unique, the data from the LDAP fields is imported to the ZENworks Inventory fields based on the mapped assignments.
IMPORTANT:Before running a task, ensure that all the existing tasks are in a finished state. For more information, see the troubleshooting scenario LDAP import tasks remain in a pending state if they run simultaneously.