Re: Active Directory and Dotnet....

From: Yaseen (yaseen_at_egulfweb.com)
Date: 01/14/04


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
>
>
>.
>



Relevant Pages

  • Re: Share access problem using VPN
    ... prompted to enter a username and a password. ... I have added WINS to the Cleint and Server and enabled this. ... Another version is "Alex's" work around is logon as another domain account ... > The full error message is interesting because it says to you the problem is ...
    (microsoft.public.windows.server.networking)
  • Re: Authentication Question
    ... Group that has permissions to access the site (if he hasn't been allocated ... So he has two ways to access the site (local user / domain name) and now ... that he has once accessed the site with his domain account, ... My question, when you check this box, where is your username and password ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Change names, usernames - newbie
    ... *and* the domain account in Manage Users? ... Since there is no username in AD, ... Active Directory, backup and restore of individual documents seems to ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Change workgroup to domain
    ... member of Domain (your domain ... then you'll be prompted to provide a username and password with ... allowed to logon to the domain with a valid domain account. ... Microsoft MVP ...
    (microsoft.public.windows.server.security)