NetQueryDisplayInformation fails on Server 2016

  • Thread starter Thread starter MissionCritical
  • Start date Start date
M

MissionCritical

Guest
After updating to 14393.3085 (or later), calls to NetQueryDisplayInformation fail with error 1359 (Error_Internal_Error).

Both options to get users or global groups fail. The problem seems to be related to the resume handle, if ERROR_MORE_DATA is returned, and the next batch of users/groups is retrieved, the error is returned.

As a test, I took the sample code from:

NetQueryDisplayInformation function (lmaccess.h)

...and modified it to get users, imported a few hundred users, and the error occurs. Rolling back the .3085 update fixes the problem.

NetUserEnum is not impacted by this issue.

Is this a known issue or any workaround available?

Continue reading...
 
Back
Top