/* 
 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 * Copyright 2007 Sun Microsystems, Inc. All Rights Reserved 
 * Use of this product is subject to license terms. 
 * Some preexisting portions Copyright 2001 Netscape Communications Corp.
 * All rights reserved.
 */
                   ----------------------------
                      Sample Server Plug-Ins
                       for Directory Server 
                   ----------------------------

This directory contains code for example server plug-ins intended for
use with Directory Server 11.1.1.3.0.

    NOTE: Before compiling the example plug-ins provided here, change
          server-specific data in the examples to apply to your
          installation.

Refer to the product documentation for details on building, loading
and using the example plug-ins provided here.

clients
-------
This directory contains the source code for example clients that you
can use to test the server plug-ins.  See the README file in that
directory for details.

Makefile.*, Makefile64.*
----------------------------------
Makefile for all supported platforms, 32 and 64 bit versions.
Copy and modify to suit your development environment.

computed.c
----------
This example demonstrates using a computed attribute.

dns.c
-----
This example demonstrates how to manipulate DNs.

entries.c
---------
This example demonstrates how to work with entries.

hello.c
-------
This basic example logs a famous informational message.

internal.c
----------
This example demonstrates how to perform internal operations.

pwdcheck.c
----------
This example demonstrates a trivial strong password check algorithm.

testbind.c
----------
This example demonstrates a pre-operation bind plug-in function that
handles authentication.  When processing an LDAP bind request, the
server calls this plug-in function before calling the database bind
function.

testentry.c
-----------
This example demonstrates an entry store plug-in function and an entry
fetch plug-in function.  You must be using the default database in
order for these plug-in functions to work.

testextendedop.c
----------------
This example demonstrates an extended operation plug-in function that
handles requests for the extended operation with the OID 1.2.3.4.  The
example should be used in conjunction with the example client in the
clients subdirectory.  The client request the extended operation
with the OID 1.2.3.4.

testpostop.c
------------
This example demonstrates post-operation plug-in functions.  These
functions are called after the server processes LDAP operations.  The
functions log changes to the directory in a change log file.

testpreop.c
-----------
This example demonstrates pre-operation plug-in functions.  These
functions are called before the server processes LDAP operations.

testpwdstore.c
--------------
This example demonstrates a password storage scheme plug-in with
trivial functions for encoding and comparing password attribute
values.

testsaslbind.c
--------------
This example demonstrates a pre-operation plug-in function that
implements a SASL mechanism.
