|
So I just went to the trouble of writing some .Net classes
that basically provide the interop code for all of the win32 ds methods
(DsGetDcName, DsGetSiteName, etc). I did this so that I can figure out
which sites certain servers are in and which DC they are most likely to talk to
from my c# asp.net applications. I ran into a snag that I did not anticipate. Many of
our servers are in fire walled environments, so when I try to remote the
DsGetSiteName call it obviously fails. My question is how can I ask the
DC for the site info directly rather than asking the target server? I
imagine there must be a win32 api call I can make that will ask a DC (based on
an IP) for a site name; however, I can’t find anything in MSDN. |
- [ActiveDir] Question about the win32 api Ds functions. Isenhour, Joseph
