sec_rgy_attr_sch_create_entry-Create a schema entry
#include <dce/sec_rgy_attr_sch.h>
void sec_rgy_attr_sch_create_entry(
sec_rgy_handle_t context,
sec_attr_component_name_t schema_name,
sec_attr_schema_entry_t *schema_entry,
error_status_t *status);
Input
- context
An opaque handle bound to a registry server. Use sec_rgy_site_open() to acquire a bound handle.
- schema_name
Reserved for future use.
- schema_entry
A pointer to a sec_attr_schema_entry_t that contains the schema entry values for the schema in which the entry is to be created.
Output
- status
A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.
The sec_rgy_attr_sch_create_entry() routine creates schema entries that define attribute types.Permissions Required
The sec_rgy_attr_sch_create_entry() routine requires i permission on the schema object.
- /usr/include/dce/sec_rgy_attr_sch.idl
The idl file from which dce/sec_rgy_attr_sch.h was derived.
- error_status_ok
The call was successful.
- sec_attr_bad_acl_mgr_set
Invalid acl_mgr_set specified.
- sec_attr_bad_acl_mgr_type
Invalid acl manager type.
- sec_attr_bad_bind_authn_svc
Invalid authentication service specified in binding auth_info.
- sec_attr_bad_bind_authz_svc
Invalid authorization service specified in binding auth_info.
- sec_attr_bad_bind_info
Invalid binding information.
- sec_attr_bad_bind_prot_level
Invalid protection level specified in binding auth_info.
- sec_attr_bad_bind_svr_name
Invalid server name specified in binding auth_info.
- sec_attr_bad_comment
Invalid comment text specified.
- sec_attr_bad_encoding_type
Invalid encoding type specified.
- sec_attr_bad_intercell_action
Invalid intercell action specified.
- sec_attr_bad_name
Invalid attribute name specified.
- sec_attr_bad_permset
Invalid permission set.
- sec_attr_bad_scope
Invalid scope specified.
- sec_attr_bad_uniq_query_accept
Invalid combination of unique_flag=true, query trigger, and intercell_action=accept.
- sec_attr_name_exists
Attribute name already exists.
- sec_attr_no_memory
Unable to allocate memory.
- sec_attr_svr_read_only
Server is read only.
- sec_attr_svr_unavailable
Server is unavailable.
- sec_attr_trig_bind_info_missing
Trigger binding info must be specified.
- sec_attr_type_id_exists
Attribute type id already exists.
- sec_attr_unauthorized
Unauthorized to perform this operation.
Functions:sec_rgy_attr_sch_delete_entry() ,sec_rgy_attr_sch_update() .
Contents | Next section | Index |