rpc_server_register_auth_ident(3rpc)Registers user-to-user based authentication information with the RPC runtime; used by server applications Synopsis #include <dce/rpc.h> void rpc_server_register_auth_ident( unsigned_char_p_t *server_princ_name, unsigned32 authn_svc, rpc_auth_identity_handle_t auth_identity, unsigned32 *status); Parameters Input
server_princ_name
authn_svc
rpc_c_authn_none
rpc_c_authn_dce_secret
rpc_c_authn_dce_public
rpc_c_authn_default
auth_identity When using the rpc_c_authn_dce_secret authentication service and any authorization service, this value must be a sec_login_handle_t, which can be obtained from one of the following routines: · sec_login_setup_identity( ) · sec_login_get_current_context( ) · sec_login_import_context( ) Specify NULL to use the default security login context for the current address space. Output
status
Description A server calls this routine once for each authentication service and principal name combination that it wants to register. The authentication service specified by a client (using the rpc_binding_set_auth_info( ) routine) must be one of the authentication services registered by the server. If it is not, the client's remote procedure call request fails with an rpc_s_unknown_authn_service status code.
Return Values 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.
rpc_s_ok
rpc_s_unknown_authn_service
sec_s_user_to_user_disabled
sec_s_multiple_u2u_req
sec_s_svr_type_conflict
Related Information rpc_server_register_auth_info(3rpc)
|