Add persono in other Domino Directory - 2nd post

I am having a problem adding a Person document in a DDirectory on cross certified Server by script.There are Srv1 (Domain: Srv1Domain) and Srv2 (Domain: Srv2Domain), with a cross certification. I use Administrator user on Srv1 for read, modify, etc Srv1 and Srv2 Domino Directory without problem. Now, i write a agent that register users on Srv1 (with NotesRegistration Class), create mail db and add users into a group;this work fine.If i run agent for register users on Srv2Domain, i have “You are not authorized to add Person Document to this Domino Directory (PROV)” error. I add Srv1 Server in ACL of Srv2 DDirectory with all roles also, but it’s not run equally. Have you idea? Thanks

Subject: Add persono in other Domino Directory - 2nd post

Hi,

First verify the signer of your agent

In your code add: msgbox "the user of the agent is = " & session.effectiveUsername

(replace session by your variable names, if you java replace appropriately), you can also use the rdebug task!

In the SRV2 log you will probably have the name ot the agetn signer. Modify the acl accordingly.

Subject: RE: Add persono in other Domino Directory - 2nd post

Thank you!Good day.