WAPT Enterprise offers an Active Directory profile bundle functionality.
The profile bundle automates the installation of WAPT packages and configuration packages on hosts based on their membership to Active Directory Computer Security Groups.
The WAPT Agent will report to the WAPT Server the Active Directory groups to which the host belongs.
If a profile package has the same name as an Active Directory group, then the WAPT agent will install automatically the profile package for the Active Directory group of which the host is a member.
If the host is no longer a member of its Active Directory group, then the matching profile package will be uninstalled.
Profile packages are not explicitly assigned to the host (i.e. as dependencies in the host package) but are implicitly taken into account by the WAPT Agent dependency engine during WAPT upgrades.
Note
For performance reasons, this feature is enabled only if the use_ad_groups option is enabled in the wapt-get.ini configuration file of the WAPT Agent.
Important
The Active Directory Computers security groups and sub-groups contain Computers, not Users.
Window showing the Computers group in Active Directory¶
Warning
Automatically installing software and configurations based on user and user group membership is not implemented with WAPT and such implementation is not desirable.
The use case of installing software based on user profile is better served with the differentiated self-service feature that is also available with WAPT Enterprise.
The name of the group MUST be lower case in Active Directory and in the WAPT Console.
Creating WAPT profile bundles in the WAPT Console¶
You can create profile bundle WAPT packages by clicking on Make package template from setup file ‣ AD profile.
Important
Requirements:
The profile AD group name and the profile package MUST be all lower case.
Example:
AD Security group: hw_laptops;
WAPT profile bundle: hw_laptops.
A window opens and you are prompted to choose which WAPT packages are to be included in the newly created profile bundle.
Adding WAPT packages to a profile bundle in the WAPT Console¶
Save the profile bundle and it will be uploaded to the WAPT Server.
WAPT Enterprise offers Organizational Unit package functionality.
unit packages automate software and configuration installations based on the Active Directory tree.
It is a very powerful feature when used properly.
Unit packages are not explicitly assigned to the host (i.e. as dependencies in the host package) but are implicitly taken into account by the WAPT agent dependency engine during the WAPT upgrade.
Note
If the computer is removed from an Organizational Unit, obsolete unit packages are removed.
The WAPT Agent is aware of its position in the Active Directory tree structure, therefore it knows the hierarchy of Organizational Units that concerns it, for example:
If a unit package is defined on each Organisational Unit level, the WAPT Agent will automatically download WAPT packages and configurations that are attached to each level.
Using inheritance, WAPT will apply WAPT packages and dependencies that are attached to each Organizational Unit.
The Check updates on all hosts of this OU menu item
Allows to upload the current state of the host to the WAPT Server and force the WAPT Server to display whether the hosts in the selected OU have pending updates.
The Apply upgrades on all hosts of the OU menu item
Allows to apply waiting WAPT updates and upgrades on the all hosts in the OU.
Hint
You may filter how hosts are displayed based on the Active Directory OU they belong to.
The checkbox Include hosts in subfolders allows to display hosts in subfolders.
It can happen that some specific hosts cannot be joined to an Active Directory domain.
Therefore, these hosts do not show up in the Active Directory Organizational Units in the WAPT Console.
To make all hosts show up in the WAPT Console under the right Organizational Unit, whether they are joined to an AD domain or not, WAPT allows to specify a fake Organizational Unit in the WAPT Agent configuration file.
The benefits of this very useful trick are:
You can manage these hosts with WAPT as if they where joined to the Active Directory.
Out-of-domain and workgroup hosts are now showing up in the Active Directory tree view in the WAPT Console.
Unit packages become usable on these hosts.
To setup a fake Organizational Unit on hosts, create an empty WAPT package, then use the following code:
Click Add to add a plugin, then edit the corresponding columns.
Column
Description
Name
Name that will appear in the menu.
Executable
Path of the executable that will be executed.
Arguments
Arguments passed to the executable.
All the parameters that are diplayed in the grid can be used, like {ip}, {uuid} or {computer_fqdn}.
To get the parameter name, you may right-click on the colum header, and the name will be displayed in paranthesis beside the column name.
This method for re-signing all host packages is useful when the underlying cryptographic method or library changes, as this is the case when upgrading from WAPT 1.8.2 (Python 2.7 based) to WAPT >= 2.0 (Python 3.x based).
You can manage audit output and display the audit result if you activate the option in the View ‣ Display Preferences Tab.
Check the Show host audit data tab to see the tab Audit Data on each client.
Displaying encrypted data with a certificate in the audit data tab¶
With audit function, it is possible to encrypt sensitive data coming from remote hosts; it will be possible to read the encrypted sensitive with a certificate installed on the WAPT Administrator’s host.
This way, the WAPT Server may store sensitive inventory data without the WAPT Server becoming a sensitive asset.
This method is particularly useful for example for securely managing LAPS random passwords in WAPT.
In setup.py, you can use a function to encrypt data with a certificate.
If you have the private key matching the certificate that was used to encrypt the data, the data will be decrypted and it will appear in a readable form.
This code will encrypt the password 1234 with all certificates present on the host that is used to manage WAPT.
From the WAPT Console, you will see in the audit_data tab the crypted version and you can decipher the data with your private key associated to the public certificate that was used to encrypt the data.
Managing several WAPT Server profiles in the WAPT Console ¶
You can connect the WAPT Console to several WAPT Servers.
To do so, go to %localappdata%waptconsole, copy the waptconsole.ini file and rename it, for example waptconsole2.ini.
Modify the new file with the second WAPT Server parameters (ex: IP / DNS, prefix, etc).
Then, when you re-open the WAPT Console, you can select one WAPT Server or the other.
Hint
You can have several WAPT Server connection profiles but the WAPT Servers do not communicate among them.