[SOLVED] Multiple domains on one WAPT console

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
GF68
Messages: 21
Registration: Oct 05, 2021 - 11:22

September 9, 2022 - 11:14

Hello,

We've been using WAPT for several months in our institution, a university institute of technology (IUT).
We have two Active Directory domains: a primary domain for machines used by teachers and students, and a second domain reserved for administrative staff.
So far, we've used WAPT on workstations in the primary domain. The machines are showing up, and the directory tree has been created correctly.

Now we want to migrate the machines in the second domain to WAPT.
This is where the problem lies: the machines appear correctly in the console, but the second directory tree hasn't been created; the workstations appear in the "All" section.

However, from what I understand, the directory tree in the WAPT console should be built automatically based on the OU/domain in which the workstation is located, even if there are multiple domains. Is that correct?

If so, do you have any idea what might explain this problem?

I should clarify that there is a trust relationship between the two domains at the level of the machine hosting the WAPT server.

Thank you in advance!
Last edited by GF68 on 09 Sep 2022 - 12:11, edited 1 time.
Server: WAPT Enterprise 2.4.0.14143 on Debian
Console: Windows 10
Infrastructure: Windows
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

September 9, 2022 - 11:29

Good morning,

We retrieve the OR information from the GPO engine (this is the most reliable method we've found). So if it's not being retrieved, we should first check that the value is actually present on the computer.

Code: Select all

    # could be win32api.GetComputerObjectName(1) if computer is connected to network
    info['computer_ad_dn'] = registry_readstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine', 'Distinguished-Name')
    info['computer_ad_site'] = registry_readstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\State\Machine', 'Site-Name')
If the values ​​are correctly entered in the registry, verify that they are also present in the machine's inventory (hardware inventory tab). If the information is not present, there may be a parsing problem. Does the domain name or OU directory structure have anything unusual (accent, special character, etc.)?

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
GF68
Messages: 21
Registration: Oct 05, 2021 - 11:22

September 9, 2022 - 11:50

Hello,

Thank you for your reply.

I was just looking for those keys. :D

Both values ​​are empty.

What you're saying confirms what I thought, which is that there's a problem with our Active Directory and it's not related to WAPT.

Thanks again.

Best regards,

Guillaume
Server: WAPT Enterprise 2.4.0.14143 on Debian
Console: Windows 10
Infrastructure: Windows
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

September 9, 2022 - 12:28

Check that the GPO engine isn't experiencing a local outage; this is the most common problem.

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked