PavelKHTW писал(а): Советую почитать TIDы на Novell.com - многое станет ясно. Там же есть примеры, и объяснение зачем все это.
Гм. Сударь, я там бывал-с. :-)
What is SLP, Service Location Protocol? - TID10024590 (last modified 22JAN2003)
Without a DA in the network, a UA and SA will communicate something like this:
-' A Service on server such as NDS will register with the SLP SA on this server.
-' A UA, usually a client, will send a multicast request for this service.
-' The SA gets the SLP request and sends a unicast packet directly back to the UA letting it know that the requested service is running on this server.
-' The client will then send a unicast request to the SA for the details of the NDS service.
-' The SA will then send all the attributes (details) of the NDS service to the UA with another unicast packet. At this point SLP's job is complete.
-' The UA now has the information (IP address) of the server on which to authenticate into NDS with via TCP/IP..
PavelKHTW писал(а): - если вылетел с руганью, значит уже были объекты slp - нужно было просто их грохнуть.
А с сервера никто не отвечал по простой причине - агента не было :)
Не, он ругался на как раз _отсутствие_ объектов SLP в дереве.
По поводу агента - давайте ещё раз. DA обслуживает всё дерево, то есть потенциально несколько серверов, централизованно. Если я отлично обхожусь одним серверов и не имею перспектив расширения, мне должно хватить SA, ибо при таком раскладе он полностью должен заменять DA:
By default SLP uses multicasting to find an SA or a DA on a network. The multicast address that SA's listen for is 224.0.1.22 and the multicast address that DA's listen for is 224.0.1.35. A UA will send a multicast request to the address 224.0.1.22 when it is looking for a service. This multicast packet is sent to every network and router that has multicasting enabled. In this case every SA that receives this packet will respond with service information if it has what the UA is asking for. A UA and SA will send a multicast packet to 224.0.1.35 in an at.tempt to discover a DA. Every DA that receives this will respond. Once the UA or SA locate a DA, they will then send Unicast packets directly to the DA.
(взято оттуда же) Поскольку SA также "Service Agent (SA) ' A Service Agent runs on every server that is running SLP. Applications on this server will register with the SLP SA and store this in local cache memory" сам регистрирует службы, мне достаточно иметь на сервере его одного.
Посему я и хочу знать, как обходиться на сервере без DA, одним SA. Или это всего лишь абстракция, а не реальная служба?
Уф. :-)