Hi All,
I'm trying to find out how to find all the Domains in
the forest using the WinNT Provider in ADSI, using C/C++.
I know using "GC" or "LDAP" would be easier, but I need
to use WinNT..
The only thing I can think of is to keep doing a get_Parent
until you hit a Container that has information saying that
it's the "forest root domain", and then do a search from
there down..
Trying to find any example source on doing anything
like this, using WinNT, is next to impossible to find.. :-\
Any links to sample C/C++ code or a code sample,
or suggestions would be great!
Thanks,
Joe S.
I'm trying to find out how to find all the Domains in
the forest using the WinNT Provider in ADSI, using C/C++.
I know using "GC" or "LDAP" would be easier, but I need
to use WinNT..
The only thing I can think of is to keep doing a get_Parent
until you hit a Container that has information saying that
it's the "forest root domain", and then do a search from
there down..
Trying to find any example source on doing anything
like this, using WinNT, is next to impossible to find.. :-\
Any links to sample C/C++ code or a code sample,
or suggestions would be great!
Thanks,
Joe S.