Authenticate in SAM database...

From: Jim (ssss)
Date: 05/12/03


Date: Mon, 12 May 2003 12:34:08 +0100


How do I authenticate a username and password in the local SAM database, I
can find the entry but don't know how to authenticate the password?

System.DirectoryServices.DirectoryEntry obDirEntry = new
System.DirectoryServices.DirectoryEntry("WinNT://" + "OR2400" );
System.DirectoryServices.DirectoryEntries entries = obDirEntry.Children;
System.DirectoryServices.DirectoryEntry obUser = entries.Find(username);

Thx

Jim



Relevant Pages

  • Re: Authenticate in SAM database...
    ... > How do I authenticate a username and password in the local SAM database, ... > can find the entry but don't know how to authenticate the password? ...
    (microsoft.public.dotnet.security)
  • Re: Authenticate in SAM database...
    ... >How do I authenticate a username and password in the local SAM database, ... >can find the entry but don't know how to authenticate the password? ... ADSI is no authentication provider - you'll need to use "lower level" ...
    (microsoft.public.dotnet.security)
  • Re: PEAP, WinXP, IAS, wrong username
    ... One of the problems could be that the configuration for mschapv2 might not ... Is the winxp machine part of a domain? ... because if turn off "authenticate users on this ... it seems like this username is based on the MAC-adress on the clients NIC. ...
    (microsoft.public.internet.radius)
  • Re: a webservice to authenticate the users against
    ... public bool ValidateUser(string username, string passwordHash); ... [WebService] ... > 4) Can query our internal Active Directory to authenticate our ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Authentication with IE
    ... When I am prompted to log into the site, I enter my username and password. ... It then returns back with the local server as the prefix as opposed to the ... permissions prompts for authenticaton). ... I want the users to authenticate against foo.com, ...
    (microsoft.public.inetserver.iis.security)

Loading