locked
In the case of wrong password system never loads any page, and hangs RRS feed

  • Question

  • User992832608 posted

    Hi all,<o:p></o:p>

    I have written ISAPI Filter which will authenticate the different user from the different domain. I set the Directory Security as BASIC ACTHENTICATION (password is sent in clear text).  My filter is working perfectly on windows XP but in Server 2003 I am getting following Issue:<o:p></o:p>

    When I enter wrong password the system never loads the page and hangs.<o:p></o:p>

    And when I enter correct user name and password then Filter works fine.<o:p></o:p>

    Can anyone help me how can I remove this problem.<o:p></o:p>

    System should response in the case of wrong password (appear again and again Dialog box).<o:p></o:p>

    Any special setting or code pleases send me I will be very thankful to u.<o:p></o:p>

    I am currently using following code:<o:p></o:p>

    if ( !ValidateUser( pAuth->pszUser, pAuth->pszPassword))<o:p></o:p>

    {<o:p></o:p>

    return SF_STATUS_REQ_NEXT_NOTIFICATION;<o:p></o:p>

    }

     

    Regards<o:p></o:p>

    Asim<o:p></o:p>

     

    Monday, March 3, 2008 3:08 AM

All replies

  • User1087439010 posted
    I think it should return SF_STATUS_REQ_ERROR when ValidateUser failed otherwise you need to return 
    SF_STATUS_REQ_NEXT_NOTIFICATION 



    Friday, March 7, 2008 4:54 AM
  • User992832608 posted
    Thanks,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

    Yes you are right. But the problem is that why in the case of SF_STATUS_REQ_NEXT_NOTIFICATION system is running fine on Windows XP.

    <o:p> </o:p>

    I am very thankful to your on your comments.

    Now my problem is resolved.

     

    Monday, March 10, 2008 1:06 AM