Lotus Script Server to Server

I am attempting to use:

Set db = new database(server, filename)

to access a database on a different server, via a background agent running on a different server.

In my environment i have three servers in three different domains:

Notes6Server 1 / Domain 1

Notes6Server 2 / Domain 2

Notes5Server 3 / Domain 3

All the servers are cross certified with one another, this is confirmed as each server happily replicates with one another.

As highlighted, both Server 1 and Server 2 are Domino 6 servers, Server 3 is a Domino 5 server.

I have an identical background agent running on each server, which accesses databases on the other two servers. I use the command:

Set db = new database(server, filename)

I have no problems when the notes 6 servers agents attempt to access databases on each others servers. However I get the following error when any of the notes 6 servers attempts to access a database on the notes 5 server:

Agent ‘x’ error: User CN=x/OU=x/OU=x/O=x cannot open database Server3!!x.nsf

I wonder if this is because a notes 6 server cannot access a notes 5 server via a background agent, but I’ve seen documentation to support this guess?

Has anyone had similar problems?

Anyone got any ideas of that I should try?

Thanks in advance.

Parmy

Subject: Lotus Script Server to Server

Hi Parmy

I am not an admin expert. However, I don’t think it is possible for server agents to access databases on other servers in R5.

In Domino 6 it is possible if the other servers are listed in the Trusted Servers field found on the security tab in the server document.

Regards

Henrik

Subject: RE: Lotus Script Server to Server

" I don’t think it is possible for server agents to access databases on other servers in R5. In Domino 6 it is possible if the other servers are listed in the Trusted Servers field found on the security tab in the server document."

You are absolutely correct on both counts.

Subject: RE: Lotus Script Server to Server

Thanks everyone for your responses.

I guess this confirms that it is not possible for a notes 6 server agent to access a database on a notes 5 server, even if the Notes 5 server lists the Notes 6 server in the Trusted Server field?

I understand that it is not possible to access databases via a server agent when both servers are Notes 5.

It is posible to access database on a different servers via a server agent if both servers are Notes 6.

The real questions is can an server agent on a Notes 6 server, access a database on a Notes 5 server.

Regards

Parmy

Subject: RE: Lotus Script Server to Server

I guess this confirms that it is not possible for a notes 6 server agent to access a database on a notes 5 server, even if the Notes 5 server lists the Notes 6 server in the Trusted Server field?The Trusted Servers field is new to the design of the NAB in R6, so an R5 server has no idea that it exists. It’s perfectly Ok to use the R6 NAB design on an R5 server, but the new R6 functionality will be ignored by the R5 server.

I understand that it is not possible to access databases via a server agent when both servers are Notes 5.

Correct.

It is posible to access database on a different servers via a server agent if both servers are Notes 6.

Correct.

The real questions is can an server agent on a Notes 6 server, access a database on a Notes 5 server.

No. The R5 agent manager task’s security model will absolutely not allow an agent running on another server to access data on that server. Period. This is what changed in R6 to allow it to happen, not the mere appearance of the Trusted Servers field.

Subject: Lotus Script Server to Server - Yes it is possible

This will work if you include the Replica ID of the requesting database, enclosed in square brackets, as an entry in the ACL of the target database.

Subject: Lotus Script Server to Server

I would check the pathnames. If you can, use OpenByReplicaID instead of using file names for opening databases.