1 2 Previous Next 19 Replies Latest reply: Oct 26, 2012 9:05 AM by glenn.s Go to original post RSS
      • 15. Re: Window authentication - Required by application
        Gunjan Ahuja
        Here is the line I entered

        1) http.addAuthentication("https://*", "AD\\Gunjan", "test24")

        2) While recording cookie is generates which is

                  http.addCookie("BIGipServerpool-hr_portal-oak-prod-https=rd1o00000000000000000000ffff0aed8787o8080 " +" WSS_KeepSessionAuthenticated={81bc5677-cce1-4d67-948e-65924cee8ed4}; domain=iris.com.ftgroup; path=/",
                  null); which is failing and co-relation is not possible i guess as this cookie is not in use by the application in further steps

        3)

        Request Headers from playback

        GET / HTTP/1.1
        Accept-Encoding: gzip
        Accept-Language: en-us,fr;q=0.5
        Accept: text/html, image/gif, image/jpeg, */*
        Connection: Keep-Alive
        Host: iris.com.ftgroup
        User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; [eburo v2.0]; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)


        GET / HTTP/1.1
        Accept-Encoding: gzip
        Accept-Language: en-us,fr;q=0.5
        Accept: text/html, image/gif, image/jpeg, */*
        Authorization: NTLM TlRMTVNTUAABAAAAB4IAIAAAAAAoAAAAAAAAACgAAAAFASgKAAAADw==
        Connection: Keep-Alive
        Host: iris.com.ftgroup
        User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; [eburo v2.0]; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)


        GET / HTTP/1.1
        Accept-Encoding: gzip
        Accept-Language: en-us,fr;q=0.5
        Accept: text/html, image/gif, image/jpeg, */*
        Authorization: NTLM TlRMTVNTUAABAAAAB4IAIAAAAAAoAAAAAAAAACgAAAAFASgKAAAADw==
        Connection: Keep-Alive
        Host: iris.com.ftgroup
        User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; [eburo v2.0]; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)


        Response Headers from playback


        HTTP/1.1 401 Unauthorized
        Server: Microsoft-IIS/7.5
        SPRequestGuid: f2041e73-c29c-4420-a477-b0364c4afb06
        WWW-Authenticate: NTLM
        X-Powered-By: ASP.NET
        MicrosoftSharePointTeamServices: 14.0.0.6117
        Date: Tue, 09 Oct 2012 04:08:18 GMT
        Connection: keep-alive
        Content-Length: 0
        Set-Cookie: BIGipServerpool-hr_portal-oak-prod-https=rd1o00000000000000000000ffff0aed8787o8080; path=/


        HTTP/1.1 401 Unauthorized
        Server: Microsoft-IIS/7.5
        SPRequestGuid: fb0a0b09-a49c-4bc4-8541-bd42871ab634
        WWW-Authenticate: NTLM
        X-Powered-By: ASP.NET
        MicrosoftSharePointTeamServices: 14.0.0.6117
        Date: Tue, 09 Oct 2012 04:08:19 GMT
        Content-Length: 0
        Set-Cookie: BIGipServerpool-hr_portal-oak-prod-https=rd1o00000000000000000000ffff0aed8787o8080; path=/


        HTTP/1.1 401 Unauthorized
        Server: Microsoft-IIS/7.5
        SPRequestGuid: ace9ffee-2ece-4c9b-af31-c4cbba4f420e
        WWW-Authenticate: NTLM
        X-Powered-By: ASP.NET
        MicrosoftSharePointTeamServices: 14.0.0.6117
        Date: Tue, 09 Oct 2012 04:08:21 GMT
        Content-Length: 0
        Set-Cookie: BIGipServerpool-hr_portal-oak-prod-https=rd1o00000000000000000000ffff0aed8786o8080; path=/


        Please let me know if I am missing something..

        Thanks
        Gunjan
        • 16. Re: Window authentication - Required by application
          glenn.s
          Are you sure the password for u="AD/Gunjan" is still valid? Many times it locks up from previous bad executions of the script. Is that the user/pass you use to login to the machine? To prove that it is still valid, just start a new process of firefox, which will force an authentication prompt every restart. I realize you probably require IE, but just do this to prove the authentication.

          You can also prove OpenScript Authentication by using this sharepoint NTLM demo I see on the public web.
          http://classic.utopiasystems.com/spdemo.html. After recording this sharepoint demo (with login) I added this one line to the top of the run section. I also used Jamie's suggestion of "*" in the host string. Without this authentication code the script will fail with the same error which you have described. When this line is added my scipt plays fine.
          http.addAuthentication("*", "utopia/spdemo", "utopia");
          • 17. Re: Window authentication - Required by application
            glenn.s
            Why are you putting a new line in the addAuthentication user name

            Should be this
            http.addAuthentication("https://*", "AD/Gunjan", "test24");
            not this:
            http.addAuthentication("https://*", "AD
            Gunjan", "test24");
            • 18. Re: Window authentication - Required by application
              Gunjan Ahuja
              Hi Glen

              I entered in single line only as you suggested , its showing in next line while pasting the code

              Thanks
              Gunjan
              • 19. Re: Window authentication - Required by application
                glenn.s
                Do not cut and paste. Type using your keyboard. Type what you see here. Each character... one... at.. a... time... The character between the "AD" and "Gunjan" is a forward slash. ascii character number dec 47 or hex 2F.

                "AD/Gunjan"
                1 2 Previous Next