Copyright (c) 2021-2023 Jeffrey Bostoen
Need assistance with iTop or one of its extensions?
Need custom development?
Please get in touch to discuss the terms: [email protected] / https://jeffreybostoen.be
Imports objects from Active Directory into iTop.
- Run different LDAP queries on different servers (default settings are possible).
- Use LDAP info when creating/updating iTop objects and make it possible to have workflows such as:
- Create a person when a new Active Directory user is found.
- Create a user account linked to this newly created person object and add predefined profiles/organizations.
See documented demo configuration in module.jb-ldap.php
Placeholders
Name | Replacement |
---|---|
$ldap_object->ldap_attribute$ |
Replace ldap_attribute with queried LDAP attribute. |
$first_object->id$ |
Re-uses the ID of the first newly created or existing object in the sync rule. |
$previous_object->id$ |
Re-uses the ID of the previous newly created or existing object in the sync rule. |
$current_datetime$ |
Current datetime. |
$ldap_specific_placeholder->key$ |
Placeholders linked to this LDAP configuration. Replace key with a configured placeholder. |
PHP:
- How to implement a cron job process in iTop (iScheduledProcess).
- Use DBObjectSearch and DBObjectSet to fetch data.
To get this working on XAMPP, it may be neccessary to create an ldap.conf file (C:\OpenLDAP\sysconf\ldap.conf) with a setting like this:
TLS_REQCERT never # insecure, add proper trusted certificate
Then reboot Apache2.
Upgrading from a version before 23rd of September, 2022:
In the iTop configuration for this extension, create_objects and update_objects are deprecated since it only allowed to create/update all objects within a sync rule. Instead, create and update settings have been added for each object within a sync rule.
Upgrading from a version before 27th of April, 2022:
In the settings (iTop configuration file):
- Setting
user_query
has been renamed toldap_query
- In the placeholders:
ldap_user
has been renamed toldap_object