Sun Directory Server Enterprise Edition 7.0 Developer's Guide

ProcedureTo Generate a Bind Log Message

  1. Bind as Kirsten Vaughan (for example).

    $ ldapsearch -h localhost -p 1389 -b "dc=example,dc=com" \
     -D "uid=kvaughan,ou=people,dc=example,dc=com" -w bribery "(uid=*)"
  2. Search instance-path/logs/errors for the resulting message from the testpreop_bind() function.

    If you ignore housekeeping information for the entry, output similar to this appears:

    Target DN: uid=kvaughan,ou=people,dc=example,dc=com
    Authentication method: Simple authentication

    For a discussion of less trivial pre-bind plug-in functions, refer to Chapter 6, Handling Authentication Using Plug-Ins.