Re: Active Directory and Dotnet....
From: Yaseen (yaseen_at_egulfweb.com)
Date: 01/14/04
- Next message: Crirus: "Re: Is it possible for user to download and register activeX dll from explorer if he is logged in as User and not Administrator?"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Impersonation in ASP.NET to DCOM server"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Active Directory and Dotnet...."
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Active Directory and Dotnet...."
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Active Directory and Dotnet...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 13 Jan 2004 22:54:36 -0800
Hi,
I am using NT AUTHORITY\SYSTEM. I am a domain account
user. I am logging as a domain user. I am using Integrated
Athentication, and the domain user has "Logon Locally"
right. When i check for the schemaclass name it
gives "Schema" as class name. And SchemaEntry path
is "http://Domain/Schema" which should
be "http://Domain/Schema/User or Computer or Printer"
I checked for basic and digest authentication modes. It
doesnot return any user or computer. I did set impersonate
is web.config to "true" and aunthentication mode to
windows.
Any specific reason
Regards,
Yaseen
>-----Original Message-----
>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
>System.Security.Principal.WindowsIdentity.GetCurrent
().Name.
>
>Also, if you are in an ASP.NET environment and using
impersonation, you may
>be having double hop issues. This document is very
helpful:
>
>http://support.microsoft.com/default.aspx?scid=kb;en-
us;329986
>
>Joe K.
>
>"Yaseen" <yaseen@egulfweb.com> wrote in message
>news:0ba001c3d9e5$28150430$a401280a@phx.gbl...
>> Hi,
>>
>> 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
>> etc.
>>
>> Is there anything else to set to access the users from
the
>> domain?
>>
>> Regards
>> Yaseen
>
>
>.
>
- Next message: Crirus: "Re: Is it possible for user to download and register activeX dll from explorer if he is logged in as User and not Administrator?"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Impersonation in ASP.NET to DCOM server"
- In reply to: Joe Kaplan \(MVP - ADSI\): "Re: Active Directory and Dotnet...."
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Active Directory and Dotnet...."
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Active Directory and Dotnet...."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|