Register Sun Directory Server Password Synchronizer with Sun Directory Server
Use the Directory Server Management Console to register the Sun ONE Directory Server. To register the Sun Java System Directory Server, you must use the dsconf command-line tool that is shipped with the Sun Directory Server.
Parent topic:
Deploy Sun Directory Server Password Synchronizer
Register Sun ONE Directory Server 5.2
About this task
To register the plug-in, stop the Sun Directory Server. Add the following lines to the dse.ldif configuration file of the Sun Directory Server, by 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.2 nsslapd-pluginVendor: IBM nsslapd-pluginDescription: SDI plug-in for password synchronizationNote: The 64-bit Sun Directory Server, which is running on Solaris, searches for the 64-bit libraries in a directory under the specified path. For example, if you set the value of nsslapd-pluginPath in the configuration entry asnsslapd-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.soTherefore, on Solaris, the 64-bit binary for the Sun Directory Server Password Synchronizer is shipped in that folder. Note: You must avoid manually modifying the dse.ldif configuration file of the Sun Directory Server. Use the following steps to register the plug-in by importing the LDIF statements in the Directory Server console:
- Save the LDIF content in an LDIF file.
- Open the Directory Server instance in the Directory Server console.
- Go to the Tasks tab.
- Select Import LDIF.
- Browse to the location of the file.
- Select the Add only check box.
- Clear the Continue on error check box. Click OK.
- Restart the Directory Server to load the plug-in.
Sun Java System Directory Server Enterprise Edition 7.0
About this task
Ensure that the Directory Server is running. Use the following steps to register the plug-in:
Procedure
- Register the plug-in binary by changing the name of the binary depending on the platform such as sunpwsync.dll or libsunpwsync.so.
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"- Enable the plug-in.
dsconf enable-plugin access-options "IBM DI PassSync"- Restart the Directory Server to load the plug-in.
Results
Notes:
- You must replace the access-options placeholder with the access details and credentials that you use to connect to the Directory Server. For example, we can use the –p 1389 –-unsecured option if:
- The Directory Server is on the localhost.
- It accepts non-SSL connections on the port 1389.
- It uses the default administrator DN cn=Directory Manager.
For a list of options that the dsconf command-line tool supports, see http://www.oracle.com/technetwork/indexes/documentation/index.html.
- To unregister the plug-in, we can use the following command:
dsconf delete-plugin access-options "IBM DI PassSync"