Re: Active Directory and Dotnet....
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: Tue, 13 Jan 2004 10:05:37 -0600
You didn't mention what environment you were running in, but in order to use
serverless binding and default credentials, the current security context
must be a domain account in the domain you are trying to contact. You can
discover this with
Also, if you are in an ASP.NET environment and using impersonation, you may
be having double hop issues. This document is very helpful:
"Yaseen" <email@example.com> wrote in message
> I am trying to access the users of active directory.
> I am passing only path to the DirectoryEntry.
> If i pass the username and password along with the path it
> gives all the users from and domain. If i dont pass
> username and password it doesn't give any user.
> If i dont pass username and password and check for the
> schemaclassname it gives only one class name as "Schema"
> instead of other classes like user,group,computer,printer
> Is there anything else to set to access the users from the