I have an interesting problem. This problem primarily shows up on Windows 2008 machines, we tested on a 2003 machine and it works fine.
Here is the scenario: using the NetServerEnum call, enumerate all machines on one domain. Get 400+ nodes. Wait a couple of minutes, and run the call again get 32 nodes. First enumeration takes 7 minutes to verify findings (ping nodes returned in the call). Second enumeration takes 7 SECONDS to verify findings.
How and why would this happen.
Some machine details: Windows 2008 Server SP1 Enterprise on a domain (trusted to the domain being enumerated).
SQL Server 2008 to store results returned.
Logged on as local administrator (doesn't matter if I'm logged on as domain admin or local admin, same problem).
This is a 2003 domain and we are a remote office.
I do have access to a 2008 development machine on which I can get some more details if needed.
Thanks in advance!