<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Improved SPNEGO or Kerberos support with LoadRunner</title>
	<atom:link href="http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/feed/" rel="self" type="application/rss+xml" />
	<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/</link>
	<description>Performance and Test Automation Experts</description>
	<lastBuildDate>Mon, 09 May 2011 03:51:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Siva</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6972</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Mon, 20 Sep 2010 03:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6972</guid>
		<description>Hi Tim,

We are using VUGen 9.50 and LR 9.51. VU gen server is Windows 2003 SP2. We are planning to do a load test on a portal environment which is Kerberos based authentication. The Portal user id&#039;s are SCC1001 to SCC1100 and the password is same for all these users. We are logging into Vugen Windows server with a different user id(domain is same for both windows server as well as portal servers).

I have recorded the script with Web(http/html) protocol  and in the runtime settings, i set the
   Internet Protocol-&gt;Preferences-&gt;Options-&gt;Authentication-&gt;Enable Integrated Authentication
   Internet Protocol-&gt;Preferences-&gt;Advanced-&gt;WinInet [checked]:

The generated script already contains web_set_user function. But it recorded the user as windows server and not the portal login user id, so I  changed this to portal user. Is it correct?

I have recorded a small script with the below steps
   1. Login which loads home page
   2. Click on MyWork tab
   3. Click  on Home tab ( this supposed to load the initial home page)
   4. Logoff
When I replay, the step 1 and Step 4 are working properly, but the output of step2 and step3 are not as expected. I did not see any session id&#039;s in the script that is passing for the links. But the application is generating session id’s while login

My Questions are :
1 . What changes I should do to enable the script to run with expected behavior
2. I have created a krb5.ini file and kept at c:\windows. Do we need keytab file and if so do we need single file with all 100 users entries or do we need to keep a separate keytab file for each user? At present I kept one keytab file with one user details.
3. Do I need to set any settings in IE6.0?
4. With this scenario, can I do load test with 100 users from single loadgen?

Regards
Siva</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>We are using VUGen 9.50 and LR 9.51. VU gen server is Windows 2003 SP2. We are planning to do a load test on a portal environment which is Kerberos based authentication. The Portal user id&#8217;s are SCC1001 to SCC1100 and the password is same for all these users. We are logging into Vugen Windows server with a different user id(domain is same for both windows server as well as portal servers).</p>
<p>I have recorded the script with Web(http/html) protocol  and in the runtime settings, i set the<br />
   Internet Protocol-&gt;Preferences-&gt;Options-&gt;Authentication-&gt;Enable Integrated Authentication<br />
   Internet Protocol-&gt;Preferences-&gt;Advanced-&gt;WinInet [checked]:</p>
<p>The generated script already contains web_set_user function. But it recorded the user as windows server and not the portal login user id, so I  changed this to portal user. Is it correct?</p>
<p>I have recorded a small script with the below steps<br />
   1. Login which loads home page<br />
   2. Click on MyWork tab<br />
   3. Click  on Home tab ( this supposed to load the initial home page)<br />
   4. Logoff<br />
When I replay, the step 1 and Step 4 are working properly, but the output of step2 and step3 are not as expected. I did not see any session id&#8217;s in the script that is passing for the links. But the application is generating session id’s while login</p>
<p>My Questions are :<br />
1 . What changes I should do to enable the script to run with expected behavior<br />
2. I have created a krb5.ini file and kept at c:\windows. Do we need keytab file and if so do we need single file with all 100 users entries or do we need to keep a separate keytab file for each user? At present I kept one keytab file with one user details.<br />
3. Do I need to set any settings in IE6.0?<br />
4. With this scenario, can I do load test with 100 users from single loadgen?</p>
<p>Regards<br />
Siva</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: romain</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6971</link>
		<dc:creator>romain</dc:creator>
		<pubDate>Mon, 26 Apr 2010 12:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6971</guid>
		<description>Hi Tim,
we use LoadRunner 9.1.
The thing I can&#039;t understand is how you manage to change the user onto Kerberos authentification.
For example
web_set_user(&quot;user1&quot;,&quot;pwd1&quot;);
user1 is connected on Windows.
The user connected to app is user1.

