I take it you currently have some trusts setup in the domain you are working in? In which case, what do you get when you enumerate all the accounts in the domain (using the WinNT provider), but 'filter' on the userflag of 0x800? Neil > -----Original Message----- > From: Chris Lynch [mailto:lynch00@xxxxxxx] > Sent: 12 March 2003 18:14 > To: thin@xxxxxxxxxxxxx > Subject: [THIN] Re: OT: VB/VBScript question. > > Well, in theory, the function calls are the same. If you do > a look up = on MSDN for DsEnumerateDomainTrusts, you will > find out that this = function is the same when using it > against a Windows NT 4 domain or = Windows 2000 AD domain. > > I am probably going to have to create a DLL that will help me > with this, = but if you have a script you have used before, I > would appreciate = looking at it. > > - -----Original Message----- > From: thin-bounce@xxxxxxxxxxxxx > [mailto:thin-bounce@xxxxxxxxxxxxx] On = Behalf Of Braebaum, Neil > Sent: Wednesday, March 12, 2003 9:55 AM > To: 'thin@xxxxxxxxxxxxx' > Subject: [THIN] Re: OT: VB/VBScript question. > > I'm theorizing, here - so bear with me ;-) > > Given that a trust is merely a "special" account, and that > there is a = particular userflag that pertains (0x800) then > you can filter on that. > > Presumably internal AD trusts are represented differently? > > I can't test this by script any more, as I have no AD <-> NT4 > domain = trusts any more. > > > -----Original Message----- > > From: Chris Lynch [mailto:lynch00@xxxxxxx] > > Sent: 12 March 2003 17:32 > > To: TheThin. net > > Subject: [THIN] OT: VB/VBScript question. > > > > Is there a way by using the WINNT provider or the LDAP/GC > provider to > >get the list of trusted domains using ADO or=20 ADSI? But, > I want to > >know if it can be done with the WINNT=20 provider, since > the majority > >of the domains I want to query=20 would be Windows NT 4 domains. > >=20 > > Also, is there a way I can make a VBScript multi-threaded > > (i.e. to be able to query multiple machines at the same time)? *********************************************************************** This e-mail and its attachments are intended for the above named recipient(s) only and are confidential and may be privileged. If they have come to you in error you must take no action based on them, nor must you copy or disclose them or any part of their contents to any person or organisation; please notify the sender immediately and delete this e-mail and its attachments from your computer system. Please note that Internet communications are not necessarily secure and may be changed, intercepted or corrupted. We advise that you understand and observe this lack of security when e-mailing us and we will not accept any liability for any such changes, interceptions or corruptions. Although we have taken steps to ensure that this e-mail and its attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. Copyright in this e-mail and attachments created by us belongs to Littlewoods. Littlewoods takes steps to prohibit the transmission of offensive, obscene or discriminatory material. If this message contains inappropriate material please forward the e-mail intact to postmaster@xxxxxxxxxxxxxxxxx and it will be investigated. Statements and opinions contained in this e-mail may not necessarily represent those of Littlewoods. Please note that e-mail communication may be monitored. Registered office: Littlewoods Retail Limited, Sir John Moores Building, 100 Old Hall Street, Liverpool, L70 1AB Registered no: 421258 http://www.littlewoods.com *********************************************************************** ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - not more servers. If you're using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm