rpc_ns_mgmt_entry_delete- deletes an entry from the name service database
#include <dce/rpc.h>
void rpc_ns_mgmt_entry_delete(
unsigned32 entry_name_syntax,
unsigned_char_t *entry_name,
unsigned32 *status);
Input
- entry_name_syntax
- An integer value that specifies the syntax of argument entry_name. (See
Name Syntax Constants for the possible values of this argument.)The value rpc_c_ns_syntax_default specifies the syntax specified by the RPC_DEFAULT_ENTRY_SYNTAX environment variable.
- entry_name
- The name of the entry to delete. The entry name syntax is identified by the argument entry_name_syntax.
Output
- status
- Returns the status code from this routine. The status code indicates whether the routine completed successfully, or if not, why not.
Possible status codes and their meanings include:
- rpc_s_ok
- Success.
- rpc_s_entry_not_found
Name service entry not found.
- rpc_s_name_service_unavailable
Name service unavailable.
- rpc_s_no_ns_permission
No permission for name service operation.
- rpc_s_not_rpc_entry
Not an RPC entry.
- rpc_s_unsupported_name_syntax
Unsupported name syntax.
The rpc_ns_mgmt_entry_delete() routine removes an RPC entry from the name service database.
- Note:
- 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.
Permissions Required
The application needs read permission for the target name service entry. The application also needs delete permission for the entry or for the parent directory.
None.
rpc_ns_mgmt_entry_create().
Please note that the html version of this specification may contain formatting aberrations. The definitive version is available as an electronic publication on CD-ROM from The Open Group.
Contents | Next section | Index |