Before you can test the plug-in with the ldapsearch command, you must register the plug-in with Directory Server.
If you have not already done so, build the example plug-in library and activate both plug-in informational logging and the example plug-in.
Build the plug-in.
Hint Use install-path/examples/Makefile or install-path/examples/Makefile64.
Configure Directory Server to log plug-in informational messages and load the plug-in.
Hint Use the commands specified in the comments at the outset of the plug-in source file.
Restart Directory Server.
$ dsadm restart instance-path
Register the computed attribute plug-in with Directory Server.
Run a search on the root DSE.
$ ldapsearch -h localhost -p 1389 -b "" -s base "(objectclass=*)" currentTime version: 1 dn: currentTime: Fri Feb 17 09:30:28 2006