rpc_ns_mgmt_entry_delete(3rpc)Deletes an entry from the name service database Used by management applications. Synopsis #include <dce/rpc.h> void rpc_ns_mgmt_entry_delete( unsigned32 entry_name_syntax, unsigned_char_t *entry_name, unsigned32 *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 Output
status
Description Management applications use this routine only when an entry is no longer needed, such as when a server is permanently removed from service. If the entry is a member of a group or profile, it must also be deleted from the group or profile. Use this routine cautiously. Since name service databases are designed to be relatively stable, the frequent use of rpc_ns_mgmt_entry_delete( ) can result in the following difficulties: · Performance problems Creating and deleting entries in client or server applications causes the name service to remove and replace the same entry repeatedly in the name service database, which can lead to performance problems. · Lost entry updates When multiple applications access a single entry through different replicas of a name service database, updates to the entry can be lost. In this situation, if one application deletes the entry and another application updates the entry before the replicas are synchronized, the delete operation takes precedence over the update operation. When the replicas are synchronized, the update is lost because the entry is deleted from all replicas.
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_name_service_unavailable
rpc_s_no_ns_permission
rpc_s_not_rpc_entry
rpc_s_unsupported_name_syntax
Related Information
|