On Fri, Oct 12, 2012 at 07:47:59PM +0000, Aaron Coburn wrote:
> In .ht-inc/conf.php, have you, by any chance, changed DEFAULT_AFFILID? (It 
> should be '1' and it should correspond to the local affiliation id).

Nope, no changes there.  It's still set to '1'.

> Also, have you possibly removed the "Local Account" entry in the $authMechs 
> array? (You should have an entry with type => local and affiliationid => 1).

That looks good too.  All we've changed is the "Help" entry:

  "Local Account"    => array("type" => "local",
             "affiliationid" => 1,
             "help" => "You probably don't want \"Local Account\" unless you 
are are an administrator of the VCL system."),

> Some time ago, I wrote a perl script for testing access to the remote API. I 
> have put it online here: http://people.apache.org/~acoburn/rpcxml.pl

Oh, good!  I was wishing for something like this.

This looks familiar:

$ ./vcl-rpcxml.pl 
Username: vclsystem
Password: 
Can't locate object method "value" via package
"RPC::XML::Client::send_request: HTTP server error: Can't connect to
vlab-a.uchicago.edu:443 (certificate verify failed)" (perhaps you forgot
to load "RPC::XML::Client::send_request: HTTP server error: Can't
connect to vlab-a.uchicago.edu:443 (certificate verify failed)"?) at
./vcl-rpcxml.pl line 28, <> line 2.

I get the same result whether I enter the correct password or something
deliberately wrong.  So I'm guessing that this is indicating something
missing in my environment, but I know from looking previously that the
RPC::XML::Client directory is complete with a send_request script.

Reply via email to