Re: enumerating computers
- From: Tcs <TSmithATEastPointCityDOTorg@>
- Date: Thu, 27 Oct 2005 09:13:47 -0400
On Wed, 26 Oct 2005 16:42:01 -0600, "Marty List" <usenet@xxxxxxxxxxxx> wrote:
>Here's some suggestions:
>
>- Change the domain to a wrong name and see if the error changes.
>
No change.
>- Make sure your computer is a member of the new AD domain.
>
Yes.
>- Make sure you are logged on with an account from the new AD domain.
>
Yes.
>- As a test, create a small sample script with just these 2 lines:
> Set objRootDSE = GetObject("LDAP://RootDSE")
> Wscript.Echo objRootDSE.Get("defaultNamingContext")
Error.
The specified doman either does not exist or could not be contacted.
In my searching yesterday, one website mentioned something about the possibility
of a syntax error in the "LDAP" line. Although it would seems this is where the
problem is, rather than a syntax error, perhaps there's some kind of corruption
problem somewhere? I also found a thread, I forget which group (w2k AD?) where
someone mentioned inheriting a w2k domain and where whatever it was in AD wasn't
showing up, and someone had suggested creating and runing some script which
reregistered(?) something. And after that, things worked normally. So perhaps
*my* problem is...
> Then, use the output in your LDAP query string.
>
Skipping this one.
>- As a test, try adding these lines before the line "Set objRecordSet =
>objCommand.Execute":
> objCommand.Properties("User ID") = "MYDOMAIN\myaccount"
> objCommand.Properties("Password") = "mypassword"
> objCommand.Properties("Encrypt Password") = True
>
Error.
Item cannot be found in the collection corresponding to the requested name or
ordinal.
>- Make sure port 389 is not being blocked by a client firewall or network
>firewall.
According to GFI LANguard, port 389 is open on both w2k DCs.
>
>- Make sure your domain admins didn't change the TCP port from the default of
>389
Not as far as I can tell. LANguard is showing 389.
Thanks so help for helping...
.
- References:
- enumerating computers
- From: Tcs
- Re: enumerating computers
- From: /\\/\\o\\/\\/
- Re: enumerating computers
- From: Tcs
- Re: enumerating computers
- From: Marty List
- Re: enumerating computers
- From: Marty List
- enumerating computers
- Prev by Date: Re: AccountExpirationDate
- Next by Date: Re: logging off idle users
- Previous by thread: Re: enumerating computers
- Next by thread: Gestion des logs par Script et objet IIS ???
- Index(es):
Relevant Pages
|