Announcement

Collapse
No announcement yet.

Validate NT Password

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Validate NT Password

    I want to have a login box within my application that will
    require:

    NT Login Name
    NT Password

    NT Login name is easy via GetUserName

    I know I probably won't be able to get the NT Password but
    is there any API that can validate a password given to it?

    I just want a True/False if the password is correct or not.

    Thanks

    ------------------
    -Greg
    -Greg
    [email protected]
    MCP,MCSA,MCSE,MCSD

  • #2
    You might want to take a look at the LogonUser api call.
    This might be what you are looking for.

    Mark

    Originally posted by Gregery D Engle:
    I want to have a login box within my application that will
    require:

    NT Login Name
    NT Password

    NT Login name is easy via GetUserName

    I know I probably won't be able to get the NT Password but
    is there any API that can validate a password given to it?

    I just want a True/False if the password is correct or not.

    Thanks



    ------------------

    Comment


    • #3
      Mark,

      That would probably work but that is only for NT. I want
      something for 9x as well.

      Any other ideas?

      ------------------
      -Greg
      -Greg
      [email protected]
      MCP,MCSA,MCSE,MCSD

      Comment


      • #4
        I've got some code for enumerating the users, has the api you need but is in VB format...

        This is two totally different things for 95/98 and NT tho if I'm not mistaken..
        NT is NTLM, 95/98 is....well it's something but I'm not sure exactly what....could be NTLM?


        Search the VB archives for Enumusers and see if you can dig that up....
        I'd be most curious to see the code as Winlog 5.0 will be authenticating against a domain login....I just haven't gotten that far yet..




        ------------------
        Scott
        Scott Turchin
        MCSE, MCP+I
        http://www.tngbbs.com
        ----------------------
        True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

        Comment

        Working...
        X