GEIL !!!!!!!!!!!!!!
das ist megageil!!!!!!!!!!!
Accessing remote servers
Prior to Notes/Domino 6, if a server-based scheduled or Web-based agent referenced a database on another server, the agent would fail. This happened because we did not have a security protocol that would allow us to authenticate the effective user of the agent (the person on whose behalf the agent is running) with server A while the agent was running on server B. For example, the following script would fail with an error on the bold line if a user tried to run it on the server. (In this example, the agent runs on server Central/Park and creates a replica of a database on server Gorky/Park.)
Sub Initialize
Dim session As New NotesSession
Dim db1 As NotesDatabase
Dim db2 As NotesDatabase
Dim dbname As String
dbname = "newdb.nsf"
Set db1 = session.CurrentDatabase
Set db2 = db1.CreateReplica("Gorky/Park", dbname)
End Sub
In Notes/Domino 6, the preceding code runs successfully if server Gorky/Park (where the database is created) is configured to trust server Central/Park (where the agent is running). Note that both servers need to be running Domino 6. To ensure server Gorky/Park trusts server Central/Park, open Gorky's Server document in the Domino Directory. In the Security tab, go to the Server Access section and enter Central/Park in the Trusted servers field