Now we try to make
web_set_user(&quot;user2&quot;,&quot;pwd1&quot;);
user1 is connected on Windows.
The script work fine but the user conencted on app is &quot;user1&quot; and not &quot;user2&quot;.
How to make that works.
Thanks for your reply</description>
		<content:encoded><![CDATA[<p>Hi Tim,<br />
we use LoadRunner 9.1.<br />
The thing I can&#8217;t understand is how you manage to change the user onto Kerberos authentification.<br />
For example<br />
web_set_user(&#8220;user1&#8243;,&#8221;pwd1&#8243;);<br />
user1 is connected on Windows.<br />
The user connected to app is user1.</p>
<p>Now we try to make<br />
web_set_user(&#8220;user2&#8243;,&#8221;pwd1&#8243;);<br />
user1 is connected on Windows.<br />
The script work fine but the user conencted on app is &#8220;user1&#8243; and not &#8220;user2&#8243;.<br />
How to make that works.<br />
Thanks for your reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6970</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Tue, 20 Oct 2009 07:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6970</guid>
		<description>OK good to know that. Didn&#039;t realise you could get help on the web_set_sockets_option. There&#039;s lots of resources out there about setting up krb5 config files and generating keytabs (although I didn&#039;t have to for our setup which was IBM WebSEAL / SSO/ AD)

Good luck with it!

Tim</description>
		<content:encoded><![CDATA[<p>OK good to know that. Didn&#8217;t realise you could get help on the web_set_sockets_option. There&#8217;s lots of resources out there about setting up krb5 config files and generating keytabs (although I didn&#8217;t have to for our setup which was IBM WebSEAL / SSO/ AD)</p>
<p>Good luck with it!</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6969</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 20 Oct 2009 03:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6969</guid>
		<description>Tim,

thanks. The F1 help for 8.1 has no mention of the Ã¢â‚¬Å“INITIAL_BASIC_AUTHÃ¢â‚¬Â however when i run the

web_set_sockets_option(&quot;HELP&quot;,&quot;&quot;);

i can see the Ã¢â‚¬Å“INITIAL_BASIC_AUTHÃ¢â‚¬Â option.

web_set_sockets_option parameters =================================
INITIAL_BASIC_AUTH           : Send basic authentithication to server before receiving HTTP error

etc etc


The error i&#039;m receiving is the one mentioned previously above &quot;Warning -26000: can&#039;t get initial credentials for username/password userxxxxx/Password1&quot;


I am looking into the krb5.ini file setup. Thought i had set it up right but getting it looked into.

Cheers
John</description>
		<content:encoded><![CDATA[<p>Tim,</p>
<p>thanks. The F1 help for 8.1 has no mention of the Ã¢â‚¬Å“INITIAL_BASIC_AUTHÃ¢â‚¬Â however when i run the</p>
<p>web_set_sockets_option(&#8220;HELP&#8221;,&#8221;");</p>
<p>i can see the Ã¢â‚¬Å“INITIAL_BASIC_AUTHÃ¢â‚¬Â option.</p>
<p>web_set_sockets_option parameters =================================<br />
INITIAL_BASIC_AUTH           : Send basic authentithication to server before receiving HTTP error</p>
<p>etc etc</p>
<p>The error i&#8217;m receiving is the one mentioned previously above &#8220;Warning -26000: can&#8217;t get initial credentials for username/password userxxxxx/Password1&#8243;</p>
<p>I am looking into the krb5.ini file setup. Thought i had set it up right but getting it looked into.</p>
<p>Cheers<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6968</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 19 Oct 2009 08:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6968</guid>
		<description>Not sure mate would have to go to HP on that one. As it stands this flag is not documented anywhere AFAIK. I was testing on 9+. Have a crack and post any error messages you get here.

Regards,
Tim</description>
		<content:encoded><![CDATA[<p>Not sure mate would have to go to HP on that one. As it stands this flag is not documented anywhere AFAIK. I was testing on 9+. Have a crack and post any error messages you get here.</p>
<p>Regards,<br />
Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6967</link>
		<dc:creator>John</dc:creator>
		<pubDate>Mon, 19 Oct 2009 07:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6967</guid>
		<description>Hey Tim,

do you know if the &quot;INITIAL_BASIC_AUTH&quot; is supported by LR8.1 ?

Cheers</description>
		<content:encoded><![CDATA[<p>Hey Tim,</p>
<p>do you know if the &#8220;INITIAL_BASIC_AUTH&#8221; is supported by LR8.1 ?</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6966</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 09 Oct 2009 09:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6966</guid>
		<description>Mate you&#039;re missing the point! Don&#039;t put your webservers in there!! You need to put your domain controllers in there, the servers that look after your kerberos domain! If you don&#039;t know what I&#039;m talking about I suggest you read here first or ask a sysadmin to help explain your security setup to you... Get familar with wireshark, observe a manual test case and watch how your authentication happens in your domain. Fiddler is also useful from a client point of view.

http://en.wikipedia.org/wiki/Kerberos_(protocol)</description>
		<content:encoded><![CDATA[<p>Mate you&#8217;re missing the point! Don&#8217;t put your webservers in there!! You need to put your domain controllers in there, the servers that look after your kerberos domain! If you don&#8217;t know what I&#8217;m talking about I suggest you read here first or ask a sysadmin to help explain your security setup to you&#8230; Get familar with wireshark, observe a manual test case and watch how your authentication happens in your domain. Fiddler is also useful from a client point of view.</p>
<p><a href="http://en.wikipedia.org/wiki/Kerberos_(protocol)" rel="nofollow">http://en.wikipedia.org/wiki/Kerberos_(protocol)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karan</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6965</link>
		<dc:creator>karan</dc:creator>
		<pubDate>Fri, 09 Oct 2009 09:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6965</guid>
		<description>Hi Tim, I&#039;ve updated the Krb5.ini file but getting different error message now &quot;Miscellaneous failure Server not found in Kerberos database  [MsgId: MERR-27734]&quot;

I&#039;m seeing Domain name as &quot;YYYY&quot;, Server Name as &quot;Webserver1&quot;, Domain DNS Name as &quot;yyyy.asd.as.com&quot; and Server DNS Name as &quot;Webserver1.yyyy.asd.as.com&quot; in the Wireshark.

-----------------
Krb5.ini file is

[libdefaults]
default_realm = YYYY.ASD.AS.COM
default_keytab_name = c:\winnt\krb5.keytab
default_tkt_enctypes = des-cbc-md5 rc4-hmac
default_tgs_enctypes = des-cbc-md5 rc4-hmac
[realms]
Webserver1.yyyy.asd.as.com = {
kdc = Webserver1.yyyy.asd.as.com
default_domain = yyyy.asd.as.com
}
Webserver.yyyy.asd.as.com = {
kdc = Webserver2.yyyy.asd.as.com
default_domain = yyyy.asd.as.com
}
Webserver3.yyyy.asd.as.com = {
kdc = Webserver3.yyyy.asd.as.com
default_domain = yyyy.asd.as.com
}
[domain_realm]
.yyyy.asd.as.com = Webserver1.yyyy.asd.as.com
.yyyy.asd.as.com = Webserver2.yyyy.asd.as.com
.yyyy.asd.as.com = Webserver3.yyyy.asd.as.com

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

Did I create the ini file in the right way?

Thanks alot for your time &amp; help.

Karan</description>
		<content:encoded><![CDATA[<p>Hi Tim, I&#8217;ve updated the Krb5.ini file but getting different error message now &#8220;Miscellaneous failure Server not found in Kerberos database  [MsgId: MERR-27734]&#8221;</p>
<p>I&#8217;m seeing Domain name as &#8220;YYYY&#8221;, Server Name as &#8220;Webserver1&#8243;, Domain DNS Name as &#8220;yyyy.asd.as.com&#8221; and Server DNS Name as &#8220;Webserver1.yyyy.asd.as.com&#8221; in the Wireshark.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Krb5.ini file is</p>
<p>[libdefaults]<br />
default_realm = YYYY.ASD.AS.COM<br />
default_keytab_name = c:\winnt\krb5.keytab<br />
default_tkt_enctypes = des-cbc-md5 rc4-hmac<br />
default_tgs_enctypes = des-cbc-md5 rc4-hmac<br />
[realms]<br />
Webserver1.yyyy.asd.as.com = {<br />
kdc = Webserver1.yyyy.asd.as.com<br />
default_domain = yyyy.asd.as.com<br />
}<br />
Webserver.yyyy.asd.as.com = {<br />
kdc = Webserver2.yyyy.asd.as.com<br />
default_domain = yyyy.asd.as.com<br />
}<br />
Webserver3.yyyy.asd.as.com = {<br />
kdc = Webserver3.yyyy.asd.as.com<br />
default_domain = yyyy.asd.as.com<br />
}<br />
[domain_realm]<br />
.yyyy.asd.as.com = Webserver1.yyyy.asd.as.com<br />
.yyyy.asd.as.com = Webserver2.yyyy.asd.as.com<br />
.yyyy.asd.as.com = Webserver3.yyyy.asd.as.com</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Did I create the ini file in the right way?</p>
<p>Thanks alot for your time &amp; help.</p>
<p>Karan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karan</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6964</link>
		<dc:creator>Karan</dc:creator>
		<pubDate>Fri, 09 Oct 2009 07:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6964</guid>
		<description>Hi Tim, I&#039;ve updated the Krb5.ini file but getting different error message now &quot;Miscellaneous failure Server not found in Kerberos database  [MsgId: MERR-27734]&quot;

I&#039;m seeing Domain name as &quot;YYYY&quot;, Server Name as &quot;Webserver1&quot;, Domain DNS Name as &quot;yyyy.asd.as.com&quot; and Server DNS Name as &quot;Webserver1.yyyy.asd.as.com&quot; in the Wireshark.

-----------------
Krb5.ini file is

[libdefaults]
default_realm = YYYY.ASD.AS.COM
default_keytab_name = c:\winnt\krb5.keytab
default_tkt_enctypes = des-cbc-md5 rc4-hmac
default_tgs_enctypes = des-cbc-md5 rc4-hmac
[realms]
Webserver1.yyyy.asd.as.com = {
kdc = Webserver1.yyyy.asd.as.com
default_domain = yyyy.asd.as.com
}
Webserver2.yyyy.asd.as.com = {
kdc = Webserver2.yyyy.asd.as.com
default_domain = yyyy.asd.as.com
}
Webserver3.yyyy.asd.as.com = {
kdc = Webserver3.yyyy.asd.as.com
default_domain = yyyy.asd.as.com
}
[domain_realm]
.yyyy.asd.as.com = Webserver1.yyyy.asd.as.com
.yyyy.asd.as.com = Webserver2.yyyy.asd.as.com
.yyyy.asd.as.com = Webserver3.yyyy.asd.as.com

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

There are 3 web servers in the test bed.

Did i create the ini file in the right way?

Thanks alot for your help.

Karan</description>
		<content:encoded><![CDATA[<p>Hi Tim, I&#8217;ve updated the Krb5.ini file but getting different error message now &#8220;Miscellaneous failure Server not found in Kerberos database  [MsgId: MERR-27734]&#8221;</p>
<p>I&#8217;m seeing Domain name as &#8220;YYYY&#8221;, Server Name as &#8220;Webserver1&#8243;, Domain DNS Name as &#8220;yyyy.asd.as.com&#8221; and Server DNS Name as &#8220;Webserver1.yyyy.asd.as.com&#8221; in the Wireshark.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Krb5.ini file is</p>
<p>[libdefaults]<br />
default_realm = YYYY.ASD.AS.COM<br />
default_keytab_name = c:\winnt\krb5.keytab<br />
default_tkt_enctypes = des-cbc-md5 rc4-hmac<br />
default_tgs_enctypes = des-cbc-md5 rc4-hmac<br />
[realms]<br />
Webserver1.yyyy.asd.as.com = {<br />
kdc = Webserver1.yyyy.asd.as.com<br />
default_domain = yyyy.asd.as.com<br />
}<br />
Webserver2.yyyy.asd.as.com = {<br />
kdc = Webserver2.yyyy.asd.as.com<br />
default_domain = yyyy.asd.as.com<br />
}<br />
Webserver3.yyyy.asd.as.com = {<br />
kdc = Webserver3.yyyy.asd.as.com<br />
default_domain = yyyy.asd.as.com<br />
}<br />
[domain_realm]<br />
.yyyy.asd.as.com = Webserver1.yyyy.asd.as.com<br />
.yyyy.asd.as.com = Webserver2.yyyy.asd.as.com<br />
.yyyy.asd.as.com = Webserver3.yyyy.asd.as.com</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>There are 3 web servers in the test bed.</p>
<p>Did i create the ini file in the right way?</p>
<p>Thanks alot for your help.</p>
<p>Karan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://altentee.com/blogs/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6963</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 09 Oct 2009 06:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://90kts.com/blog/2009/improved-spnego-or-kerberos-support-with-loadrunner/#comment-6963</guid>
		<description>The problem is you haven&#039;t updated the domain controllers in your [realms] to point to real DCs. You&#039;re just using my example file i.e. dc01.domain.local. You need to find out what the names are of your DCs and update accordingly. You can normally figure this out with a wireshark trace, or just ask your system admin type people. The error message is basically telling you this, i.e. it can&#039;t get the username/password for rmatte/Merrill1009

Cheers,
Tim</description>
		<content:encoded><![CDATA[<p>The problem is you haven&#8217;t updated the domain controllers in your [realms] to point to real DCs. You&#8217;re just using my example file i.e. dc01.domain.local. You need to find out what the names are of your DCs and update accordingly. You can normally figure this out with a wireshark trace, or just ask your system admin type people. The error message is basically telling you this, i.e. it can&#8217;t get the username/password for rmatte/Merrill1009</p>
<p>Cheers,<br />
Tim</p>
]]></content:encoded>
	</item>
</channel>
</rss>

