validating the user credentials WINDOWS2000 and XP

Hi All,

We are validating the user credentials in our application using the sample code mentioned in the following link

http://support.microsoft.com/kb/180548/

The code works fine for WIndows 2000 but we are facing a problem in XP..

when the password is EMPTY, then the validation fails for the local system account and same works fine if we give password (some string)

I would be great if someone can throw light on this ...

let me know in case u need clarification

regards,

yogish



Answer this question

validating the user credentials WINDOWS2000 and XP

  • Josh Lindenmuth

    That would be best asked at the windows newsgroups at http://msdn.microsoft.com/newsgroups

    Thanks,
    Ayman Shoukry
    VC++ Team


  • melbsurfer

    thanks for the reply...but it works fine for Windows 2000...I am facing problem in windows XP..is there any kind of security settings which i need to make
  • Gordon Radley

    I think it will happen so.
    Try with RunAs command (Right Click on an Executable and select RunAs).
    If you give empty password, it will say password can't be empty.


  • validating the user credentials WINDOWS2000 and XP