| 
 
 rpc_ns_mgmt_remove_attribute(3rpc)Removes an attribute from an RPC server entry in the name service database Used mainly by server applications; can also be used by management applications. Synopsis 
#include <dce/rpc.h>  void rpc_ns_mgmt_remove_attribute( unsigned32 entry_name_syntax, unsigned_char_t *entry_name, uuid_t *attr_type, error_status_t *status); Parameters Input 
entry_name_syntax  To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide rpc_c_ns_syntax_default. 
entry_name  
attr_type  Output 
status  
Description  The rpc_ns_mgmt_remove_attribute( ) routine is designed to be a generic routine for removing an attribute from an RPC server entry in the name service database. The routine removes the attribute from the specified RPC server entry in the name service database. The routine does not remove the RPC server entry. For DCE 1.1, you use rpc_ns_mgmt_remove_attribute( ) in your application server initialization routine or signal handling routine to remove a code sets attribute from the server's entry in the Cell Directory Service database as part of the server cleanup procedure carried out prior to the server's termination. A management application can call rpc_ns_mgmt_remove_attribute( ) to remove an attribute from an RPC server entry in the name service database on behalf of an application that does not itself have the necessary name service permissions to remove one. 
Permissions Required  
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_entry_not_found  
rpc_s_incomplete_name  
rpc_s_invalid_name_syntax  
rpc_s_mgmt_bad_type  
rpc_s_name_service_unavailable  
rpc_s_no_ns_permission  
Related Information  rpc_ns_mgmt_set_attribute(3rpc) 
 
 
  |