[THIN] Re: OT: VB/VBScript question.

  • From: "Chris Lynch" <lynch00@xxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Wed, 12 Mar 2003 10:14:20 -0800

=20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Thanks,

Chris

- -----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.

Neil

> -----Original Message-----
> From: Chris Lynch [mailto:lynch00@xxxxxxx]
> Sent: 12 March 2003 17:32
> To: TheThin. net
> Subject: [THIN] OT: VB/VBScript question.
> =20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> 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=20
recipient(s) only and are confidential and may be privileged. If they =
have come to you in error you must take no action based=20
on them, nor must you copy or disclose them or any part of=20
their contents to any person or organisation; please notify the=20
sender immediately and delete this e-mail and its attachments from=20
your computer system.

Please note that Internet communications are not necessarily secure=20
and may be changed, intercepted or corrupted. We advise that=20
you understand and observe this lack of security when e-mailing us=20
and we will not accept any liability for any such changes,=20
interceptions or corruptions.=20

Although we have taken steps to ensure that this e-mail and its=20
attachments are free from any virus, we advise that in keeping=20
with good computing practice the recipient should ensure they=20
are actually virus free.

Copyright in this e-mail and attachments created by us belongs=20
to Littlewoods.=20

Littlewoods takes steps to prohibit the transmission of offensive,=20
obscene or discriminatory material.  If this message contains=20
inappropriate material please forward the e-mail intact to=20
postmaster@xxxxxxxxxxxxxxxxx and it will be investigated.=20
Statements and opinions contained in this e-mail may not=20
necessarily represent those of Littlewoods.

Please note that e-mail communication may be monitored.

Registered office:=20
Littlewoods Retail Limited,=20
Sir John Moores Building,=20
100 Old Hall Street,=20
Liverpool,
L70 1AB=20
Registered no: 421258=20

http://www.littlewoods.com=20
***********************************************************************
*********************************************************
This Week's Sponsor - RTO Software / TScale
TScale increases terminal server capacity.=20
Get 30-40% more users per server to save $$$ and time.=20
Add users now! - not more servers. If you're using Citrix,=20
you must learn about TScale!  Free 30-day eval: =
http://www.rtosoft.com/Enter.asp?ID=3D79
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link: =
http://thethin.net/citrixlist.cfm

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0
Comment: Public PGP key for Chris Lynch

iQA/AwUBPm94+29fg+xq5T3MEQK7NACfWPPvAKlgtuChftOVmQx0LJFo+EEAoOyP
FeW+PoD5T0l4+WPGLYEpcs+5
=3DGCyU
-----END PGP SIGNATURE-----


*********************************************************
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

Other related posts: