Page 1 sur 1

Agent programmé Big problème

MessagePublié: 08 Nov 2002 à 11:54
par CED
Salut ^^Voilà dans une application j'ai un agent programmé qui s'exécute sur un serveur A.Cet agent doit créer des docs dans les agendas des personnes se trouvant sur un serveur B.Mais j'ai le msg d'erreur suivant: "Cannot open databases on machines other than the server running your program"Les droits sont corrects partout (LCA, document serveur)J'ai vu ce post sur notes.net:I'll try to explain the why, but basically the message is correct, a scheduled agent cannot access another server. The reason is this: When you run an agent manually, it runs as YOU and can access only what YOU can access. So from my server, if I wanted you (from another server) to access one of my databases, I would have to add you to the ACL specifically and make sure your ID could access it. So no matter what agent you wrote, it can't do anything unless I allow it. However, when run as scheduled, an agent runs as the SERVER with the authority of the server. On my server, if I replicate with your server, I would generally allow your server to access everything. Therefore, if you could write a scheduled agent anywhere on your server, it could access everything on my server with no restrictions. That is BAD for security, obviously, hence the restriction that scheduled agents cannot access other servers. Donc ce que je veux faire est impossible ????

Re: Agent programmé Big problème

MessagePublié: 08 Nov 2002 à 15:29
par Lefef
Bonjour,un agent programmé ne peut ouvrir une base sur un autre serveur.Voili voilouA+Lefef