Review the information about ndsrep in Publisher Channel.
Make sure you have copied the necessary files for your platform, as described in Section 2.3, Copying Ndsrep and Notes.jar to the Required Locations.
(Windows only) Add c:\lotus\domino (or the appropriate Domino executable folder) to your system path, then reboot the computer.
Before trying to load ndsrep, make sure that the Identity Manager Driver for Lotus Notes has been started at least once.