Sorry Brian.

I assume you are doing something like:

code:
$dso = GetObject("WinNT:")
$dom = $dso.OpenDSObject("WinNT://@LDOMAIN", "Administrator", "password" , 0)

@ERROR ?
@SERROR ?

When I replace the password with something valid I get:

quote:

1
COM exception error "OpenDSObject" (Active Directory - Unspecified error
) [1/1]

hmm, really useful. (I get the same error when password is incorrect as well)