Page 1 of 1

[SOLVED] Multiple domains on one WAPT console

Published: September 9, 2022 - 11:14 AM
by GF68
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!

Re: Multiple domains on a WAPT console

Published: September 9, 2022 - 11:29 AM
by dcardon
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

Re: Multiple domains on a WAPT console

Published: September 9, 2022 - 11:50 AM
by GF68
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

Re: [Resolved] Multiple domains on one WAPT console

Published: September 9, 2022 - 12:28 PM
by dcardon
Check that the GPO engine isn't experiencing a local outage; this is the most common problem.

Regards,

Denis