This section describes the steps required to install the plug-in on a Windows, UNIX or Linux platform.
To register the plug-in, stop Sun Directory Server and add the following to the Sun Directory Server configuration file dse.ldif, using the Directory Server Management Console:
dn: cn=IBM DI PassSync,cn=plugins,cn=config nsslapd-pluginPath: TDI_install_dir/pwd_plugins/sun/sunpwsync.dll nsslapd-pluginEnabled: on objectClass: top objectClass: nsSlapdPlugin objectClass: extensibleObject cn: IBM DI PassSync nsslapd-pluginType: object nsslapd-pluginInitfunc: PWSyncInit nsslapd-pluginarg0: TDI_install_dir/pwd_plugins/sun/pwsync.props nsslapd-pluginId: ibmdi.pwsync nsslapd-pluginVersion: 7.1 nsslapd-pluginVendor: IBM nsslapd-pluginDescription: IBM TDI plug-in for password synchronization
According to the SUN Directory Server Documentation, the 64-bit Sun DS server running on Solaris will search the 64-bit libraries in a directory under the specified path.
For example, if the value of nsslapd-pluginPath is set in the configuration entry as follows:
nsslapd-pluginPath: TDI_install_dir/pwd_plugins/sun/libsunpwsync_64.so
then a 64-bit Directory Server running in Solaris Operating Environment searches for a 64-bit plug-in library named: TDI_install_dir/pwd_plugins/sun/64/libsunpwsync_64.so
That is why on Solaris the 64-bit binary for the Sun Directory Server Password Synchronizer is shipped in that folder instead.
Generally we should avoid manually modifying the dse.ldif configuration file of the Sun Directory Server. We can register the plug-in by importing the above LDIF statements using the Directory Server Console like this:
Locate the dsconf command-line tool that ships with the Directory Server; it will be used to register the plug-in. Ensure the Directory Server is running. Execute the following steps (refer to the notes after the steps for the meaning of the access-options placeholder):
dsconf create-plugin <access options> -H "TDI_install_dir/pwd_plugins/sun/sunpwsync.dll" -F PWSyncInit -Y object -G "TDI_install_dir/pwd_plugins/sun/pwsync.props" "IBM DI PassSync"
dsconf set-plugin-prop access-options "IBM DI PassSync" "desc:IBM TDI plug-in for password synchronization"
dsconf set-plugin-prop access-options "IBM DI PassSync" vendor:IBM
dsconf set-plugin-prop access-options "IBM DI PassSync" version:7.1
dsconf enable-plugin access-options "IBM DI PassSync"
Notes:
For example, if the Directory Server is
located on the localhost, accepts non-SSL connections on port 1389
and the uses the default administrator DN cn=Directory Manager, we can use the following options:
For
a full list of options that dsconf supports refer to the
Sun documentation: http://docs.sun.com/app/docs/doc/819-0986/6n3chglmh?a=view.
-p 1389 --unsecured
dsconf delete-plugin access-options "IBM DI PassSync"
The directory plug-in part of the Sun Directory Server Password Synchronizer logs messages in the error log of the Sun Directory Server. By default messages from server plug-ins do not appear in the error log for performance reasons.
Perform the following steps to enable Sun Directory Server logging for plug-ins:
Perform the following steps to enable Sun Directory Server logging for plug-ins:
dsconf set-log-prop access-options error level:err-pluginsFor the meaning of the access-options placeholder see the notes in section Sun Java System Directory Server Enterprise Edition 6.0.
To query the current level of the error log run the following command:
dsconf get-log-prop access-options error level
The Sun Directory Server plug-in has a template configuration file installed at TDI_Install_dir/pwd_plugins/sun/pwsync.props. When the SunDS plug-in is initialized, it will expect that the configuration file is set as the last parameter of the plug-in's registration line. The plug-in then reads the file. Some of the parameters in that configuration file are shared between the plug-in and the Java Proxy. For a complete list of the supported properties, check out Password plug-ins common configuration and utilities.
The property listed below is specific for the Sun Directory Server Password Synchronizer: