Re: User Account/Password Validation

"Wilson, Phil" <[email protected]> Thu, 23 Apr 2009 10:58:56 -0700
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <5C889913FF236E4190093AF280AB4EC40168943F58@wwlkfmail1.wonderware.com>
No - it's a situation where the user is entering an account name that will later be used by a number of services for impersonation. At the time when this is entered we'd like to verify that it is valid. 

Phil Wilson 


-----Original Message-----
From: Discussion of advanced .NET topics. [mailto:[email protected]] On Behalf Of John Warner
Sent: Thursday, April 23, 2009 10:23 AM
To: [email protected]
Subject: Re: [ADVANCED-DOTNET] User Account/Password Validation

I'm not clear here, are you wanting to replace the GINA?

John Warner


> -----Original Message-----
> From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> [email protected]] On Behalf Of Wilson, Phil
> Sent: Thursday, April 23, 2009 1:11 PM
> To: [email protected]
> Subject: [ADVANCED-DOTNET] User Account/Password Validation
> 
> I'm looking for a managed code way to validate a user account (possibly
in a
> domain) and password, in particular one that uses SSPI. LogonUser isn't
> reliable because (as the docs say) the calling user sometimes needs the
> SE_TCB_NAME privilege. There's a link to some C++ SSPI code in the
> LogonUser docs that I'd rather not use if I can avoid it.
> http://support.microsoft.com/kb/180548
> 
> This isn't an ASP.NET environment, just an existing app needing to
validate
> credentials typed into a windows form. I keep thinking I'm missing
something
> obvious....
> 
> Thanks
> 
> Phil Wilson
> 
> ===================================
> View archives and manage your subscription(s) at
> http://peach.ease.lsoft.com/archives

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives