Re: Windows Password Validation
- From: "Randy Birch" <rgb_removethis@xxxxxxxx>
- Date: Sat, 23 Jul 2005 00:32:30 -0400
Tony ...
Using the SSPI code at
http://vbnet.mvps.org/code/network/acceptsecuritycontext.htm I just tried
authenticating a test user with different passwords - both sspi#user and
sspi|user1#. Once set these passwords were correctly authenticated with
this code, so it appears the characters are not the problem.
--
Randy Birch
MS MVP Visual Basic
http://vbnet.mvps.org/
----------------------------------------------------------------------------
Read. Decide. Sign the petition to Microsoft.
http://classicvb.org/petition/
----------------------------------------------------------------------------
"Tony Spratt" <tony_spratt@xxxxxxxxxxx> wrote in message
news:eZxKCXSjFHA.2904@xxxxxxxxxxxxxxxxxxxxxxx
: Hi all.
:
: I have a VB 6 routine to validate users' passwords before allowing them
: access to a specific function, the code fro which I got from the Microsoft
: site. It works perfectly OK (it uses the security API functions) for most
: users, but fails to validate the password correctly if the password
contains
: any characters with ANSI codes greater than 127. This means it won't work
: for users with "#", "," or "|" in their passwords and since we enforce
: strong passwords (and those characters are acceptable to Windows), certain
: users are being barred from validating.
:
: I assume that built-in Windows functions that require password validation
: (drive mappings, screensavers, etc.) use the security API and they don't
: seem to have any problems, so I'm wondering if this is peculiar to VB
: applications using those APIs.
:
: If anyone could offer any help or advice, I'd be very grateful indeed. If
: required, I can zip up the class file source code and post it here.
:
: TIA,
:
: Tony Spratt.
:
:
.
- Follow-Ups:
- Re: Windows Password Validation
- From: Tony Spratt
- Re: Windows Password Validation
- References:
- Windows Password Validation
- From: Tony Spratt
- Windows Password Validation
- Prev by Date: Re: Sending text and executing keypresses in another application
- Next by Date: Re: Windows Password Validation
- Previous by thread: Re: Windows Password Validation
- Next by thread: Re: Windows Password Validation
- Index(es):
Relevant Pages
|