Manuals database logo
manualsdatabase
Your AI-powered manual search engine

Red Hat DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS manuals

DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS first page preview

DIRECTORY SERVER 7.1 - PLUG-IN PROGRAMMERS

Brand: Red Hat | Category: Server
Table of contents
  1. Table Of Contents
  2. Table Of Contents
  3. Table Of Contents
  4. Table Of Contents
  5. Table Of Contents
  6. Table Of Contents
  7. Table Of Contents
  8. Table Of Contents
  9. Table Of Contents
  10. Table Of Contents
  11. Table Of Contents
  12. Table Of Contents
  13. Table Of Contents
  14. Table Of Contents
  15. Table Of Contents
  16. Table Of Contents
  17. Table Of Contents
  18. Table Of Contents
  19. What You Should Already Know
  20. document conventions
  21. where to find directory server information
  22. Where to Find Directory Server Information
  23. Part 1 Introduction to Directory Server Plug-ins
  24. Calling Directory Server Plug-in Functions
  25. How Directory Server Plug-ins Work
  26. Types of Directory Server Plug-ins
  27. Including the API Header File
  28. Working with Parameter Blocks
  29. Plug-in Return Values
  30. specifying directory server compatibility
  31. Returning a Value to the Directory Server
  32. Plug-in Dependencies
  33. Plug-in Type Dependencies
  34. Summary of Plug-in Directives
  35. Loading the Plug-in Configuration File
  36. Setting the Log Level of the Server
  37. Writing the Plug-in Example
  38. Compiling the Plug-in Example
  39. Registering the Plug-in Example
  40. Part 2 Basic Plug-in Programming Techniques
  41. logging messages
  42. adding notes to access log entries
  43. sending data to the client
  44. Creating a New Entry
  45. Getting and Setting the DN of an Entry
  46. Finding a Specific Attribute in an Entry
  47. Determining If a DN Is the Root DN
  48. Working with Search Filters
  49. Determining If an Entry Matches a Filter
  50. Getting the Search Criteria
  51. Converting a String to a Filter
  52. checking passwords
  53. How Pre/Post-Operation Plug-ins Work
  54. Types of Pre-Operation and Post-Operation Functions
  55. Types of Post-Operation Functions
  56. Registering Pre/Post-Operation Functions
  57. Specifying Start and Close Functions
  58. Processing an LDAP Bind Operation
  59. Getting and Setting Parameters for the Bind Operation
  60. Processing an LDAP Search Operation
  61. Iterating through Candidates
  62. Chapter 7 Defining Functions for LDAP Operations
  63. Processing an LDAP Add Operation
  64. Processing an LDAP Modify Operation
  65. Processing an LDAP Modify RDN Operation
  66. Processing an LDAP Delete Operation
  67. Processing an LDAP Abandon Operation
  68. Understanding Authentication Methods
  69. How the Directory Server Identifies Clients
  70. Writing Your Own Authentication Plug-in
  71. Defining Your Authentication Function
  72. Getting the Entry and Checking the Credentials
  73. What to Do If Authentication Fails
  74. Registering the SASL Mechanism
  75. Example of a Pre-Operation Bind Plug-in
  76. Example of an Initialization Function
  77. Registering the Plug-in
  78. Part 3 Advanced Programming Techniques
  79. How Entry Store/Fetch Plug-ins Work
  80. Writing Entry Store/Fetch Functions
  81. Registering Entry Store/Fetch Functions
  82. How Extended Operation Plug-ins Work
  83. Writing Extended Operation Functions
  84. Registering Extended Operation Functions
  85. Chapter 10 Writing Extended Operation Plug-ins
  86. Understanding Matching Rules
  87. Extensible Match Filters
  88. Extensible Match Filters in the Directory Server
  89. How Matching Rules Are Identified
  90. How the Server Associates Plug-ins with OIDs
  91. Finding a Plug-in for Searching
  92. How the Server Uses Parameter Blocks
  93. How the Server Updates the Index
  94. Writing the Indexer Factory Function
  95. Getting and Setting Parameters in Indexer Factory Functions
  96. Writing the Indexer Function
  97. Getting and Setting Parameters in Indexer Functions
  98. How the Server Handles the Filter
  99. Query Operators in Matching Rules
  100. Writing a Filter Factory Function
  101. Getting and Setting Parameters in Filter Factory Functions
  102. Writing a Filter Index Function
  103. Getting and Setting Parameters in Filter Index Functions
  104. Writing a Filter Matching Function
  105. Handling Sorting by Matching Rules
  106. Writing a Destructor Function
  107. About Distributing Flat Namespaces
  108. Creating a Distribution Function
  109. Adding the Distribution Function to Your Directory
  110. Using the Console
  111. Adding Distribution Logic to a Suffix
  112. Custom Distribution Checklist
  113. Installing Directory Server
  114. Installing Two Instances of Directory Server
  115. Enabling the DIOP Feature in Directory Server
  116. Using the DIOP Feature
  117. Sample DIOP Plug-in
  118. Debugging the Plug-in
  119. Bypassing Access Control Checks
  120. Part 4 Reference
  121. Summary of Data Types and Structures
  122. berval
  123. computed_attr_context
  124. LDAPMod
  125. mrFilterMatchFn
  126. plugin_referral_entry_callback
  127. plugin_result_callback
  128. plugin_search_entry_callback
  129. send_ldap_result_fn_ptr_t
  130. send_ldap_search_entry_fn_ptr_t
  131. Slapi_Attr
  132. Slapi_Backend
  133. slapi_backend_state_change_fnptr
  134. Slapi_ComponentID
  135. slapi_compute_output_t
  136. Slapi_Connection
  137. Slapi_DN
  138. Slapi_Entry
  139. Slapi_Filter
  140. Slapi_MatchingRuleEntry
  141. Slapi_Mod
  142. Slapi_Mods
  143. Slapi_Mutex
  144. Slapi_Operation
  145. Slapi_PluginDesc
  146. Slapi_RDN
  147. Slapi_UniqueID
  148. Slapi_ValueSet
  149. see also
  150. Distribution Routines
  151. distribution_plugin_entry_point()
  152. Functions for Access Control
  153. slapi_acl_check_mods()
  154. slapi_acl_verify_aci_syntax()
  155. Functions for Internal Operations and Plug-in Callback
  156. slapi_delete_internal_pb()
  157. slapi_free_search_results_internal()
  158. slapi_modify_internal_pb()
  159. slapi_modrdn_internal_pb()
  160. slapi_search_internal_get_entry()
  161. slapi_search_internal_pb()
  162. Functions for Setting Internal Operation Flags
  163. slapi_add_entry_internal_set_pb()
  164. slapi_add_internal_set_pb()
  165. slapi_delete_internal_set_pb()
  166. slapi_modify_internal_set_pb()
  167. slapi_rename_internal_set_pb()
  168. slapi_search_internal_set_pb()
  169. slapi_seq_internal_callback_pb()
  170. slapi_seq_internal_set_pb()
  171. functions for handling attributes
  172. slapi_attr_add_value()
  173. slapi_attr_basetype()
  174. slapi_attr_dup()
  175. slapi_attr_flag_is_set()
  176. slapi_attr_get_bervals_copy()
  177. slapi_attr_get_flags()
  178. slapi_attr_get_numvalues()
  179. slapi_attr_get_type()
  180. slapi_attr_get_valueset()
  181. slapi_attr_init()
  182. slapi_attr_next_value()
  183. slapi_attr_set_valueset()
  184. slapi_attr_syntax_normalize()
  185. slapi_attr_type_cmp()
  186. slapi_attr_types_equivalent()
  187. slapi_attr_value_cmp()
  188. slapi_attr_value_find()
  189. slapi_valueset_set_from_smod()
  190. slapi_be_addsuffix()
  191. slapi_be_exist()
  192. slapi_be_get_instance_info()
  193. slapi_be_get_readonly()
  194. slapi_be_getsuffix()
  195. slapi_be_is_flag_set()
  196. slapi_be_logchanges()
  197. slapi_be_new()
  198. slapi_be_select()
  199. slapi_be_select_by_instance_name()
  200. slapi_be_set_instance_info()
  201. slapi_be_setentrypoint()
  202. slapi_get_first_suffix()
  203. slapi_get_next_backend()
  204. slapi_get_next_suffix()
  205. slapi_is_root_suffix()
  206. slapi_register_backend_state_change()
  207. Functions for Dealing with Controls
  208. slapi_build_control()
  209. slapi_build_control_from_berval()
  210. slapi_control_present()
  211. slapi_dup_control()
  212. slapi_get_supported_controls_copy()
  213. slapi_register_supported_control()
  214. Functions for Syntax Plug-in
  215. slapi_call_syntax_assertion2keys_sub_sv()
  216. slapi_call_syntax_values2keys_sv()
  217. Functions for Managing Memory
  218. slapi_ch_array_free()
  219. slapi_ch_bvecdup()
  220. slapi_ch_calloc()
  221. slapi_ch_free()
  222. slapi_ch_malloc()
  223. slapi_ch_realloc()
  224. slapi_ch_smprintf()
  225. Functions for Managing DNs
  226. slapi_add_auth_response_control()
  227. slapi_dn_beparent()
  228. slapi_dn_isbesuffix()
  229. slapi_dn_isparent()
  230. slapi_dn_issuffix()
  231. slapi_dn_normalize()
  232. slapi_dn_normalize_case()
  233. slapi_dn_parent()
  234. slapi_dn_plus_rdn()
  235. Functions for Managing Entries
  236. slapi_entry2str()
  237. slapi_entry2str_with_options()
  238. slapi_entry_add_rdn_values()
  239. slapi_entry_add_string()
  240. slapi_entry_add_values_sv()
  241. slapi_entry_add_valueset()
  242. slapi_entry_alloc()
  243. slapi_entry_attr_delete()
  244. slapi_entry_attr_get_bool()
  245. slapi_entry_attr_get_charptr()
  246. slapi_entry_attr_get_int()
  247. slapi_entry_attr_get_long()
  248. slapi_entry_attr_get_uint()
  249. slapi_entry_attr_has_syntax_value()
  250. slapi_entry_attr_merge_sv()
  251. slapi_entry_attr_replace_sv()
  252. slapi_entry_attr_set_int()
  253. slapi_entry_attr_set_long()
  254. slapi_entry_attr_set_ulong()
  255. slapi_entry_delete_values_sv()
  256. slapi_entry_dup()
  257. slapi_entry_first_attr()
  258. slapi_entry_free()
  259. slapi_entry_get_dn_const()
  260. slapi_entry_get_ndn()
  261. slapi_entry_get_sdn_const()
  262. slapi_entry_get_uniqueid()
  263. slapi_entry_init()
  264. slapi_entry_merge_values_sv()
  265. slapi_entry_next_attr()
  266. slapi_entry_rdn_values_present()
  267. slapi_entry_schema_check()
  268. slapi_entry_set_sdn()
  269. slapi_entry_set_uniqueid()
  270. slapi_entry_size()
  271. slapi_is_rootdse()
  272. Functions Related to Entry Flags
  273. slapi_entry_flag_is_set()
  274. Functions for Dealing with Filters
  275. slapi_filter_apply()
  276. slapi_filter_compare()
  277. slapi_filter_dup()
  278. slapi_filter_get_attribute_type()
  279. slapi_filter_get_ava()
  280. slapi_filter_get_choice()
  281. slapi_filter_get_subfilt()
  282. slapi_filter_get_type()
  283. slapi_filter_join()
  284. slapi_filter_join_ex()
  285. slapi_filter_list_first()
  286. slapi_filter_list_next()
  287. slapi_filter_test()
  288. slapi_filter_test_ext()
  289. slapi_filter_test_simple()
  290. slapi_find_matching_paren()
  291. slapi_vattr_filter_test()
  292. Functions Specific to Extended Operation
  293. Functions Specific to Bind Methods
  294. slapi_register_supported_saslmechanism()
  295. slapi_ldap_init()
  296. slapi_ldap_unbind()
  297. slapi_log_error()
  298. slapi_is_loglevel_set()
  299. Functions for Handling Matching Rules
  300. slapi_berval_cmp()
  301. slapi_matchingrule_get()
  302. slapi_matchingrule_new()
  303. slapi_matchingrule_register()
  304. slapi_matchingrule_unregister()
  305. slapi_mr_indexer_create()
  306. Functions for LDAPMod Manipulation
  307. slapi_entry2mods()
  308. slapi_mod_add_value()
  309. slapi_mod_done()
  310. slapi_mod_free()
  311. slapi_mod_get_first_value()
  312. slapi_mod_get_ldapmod_passout()
  313. slapi_mod_get_next_value()
  314. slapi_mod_get_operation()
  315. slapi_mod_init()
  316. slapi_mod_init_byref()
  317. slapi_mod_init_passin()
  318. slapi_mod_new()
  319. slapi_mod_remove_value()
  320. slapi_mod_set_type()
  321. slapi_mods_add()
  322. slapi_mods_add_ldapmod()
  323. slapi_mods_add_mod_values()
  324. slapi_mods_add_smod()
  325. slapi_mods_add_modbvps()
  326. slapi_mods_done()
  327. slapi_mods_dump()
  328. slapi_mods_free()
  329. slapi_mods_get_first_smod()
  330. slapi_mods_get_ldapmods_byref()
  331. slapi_mods_get_next_mod()
  332. slapi_mods_get_next_smod()
  333. slapi_mods_get_num_mods()
  334. slapi_mods_init_byref()
  335. slapi_mods_insert_after()
  336. slapi_mods_insert_at()
  337. slapi_mods_insert_before()
  338. slapi_mods_insert_smod_before()
  339. slapi_mods_iterator_backbone()
  340. slapi_mods_new()
  341. Functions for Monitoring Operations
  342. slapi_op_get_type()
  343. Functions for Managing Parameter Block
  344. slapi_pblock_get()
  345. slapi_pblock_new()
  346. Functions for Handling Passwords
  347. slapi_is_encoded()
  348. slapi_add_pwd_control()
  349. slapi_pwpolicy_make_response_control()
  350. Functions for Managing RDN
  351. slapi_rdn_add()
  352. slapi_rdn_compare()
  353. slapi_rdn_contains()
  354. slapi_rdn_contains_attr()
  355. slapi_rdn_done()
  356. slapi_rdn_get_first()
  357. slapi_rdn_get_index()
  358. slapi_rdn_get_next()
  359. slapi_rdn_get_num_components()
  360. slapi_rdn_get_rdn()
  361. slapi_rdn_init()
  362. slapi_rdn_init_rdn()
  363. slapi_rdn_init_sdn()
  364. slapi_rdn_new()
  365. slapi_rdn_new_dn()
  366. slapi_rdn_new_sdn()
  367. slapi_rdn_remove()
  368. slapi_rdn_remove_attr()
  369. slapi_rdn_remove_index()
  370. slapi_rdn_set_rdn()
  371. slapi_rdn_set_sdn()
  372. slapi_role_check()
  373. slapi_moddn_get_newdn()
  374. slapi_sdn_add_rdn()
  375. slapi_sdn_copy()
  376. slapi_sdn_done()
  377. slapi_sdn_free()
  378. slapi_sdn_get_backend_parent()
  379. slapi_sdn_get_ndn()
  380. slapi_sdn_get_ndn_len()
  381. slapi_sdn_get_rdn()
  382. slapi_sdn_is_rdn_component()
  383. slapi_sdn_isgrandparent()
  384. slapi_sdn_isparent()
  385. slapi_sdn_issuffix()
  386. slapi_sdn_new_dn_byref()
  387. slapi_sdn_new_dn_byval()
  388. slapi_sdn_new_ndn_byref()
  389. slapi_sdn_new_ndn_byval()
  390. slapi_sdn_scope_test()
  391. slapi_sdn_set_dn_byref()
  392. slapi_sdn_set_dn_byval()
  393. slapi_sdn_set_ndn_byref()
  394. slapi_sdn_set_ndn_byval()
  395. slapi_sdn_set_parent()
  396. Functions for Sending Entries and Results to the Client
  397. slapi_send_ldap_referral()
  398. slapi_send_ldap_result()
  399. slapi_send_ldap_search_entry()
  400. Functions Related to UTF-8
  401. slapi_has8thBit()
  402. slapi_utf8casecmp()
  403. slapi_utf8ncasecmp()
  404. slapi_utf8isLower()
  405. slapi_utf8isUpper()
  406. slapi_utf8StrToLower()
  407. slapi_utf8StrToUpper()
  408. slapi_utf8ToLower()
  409. slapi_utf8ToUpper()
  410. Functions for Handling Values
  411. slapi_value_compare()
  412. slapi_value_dup()
  413. slapi_value_get_berval()
  414. slapi_value_get_int()
  415. slapi_value_get_long()
  416. slapi_value_get_string()
  417. slapi_value_get_uint()
  418. slapi_value_init()
  419. slapi_value_init_berval()
  420. slapi_value_init_string_passin()
  421. slapi_value_new()
  422. slapi_value_new_string()
  423. slapi_value_new_string_passin()
  424. slapi_value_new_value()
  425. slapi_value_set()
  426. slapi_value_set_berval()
  427. slapi_value_set_int()
  428. slapi_value_set_string()
  429. slapi_value_set_string_passin()
  430. slapi_value_set_value()
  431. Functions for Handling Valueset
  432. slapi_valueset_add_value_ext()
  433. slapi_valueset_count()
  434. slapi_valueset_done()
  435. slapi_valueset_first_value()
  436. slapi_valueset_free()
  437. slapi_valueset_new()
  438. slapi_valueset_next_value()
  439. slapi_valueset_set_valueset()
  440. slapi_vattr_list_attrs()
  441. slapi_vattr_attrs_free()
  442. slapi_vattr_schema_check_type()
  443. slapi_vattr_values_free()
  444. slapi_vattr_values_get()
  445. slapi_vattr_values_get_ex()
  446. slapi_vattr_values_type_thang_get()
  447. Functions for Managing Locks and Synchronization
  448. slapi_destroy_mutex()
  449. slapi_new_condvar()
  450. slapi_new_mutex()
  451. slapi_unlock_mutex()
  452. Functions for Managing Computed Attributes
  453. slapi_compute_add_evaluator()
  454. compute_rewrite_search_filter()
  455. Functions for Manipulating Bits
  456. slapi_isbitset_uchar()
  457. slapi_setbit_int()
  458. slapi_unsetbit_int()
  459. slapi_unsetbit_uchar()
  460. slapi_get_object_extension()
  461. slapi_register_object_extension()
  462. slapi_set_object_extension()
  463. slapi_op_reserved()
  464. slapi_operation_set_flag()
  465. slapi_operation_clear_flag()
  466. Functions for Registering Additional Plug-ins
  467. slapi_register_plugin()
  468. Parameters for Registering Plug-in Functions
  469. Post-Operation/Data Notification Plug-ins
  470. Matching Rule Plug-ins
  471. Entry Plug-ins
  472. Information about the Database
  473. Information about the Connection
  474. Information about the Operation
  475. Information about Extended Operations
  476. Information about Access Control Lists
  477. Information about the Plug-in
  478. Types of Plug-ins
  479. Version Information
  480. Attribute Names
  481. Attribute Comparisons
  482. Parameters for the Bind Function
  483. Parameters Passed to the Search Function
  484. Parameters for Executing the Search
  485. Parameters that Convert Strings to Entries
  486. Parameters for the Add Function
  487. Parameters for the Compare Function
  488. Parameters for the Delete Function
  489. Parameters for the Modify RDN Function
  490. Parameters for the Abandon Function
  491. Query Operators in Extensible Match Filters
  492. Pre-Operation Plug-ins
  493. Information about Operations
  494. Information about Backend State Change
  495. Parameters for LDAP Operations
  496. Parameters for Generating LDIF Strings
  497. Parameters for Filters
  498. Parameters for Password Storage
  499. Parameter for Binder-Based Resource Limits
  500. status codes for resource limits
Red Hat categories
More Red Hat categories
Manuals database logo
manualsdatabase
Your AI-powered manual search engine