Chapter 1. An Overview of Directory Server Plug-ins

This chapter introduces you to Red Hat Directory Server plug-ins and discusses the different types of plug-ins that you can write.
If you have already written a plug-in for Directory Server, refer to Section 1.4, “Using Directory Server Plug-in APIs” for information on migrating your plug-in to the latest version of Directory Server.

1.1. About Directory Server Plug-ins

If you want to extend the capabilities of the Directory Server, you can write your own Directory Server plug-in. A server plug-in is a shared object or library that contains custom functions that you write.
By writing your own plug-in functions, you can extend the functionality of the Directory Server. The following are some examples of what you can do with Directory Server plug-ins:
  • You can design an action that the Directory Server performs before the server processes an LDAP action. For example, you can write a custom function to validate data before the server performs an LDAP operation on the data.
  • You can design an action that the Directory Server performs after the server successfully completes an LDAP operation. For example, you can send mail to a client after an LDAP operation is successfully completed.
  • You can define extended operations, as defined in the LDAP v3 protocol.
  • You can provide alternative matching rules when comparing certain attribute values.