DISCLAIMER: The information and links provided on this site are my personal notes, based on my limited experience installing, using, and deinstalling Oracle databases and application servers on a variety of computers using Windows NT/2000/XP operating systems. The installation and deinstallation procedures found here can cause irreversable loss of data and may damage your operating system. However, you are welcome to use them AT YOUR OWN RISK. I am in no way responsible for data you lose or operating systems you damage or destroy.

References

OracleŽ Internet Directory Administrator's Guide 10g (9.0.4) Example: Installing, Configuring, and Enabling a Customized Password Policy Plug-in

Background Information

Operating System: Windows XP/2000/2003 (32-bit)

Oracle Application Server 10g version: 9.0.4.2

Introduction

There are two problems with the pluginreg.dat file provided by Oracle for this example that prevent the plugin_add trigger from firing: orclpluginisreplace:0 is missing and the ### modify plugin ### section must appear at the top of the file. Below is the corrected version of the pluginreg.dat file:

### modify plugin ###
dn: cn=pre_mod_plugin,cn=plugin,cn=subconfigsubentry
objectclass:orclPluginConfig
objectclass:top
orclpluginname:pwd_plugin
orclplugintype:operational
orclplugintiming:pre
orclpluginldapoperation:ldapmodify
orclpluginenable:1
orclpluginversion:1.0.1
cn:pre_mod_plugin
orclpluginsubscriberdnlist:dc=com;o=IMC,c=US
orclpluginattributelist:userpassword
orclpluginisreplace:0

### add plugin ###
dn: cn=pre_add_plugin,cn=plugin,cn=subconfigsubentry
objectclass:orclPluginConfig
objectclass:top
orclpluginname:pwd_plugin
orclplugintype:operational
orclplugintiming:pre
orclpluginldapoperation:ldapadd
orclpluginenable:1
orclpluginversion:1.0.1
cn:pre_add_plugin
orclpluginsubscriberdnlist:dc=com;o=IMC,c=US
orclpluginattributelist:userpassword
orclpluginisreplace:0

NOTE: The empty line between the ### modify plugin ### and ### add plugin ### must be present for this plug-in to load correctly.

[Return to HowTos]

Valid XHTML 1.0!