471,339 Members | 1,156 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 software developers and data experts.

WinNT provider, c#, retrieving NT computers

My application needs to enumerate computers on both AD domains and also on
existing NT domains. The earch of Ad domains was a snap, but the WinNT
provider errors out telling me you cannot search on this provider. I need to
return a list of computers (and distinguish servers fron workstations) in a
particular NT domain. Anybody out there run into this?
Jul 21 '05 #1
4 1946
You probably don't have access to the NT domain you are trying to query.
Check if trust is setup.

TK

"John P" wrote:
My application needs to enumerate computers on both AD domains and also on
existing NT domains. The earch of Ad domains was a snap, but the WinNT
provider errors out telling me you cannot search on this provider. I need to
return a list of computers (and distinguish servers fron workstations) in a
particular NT domain. Anybody out there run into this?

Jul 21 '05 #2
You probably don't have access to the NT domain you are trying to query.
Check if trust is setup.

TK

"John P" wrote:
My application needs to enumerate computers on both AD domains and also on
existing NT domains. The earch of Ad domains was a snap, but the WinNT
provider errors out telling me you cannot search on this provider. I need to
return a list of computers (and distinguish servers fron workstations) in a
particular NT domain. Anybody out there run into this?

Jul 21 '05 #3
Hi,

this is not possibly with the implementation of ADSI in NT4. The interface
does not implement searching. The only alternate I see is to enum all and
"build a filter in code".

Best regards,
Manfred Braun

(Private)
Mannheim
Germany

mailto:_m*************@manfbraun.de
(Remove the anti-spam-underscore to mail me!)

"John P" <Jo***@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
My application needs to enumerate computers on both AD domains and also on
existing NT domains. The earch of Ad domains was a snap, but the WinNT
provider errors out telling me you cannot search on this provider. I need to return a list of computers (and distinguish servers fron workstations) in a particular NT domain. Anybody out there run into this?

Jul 21 '05 #4
Hi,

this is not possibly with the implementation of ADSI in NT4. The interface
does not implement searching. The only alternate I see is to enum all and
"build a filter in code".

Best regards,
Manfred Braun

(Private)
Mannheim
Germany

mailto:_m*************@manfbraun.de
(Remove the anti-spam-underscore to mail me!)

"John P" <Jo***@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
My application needs to enumerate computers on both AD domains and also on
existing NT domains. The earch of Ad domains was a snap, but the WinNT
provider errors out telling me you cannot search on this provider. I need to return a list of computers (and distinguish servers fron workstations) in a particular NT domain. Anybody out there run into this?

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Dirk Hagemann | last post: by
4 posts views Thread by Thomaz | last post: by
1 post views Thread by Matthias Mohr via .NET 247 | last post: by
reply views Thread by Trevor Lawrence | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.