Hi,
today I saw in the online MSDN page of the DsGetDcName function :
http://msdn.microsoft.com/en-us/library/ms675983(VS.85).aspx
the DS_TRY_NEXTCLOSEST_SITE flag, which seems to be used to retrieve
the closest DC, by searching the local site, then the closest site (if
no DC is found in the local site), and so on.
This is strange since I used to think that was the standard behavior
of DsGetDcName. Anyway, I guess I have to use this flag. But if I use
it, I get ERROR_INVALID_FLAGS error.
I have found no code example on the web, so I am asking on the forum.
Does anyone know how to use this flag ?
Thank you
Fran=E7ois Beretti


|