Hi All,
I'm new to this forum so apologies if this is answered elsewhere (I did look but couldn't find it)
I'm writing an app to assist with User Migrations from multiple source domains to a new Target AD
I'd like to include a domain enumeration function, whereby I point at a DC and enumerate all Trusts with that DC's domain. e.g. Trusted and Trusting domains.
The problem (as I see it) is for legacy NT4 domains...I've not found any way of doing this...but the api call at least must exist as USRMGR can do it...
Finding this information for AD's is a snap as you can just query the AD for domainTrust objects and all the useful info is there...Domain names, SID, Trust attributes etc...but NT4 is proving the pain at the mo...
There is an API call LSAEnumerateTrustedDomains, but I'm not sure how to call this from vb.net (and it only answers part of half of the question)
Thanks in advance,
philt
I'm new to this forum so apologies if this is answered elsewhere (I did look but couldn't find it)
I'm writing an app to assist with User Migrations from multiple source domains to a new Target AD
I'd like to include a domain enumeration function, whereby I point at a DC and enumerate all Trusts with that DC's domain. e.g. Trusted and Trusting domains.
The problem (as I see it) is for legacy NT4 domains...I've not found any way of doing this...but the api call at least must exist as USRMGR can do it...
Finding this information for AD's is a snap as you can just query the AD for domainTrust objects and all the useful info is there...Domain names, SID, Trust attributes etc...but NT4 is proving the pain at the mo...
There is an API call LSAEnumerateTrustedDomains, but I'm not sure how to call this from vb.net (and it only answers part of half of the question)
Thanks in advance,
philt