HTTP: 1014 - WWW-Authenticate header is missing but status code was 401., RespHdrGetHdr ANSWER: WebSetUserAuthNtlm

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Transaction Management Application Response Time - Infrastructure Edition


    COMPONENT:

    BMC Transaction Management Application Response Time Monitor WorkBench


    APPLIES TO:

    BMC Transaction Management Application Response Time



    PROBLEM:

     

    Get this error when replaying my recorded monitor script:

      

    "HTTP: 1014 - WWW-Authenticate header is missing but status code was 401., RespHdrGetHdr "

    BMC Transaction Management Application Response Time Monitor WorkBench 4.2.00

     


    SOLUTION:

     

    Legacy ID:KA413196

      

    Try to add the function in script "WebSetUserAuthNtlm" and then check.

    WebSetUserAuthNtlm :: Sets the password for NTLM/Kerberos authentication. In contrary to the WebSetUserAuth function it does not change the credentials for a basic user authentication.

    Please make sure if the web application is using the user name , it needs domain name as well.
    NTLM uses windows credentials. For your server to be able to authenticate you with NTLM authentication it must be connected to a domain and it must be able to pull a domain account to authenticate against - this is what we need to send it.

    Please enter a domain and username that you can use to authenticate against the server. This could be the same domain and username as you are logged in with when you recorded the script.

      

    When you examine the script you may find lines such as these:

      

        // NTLM/Kerberos authentication to HTTP server detected.
        // If you were prompted during recording to enter a username & password then you should uncomment the following line and
        // specify network credentials appropriately
        //WebSetUserAuthNtlm("Enter Username", "Enter Password");


    You can uncomment out the WebSetUserAuthNtlm call and replace the values in quotes with real values.

      
    Related Products:  
       
    1. BMC Transaction Management Application Response Time - Infrastructure Edition

     


    Article Number:

    000085287


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles