Currently when diagnosing WADA issues if we see an anonymous user we have to ask the customer to perform a wmi lookup to check the logged in user. This causes big delays in tickets and diagnosing issues.
Can install wmi-client for freebsd to run checks to see the logged in user ourselves.
1. pkg install wmi-client
2. cd /var/cache/pkg/
3. tar Jxvf wmi-client-1.3.16_1.txz
4. tar Jxvf wmi-client-1.3.16_1-88aef5685f.txz
5. cd /usr/local/bin/
Now it's installed and we're in the correct directory to run it. Here's the command to get the logged in username among other things
(getadminuser&pass - [select * from ldapservers;] )
wmic -U [domain/]adminusername%password //serverIP "SELECT Name FROM Win32_NetworkLoginProfile"
wmic -U copperf/rory%Password //10.1.0.231 "SELECT Name FROM Win32_NetworkLoginProfile"
Example output, there's a lot of stuff here but I've highlighted the logged in user, it's the one proceeded by the domain that we're interested in.
NT AUTHORITY\LOCAL SERVICE
NT AUTHORITY\NETWORK SERVICE