Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS manuals
DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS
Table of contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- Table Of Contents
- What You Should Already Know
- document conventions
- where to find directory server information
- Where to Find Directory Server Information
- Part 1 Introduction to Directory Server Plug-ins
- Calling Directory Server Plug-in Functions
- How Directory Server Plug-ins Work
- Types of Directory Server Plug-ins
- Including the API Header File
- Working with Parameter Blocks
- Plug-in Return Values
- specifying directory server compatibility
- Returning a Value to the Directory Server
- Plug-in Dependencies
- Plug-in Type Dependencies
- Summary of Plug-in Directives
- Loading the Plug-in Configuration File
- Setting the Log Level of the Server
- Writing the Plug-in Example
- Compiling the Plug-in Example
- Registering the Plug-in Example
- Part 2 Basic Plug-in Programming Techniques
- logging messages
- adding notes to access log entries
- sending data to the client
- Creating a New Entry
- Getting and Setting the DN of an Entry
- Finding a Specific Attribute in an Entry
- Determining If a DN Is the Root DN
- Working with Search Filters
- Determining If an Entry Matches a Filter
- Getting the Search Criteria
- Converting a String to a Filter
- checking passwords
- How Pre/Post-Operation Plug-ins Work
- Types of Pre-Operation and Post-Operation Functions
- Types of Post-Operation Functions
- Registering Pre/Post-Operation Functions
- Specifying Start and Close Functions
- Processing an LDAP Bind Operation
- Getting and Setting Parameters for the Bind Operation
- Processing an LDAP Search Operation
- Iterating through Candidates
- Chapter 7 Defining Functions for LDAP Operations
- Processing an LDAP Add Operation
- Processing an LDAP Modify Operation
- Processing an LDAP Modify RDN Operation
- Processing an LDAP Delete Operation
- Processing an LDAP Abandon Operation
- Understanding Authentication Methods
- How the Directory Server Identifies Clients
- Writing Your Own Authentication Plug-in
- Defining Your Authentication Function
- Getting the Entry and Checking the Credentials
- What to Do If Authentication Fails
- Registering the SASL Mechanism
- Example of a Pre-Operation Bind Plug-in
- Example of an Initialization Function
- Registering the Plug-in
- Part 3 Advanced Programming Techniques
- How Entry Store/Fetch Plug-ins Work
- Writing Entry Store/Fetch Functions
- Registering Entry Store/Fetch Functions
- How Extended Operation Plug-ins Work
- Writing Extended Operation Functions
- Registering Extended Operation Functions
- Chapter 10 Writing Extended Operation Plug-ins
- Understanding Matching Rules
- Extensible Match Filters
- Extensible Match Filters in the Directory Server
- How Matching Rules Are Identified
- How the Server Associates Plug-ins with OIDs
- Finding a Plug-in for Searching
- How the Server Uses Parameter Blocks
- How the Server Updates the Index
- Writing the Indexer Factory Function
- Getting and Setting Parameters in Indexer Factory Functions
- Writing the Indexer Function
- Getting and Setting Parameters in Indexer Functions
- How the Server Handles the Filter
- Query Operators in Matching Rules
- Writing a Filter Factory Function
- Getting and Setting Parameters in Filter Factory Functions
- Writing a Filter Index Function
- Getting and Setting Parameters in Filter Index Functions
- Writing a Filter Matching Function
- Handling Sorting by Matching Rules
- Writing a Destructor Function
- About Distributing Flat Namespaces
- Creating a Distribution Function
- Adding the Distribution Function to Your Directory
- Using the Console
- Adding Distribution Logic to a Suffix
- Custom Distribution Checklist
- Installing Directory Server
- Installing Two Instances of Directory Server
- Enabling the DIOP Feature in Directory Server
- Using the DIOP Feature
- Sample DIOP Plug-in
- Debugging the Plug-in
- Bypassing Access Control Checks
- Part 4 Reference
- Summary of Data Types and Structures
- berval
- computed_attr_context
- LDAPMod
- mrFilterMatchFn
- plugin_referral_entry_callback
- plugin_result_callback
- plugin_search_entry_callback
- send_ldap_result_fn_ptr_t
- send_ldap_search_entry_fn_ptr_t
- Slapi_Attr
- Slapi_Backend
- slapi_backend_state_change_fnptr
- Slapi_ComponentID
- slapi_compute_output_t
- Slapi_Connection
- Slapi_DN
- Slapi_Entry
- Slapi_Filter
- Slapi_MatchingRuleEntry
- Slapi_Mod
- Slapi_Mods
- Slapi_Mutex
- Slapi_Operation
- Slapi_PluginDesc
- Slapi_RDN
- Slapi_UniqueID
- Slapi_ValueSet
- see also
- Distribution Routines
- distribution_plugin_entry_point()
- Functions for Access Control
- slapi_acl_check_mods()
- slapi_acl_verify_aci_syntax()
- Functions for Internal Operations and Plug-in Callback
- slapi_delete_internal_pb()
- slapi_free_search_results_internal()
- slapi_modify_internal_pb()
- slapi_modrdn_internal_pb()
- slapi_search_internal_get_entry()
- slapi_search_internal_pb()
- Functions for Setting Internal Operation Flags
- slapi_add_entry_internal_set_pb()
- slapi_add_internal_set_pb()
- slapi_delete_internal_set_pb()
- slapi_modify_internal_set_pb()
- slapi_rename_internal_set_pb()
- slapi_search_internal_set_pb()
- slapi_seq_internal_callback_pb()
- slapi_seq_internal_set_pb()
- functions for handling attributes
- slapi_attr_add_value()
- slapi_attr_basetype()
- slapi_attr_dup()
- slapi_attr_flag_is_set()
- slapi_attr_get_bervals_copy()
- slapi_attr_get_flags()
- slapi_attr_get_numvalues()
- slapi_attr_get_type()
- slapi_attr_get_valueset()
- slapi_attr_init()
- slapi_attr_next_value()
- slapi_attr_set_valueset()
- slapi_attr_syntax_normalize()
- slapi_attr_type_cmp()
- slapi_attr_types_equivalent()
- slapi_attr_value_cmp()
- slapi_attr_value_find()
- slapi_valueset_set_from_smod()
- slapi_be_addsuffix()
- slapi_be_exist()
- slapi_be_get_instance_info()
- slapi_be_get_readonly()
- slapi_be_getsuffix()
- slapi_be_is_flag_set()
- slapi_be_logchanges()
- slapi_be_new()
- slapi_be_select()
- slapi_be_select_by_instance_name()
- slapi_be_set_instance_info()
- slapi_be_setentrypoint()
- slapi_get_first_suffix()
- slapi_get_next_backend()
- slapi_get_next_suffix()
- slapi_is_root_suffix()
- slapi_register_backend_state_change()
- Functions for Dealing with Controls
- slapi_build_control()
- slapi_build_control_from_berval()
- slapi_control_present()
- slapi_dup_control()
- slapi_get_supported_controls_copy()
- slapi_register_supported_control()
- Functions for Syntax Plug-in
- slapi_call_syntax_assertion2keys_sub_sv()
- slapi_call_syntax_values2keys_sv()
- Functions for Managing Memory
- slapi_ch_array_free()
- slapi_ch_bvecdup()
- slapi_ch_calloc()
- slapi_ch_free()
- slapi_ch_malloc()
- slapi_ch_realloc()
- slapi_ch_smprintf()
- Functions for Managing DNs
- slapi_add_auth_response_control()
- slapi_dn_beparent()
- slapi_dn_isbesuffix()
- slapi_dn_isparent()
- slapi_dn_issuffix()
- slapi_dn_normalize()
- slapi_dn_normalize_case()
- slapi_dn_parent()
- slapi_dn_plus_rdn()
- Functions for Managing Entries
- slapi_entry2str()
- slapi_entry2str_with_options()
- slapi_entry_add_rdn_values()
- slapi_entry_add_string()
- slapi_entry_add_values_sv()
- slapi_entry_add_valueset()
- slapi_entry_alloc()
- slapi_entry_attr_delete()
- slapi_entry_attr_get_bool()
- slapi_entry_attr_get_charptr()
- slapi_entry_attr_get_int()
- slapi_entry_attr_get_long()
- slapi_entry_attr_get_uint()
- slapi_entry_attr_has_syntax_value()
- slapi_entry_attr_merge_sv()
- slapi_entry_attr_replace_sv()
- slapi_entry_attr_set_int()
- slapi_entry_attr_set_long()
- slapi_entry_attr_set_ulong()
- slapi_entry_delete_values_sv()
- slapi_entry_dup()
- slapi_entry_first_attr()
- slapi_entry_free()
- slapi_entry_get_dn_const()
- slapi_entry_get_ndn()
- slapi_entry_get_sdn_const()
- slapi_entry_get_uniqueid()
- slapi_entry_init()
- slapi_entry_merge_values_sv()
- slapi_entry_next_attr()
- slapi_entry_rdn_values_present()
- slapi_entry_schema_check()
- slapi_entry_set_sdn()
- slapi_entry_set_uniqueid()
- slapi_entry_size()
- slapi_is_rootdse()
- Functions Related to Entry Flags
- slapi_entry_flag_is_set()
- Functions for Dealing with Filters
- slapi_filter_apply()
- slapi_filter_compare()
- slapi_filter_dup()
- slapi_filter_get_attribute_type()
- slapi_filter_get_ava()
- slapi_filter_get_choice()
- slapi_filter_get_subfilt()
- slapi_filter_get_type()
- slapi_filter_join()
- slapi_filter_join_ex()
- slapi_filter_list_first()
- slapi_filter_list_next()
- slapi_filter_test()
- slapi_filter_test_ext()
- slapi_filter_test_simple()
- slapi_find_matching_paren()
- slapi_vattr_filter_test()
- Functions Specific to Extended Operation
- Functions Specific to Bind Methods
- slapi_register_supported_saslmechanism()
- slapi_ldap_init()
- slapi_ldap_unbind()
- slapi_log_error()
- slapi_is_loglevel_set()
- Functions for Handling Matching Rules
- slapi_berval_cmp()
- slapi_matchingrule_get()
- slapi_matchingrule_new()
- slapi_matchingrule_register()
- slapi_matchingrule_unregister()
- slapi_mr_indexer_create()
- Functions for LDAPMod Manipulation
- slapi_entry2mods()
- slapi_mod_add_value()
- slapi_mod_done()
- slapi_mod_free()
- slapi_mod_get_first_value()
- slapi_mod_get_ldapmod_passout()
- slapi_mod_get_next_value()
- slapi_mod_get_operation()
- slapi_mod_init()
- slapi_mod_init_byref()
- slapi_mod_init_passin()
- slapi_mod_new()
- slapi_mod_remove_value()
- slapi_mod_set_type()
- slapi_mods_add()
- slapi_mods_add_ldapmod()
- slapi_mods_add_mod_values()
- slapi_mods_add_smod()
- slapi_mods_add_modbvps()
- slapi_mods_done()
- slapi_mods_dump()
- slapi_mods_free()
- slapi_mods_get_first_smod()
- slapi_mods_get_ldapmods_byref()
- slapi_mods_get_next_mod()
- slapi_mods_get_next_smod()
- slapi_mods_get_num_mods()
- slapi_mods_init_byref()
- slapi_mods_insert_after()
- slapi_mods_insert_at()
- slapi_mods_insert_before()
- slapi_mods_insert_smod_before()
- slapi_mods_iterator_backbone()
- slapi_mods_new()
- Functions for Monitoring Operations
- slapi_op_get_type()
- Functions for Managing Parameter Block
- slapi_pblock_get()
- slapi_pblock_new()
- Functions for Handling Passwords
- slapi_is_encoded()
- slapi_add_pwd_control()
- slapi_pwpolicy_make_response_control()
- Functions for Managing RDN
- slapi_rdn_add()
- slapi_rdn_compare()
- slapi_rdn_contains()
- slapi_rdn_contains_attr()
- slapi_rdn_done()
- slapi_rdn_get_first()
- slapi_rdn_get_index()
- slapi_rdn_get_next()
- slapi_rdn_get_num_components()
- slapi_rdn_get_rdn()
- slapi_rdn_init()
- slapi_rdn_init_rdn()
- slapi_rdn_init_sdn()
- slapi_rdn_new()
- slapi_rdn_new_dn()
- slapi_rdn_new_sdn()
- slapi_rdn_remove()
- slapi_rdn_remove_attr()
- slapi_rdn_remove_index()
- slapi_rdn_set_rdn()
- slapi_rdn_set_sdn()
- slapi_role_check()
- slapi_moddn_get_newdn()
- slapi_sdn_add_rdn()
- slapi_sdn_copy()
- slapi_sdn_done()
- slapi_sdn_free()
- slapi_sdn_get_backend_parent()
- slapi_sdn_get_ndn()
- slapi_sdn_get_ndn_len()
- slapi_sdn_get_rdn()
- slapi_sdn_is_rdn_component()
- slapi_sdn_isgrandparent()
- slapi_sdn_isparent()
- slapi_sdn_issuffix()
- slapi_sdn_new_dn_byref()
- slapi_sdn_new_dn_byval()
- slapi_sdn_new_ndn_byref()
- slapi_sdn_new_ndn_byval()
- slapi_sdn_scope_test()
- slapi_sdn_set_dn_byref()
- slapi_sdn_set_dn_byval()
- slapi_sdn_set_ndn_byref()
- slapi_sdn_set_ndn_byval()
- slapi_sdn_set_parent()
- Functions for Sending Entries and Results to the Client
- slapi_send_ldap_referral()
- slapi_send_ldap_result()
- slapi_send_ldap_search_entry()
- Functions Related to UTF-8
- slapi_has8thBit()
- slapi_utf8casecmp()
- slapi_utf8ncasecmp()
- slapi_utf8isLower()
- slapi_utf8isUpper()
- slapi_utf8StrToLower()
- slapi_utf8StrToUpper()
- slapi_utf8ToLower()
- slapi_utf8ToUpper()
- Functions for Handling Values
- slapi_value_compare()
- slapi_value_dup()
- slapi_value_get_berval()
- slapi_value_get_int()
- slapi_value_get_long()
- slapi_value_get_string()
- slapi_value_get_uint()
- slapi_value_init()
- slapi_value_init_berval()
- slapi_value_init_string_passin()
- slapi_value_new()
- slapi_value_new_string()
- slapi_value_new_string_passin()
- slapi_value_new_value()
- slapi_value_set()
- slapi_value_set_berval()
- slapi_value_set_int()
- slapi_value_set_string()
- slapi_value_set_string_passin()
- slapi_value_set_value()
- Functions for Handling Valueset
- slapi_valueset_add_value_ext()
- slapi_valueset_count()
- slapi_valueset_done()
- slapi_valueset_first_value()
- slapi_valueset_free()
- slapi_valueset_new()
- slapi_valueset_next_value()
- slapi_valueset_set_valueset()
- slapi_vattr_list_attrs()
- slapi_vattr_attrs_free()
- slapi_vattr_schema_check_type()
- slapi_vattr_values_free()
- slapi_vattr_values_get()
- slapi_vattr_values_get_ex()
- slapi_vattr_values_type_thang_get()
- Functions for Managing Locks and Synchronization
- slapi_destroy_mutex()
- slapi_new_condvar()
- slapi_new_mutex()
- slapi_unlock_mutex()
- Functions for Managing Computed Attributes
- slapi_compute_add_evaluator()
- compute_rewrite_search_filter()
- Functions for Manipulating Bits
- slapi_isbitset_uchar()
- slapi_setbit_int()
- slapi_unsetbit_int()
- slapi_unsetbit_uchar()
- slapi_get_object_extension()
- slapi_register_object_extension()
- slapi_set_object_extension()
- slapi_op_reserved()
- slapi_operation_set_flag()
- slapi_operation_clear_flag()
- Functions for Registering Additional Plug-ins
- slapi_register_plugin()
- Parameters for Registering Plug-in Functions
- Post-Operation/Data Notification Plug-ins
- Matching Rule Plug-ins
- Entry Plug-ins
- Information about the Database
- Information about the Connection
- Information about the Operation
- Information about Extended Operations
- Information about Access Control Lists
- Information about the Plug-in
- Types of Plug-ins
- Version Information
- Attribute Names
- Attribute Comparisons
- Parameters for the Bind Function
- Parameters Passed to the Search Function
- Parameters for Executing the Search
- Parameters that Convert Strings to Entries
- Parameters for the Add Function
- Parameters for the Compare Function
- Parameters for the Delete Function
- Parameters for the Modify RDN Function
- Parameters for the Abandon Function
- Query Operators in Extensible Match Filters
- Pre-Operation Plug-ins
- Information about Operations
- Information about Backend State Change
- Parameters for LDAP Operations
- Parameters for Generating LDIF Strings
- Parameters for Filters
- Parameters for Password Storage
- Parameter for Binder-Based Resource Limits
- status codes for resource limits
Related products
DIRECTORY SERVER 7.1DIRECTORY SERVER 7.1 SP7 - SDIRECTORY SERVER 7.1 - DEPLOYMENTDIRECTORY SERVER 7.1 - ADMINISTRATORDIRECTORY SERVER 8.0DIRECTORY SERVER 8.1 - 11-01-2010DIRECTORY SERVER 8.1 - USING THE ADMIN SERVERDIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATIONDIRECTORY SERVER 2.0 - GATEWAYDIRECTORY SERVER 8.1 - USING RED HAT CONSOLE 4-28-2008Red Hat categories
More Red Hat categoriesmanualsdatabase
Your AI-powered manual search engine