Self Service Password Reset - Agent Error

I have a pair of servers in a cluster and I’m trying to use the PwdResetSample.nsf to reset user passwords from a browser.

Server1 is Windows 2003 running Domino 8.5.1

Server2 is Windows 2003 64 bit running Domino 8.5.1

PwdResetSample.nsf replicates between the servers.

I have followed the instructions in “setting up the sample application”

Servers are called “server1/Servers/Corp” & “server2/Servers/Corp”

Users are called “users/Corp”

Signer & password reset authority is called “signer/Corp”

The ACL on pwdresetsample.nsf is set as:

“*/Corp” has Editor access

“signer/Corp” has Manager access.

“LocalDomainServers” has Manager access

The agent is signed with “signer/Corp”

“signer/Corp” has “Run restricted LotusScript/Java agents” in the server document.

“signer/Corp”, “Server1” & “Server2” are all Self-service password reset authority.

When I launch a browser and enter the URL to server1’s pwdresetsample.nsf it works perfectly.

When I enter the URL to server2’s pwdresetsample.nsf I get the error:

HTTP Server: Agent ‘User Password Reset agUserPasswordReset’ error: ResetUse

Agent containing ResetUserPassword method must be signed by a designated Password Resetter

The only difference I can see is that one server is 32 bit and one is 64 bit.

Can anybody help me please?

Many thanks

Gavin

Subject: Agent on Server

I had the very same issue when testing it on my own application.

While it shows that error, mine was because I was running the ResetPassword call with the name of the server and when after replication, the agent was pointing to another server.

Try to look at the schedule option in the agent to see if it says where it runs. It should say local.

I am assuming you already checked the signer of the agent and both servers are configured in the same way on the security tab.

Subject: NO, “Local” means client and password reset method does not work on the client

Where agent should run SHOULD NOT say “Local”. Local in that fields means the notes client and will not run on any server. This method is designed to work only on the server (for security reasons) and will not work on the client.The field which says which server it should run on, should expxlicitly list the server where your agent is designed to run.

Subject: not scheduled?

It should work if you set it to work from a Action right? Actually I am using it like that.

Subject: Still Having Problems. . . .

The signer of the agent is the same on both servers.The security tab is set the same on both servers.

Both agents are set to run ‘on event - Action Menu Selection’, so there is no server to run on.

I would really appreciate any more suggestions please?

Subject: All Working Now

Hi,

Your previous comments made me focus on how the agent was being triggered and I simply changed the trigger from ‘on event – Action Menu Selection’ to ‘on event – Agent list selection’.

Early testing shows this change has replicated and now the agent runs on both servers.

Thank you very much for all your help.

Gavin

Subject: Please explain more

How is the agent invoked? The agent should not work from the Action from Notes Client.If you want it to run from the agent, you would need ot use RunOnServer method for the

agent where the method is.

.

If you are invoking it from the web, then the server to run on field is ignored.

If you are invoking it from another agent, then the calling’s agent server is used.

Can you please give more details on how the agent is invoked so I can understand why it is working.