sec_rgy_site_open_update(3sec)Binds to a registry update site Synopsis
#include <dce/binding.h> Parameters Input
site_name · To bind to an arbitrary security server site in a named cell, specify a cell name (for example, /.../r_d.com or /.: for the local cell) · To start the search for the update site at a specific replica in the replica's cell, specify either the cell name and the server name (for example, /.../r_d.com/subsys/dce/sec/rs_server_250_2) or the server's network address (for example, ncadg_ip_udp:15.22.144.248). If the server name is not valid, the routine binds to an arbitrary security site in the named cell. Note that the routine ignores anything after the cellname that does not refer to an item in the Cell Directory Service (CDS) namespace. If the specified CDS namespace item does not resolve to a security server, the call fails. Output
context
status
Description The site_name parameter identifies either the cell in which to find the update site or the replica at which to start the search for the update site. If site_name is NULL, or a zero-length string, an update site in the local cell is selected by the client agent. The handle for the associated registry server is returned in context. The handle is to an update site. Use this registry context handle in subsequent calls that update or query the registry database (for example, the sec_rgy_pgo_add( ) or sec_rgy_acct_lookup( ) call). The caller must have established a valid network identity for this call to succeed.
Notes Files
/usr/include/dce/binding.idl Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
sec_login_s_no_current_context
sec_rgy_server_unavailable
error_status_ok
Related Information sec_rgy_site_is_readonly(3sec)
|