On Fri, 9 Jul 2004, senthil wrote:
> I Tried to test ldap authentication of the proxy using polymix. i
> downloaded and installed polygraph 2.8.0.
>
> This is the robot configuration in the polymix-4-guts.pg file.
> Robot R = {
> ...
> credentials = [ "StoogeAdmin:secret1" ];*
> };
> ---------------------------------
>
> StoogeAdmin and secret1 are the username and password for the ldap
> server which needs to be authenticated. But i used dump errs in the
> client side and i received the 401 unauthorised message. I am not
> sure whether i need to make any more modifications other than adding
> the credentials.
I assume you are testing this with an HTTP proxy that uses LDAP
authentication (rather than trying to test the LDAP server directly)
as Polygraph agents do not talk LDAP. Is the proxy configured to do
HTTP Basic Authentication?
What you should be seeing is an HTTP request without credentials going
to the proxy and resulting in a 407 "Proxy Authentication
Required" response (not 401 "Unauthorized"). The robot will then
repeat the same request with credentials. Is that what is happening?
I would also recommend to start with simple.pg workload rather than a
rather complex PolyMix-4. That best-effort workload will make
debugging much easier. Switch to a PolyMix-4 derivative when
everything seems to be working and you are ready for production tests.
HTH,
Alex.
This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:28 MST