Ldapsearch Wrapper


March 27, 2007 8:41 am




Download ldapsearch.zip

The ldapsearch wrapper is an HTML application which adds a GUI front end to the ldapsearch executable, providing an easy, form based, interface for searches and configuration management.

The Administrator must have access to Novell’s LDAPSEARCH.EXE. This exe is not included. It can be found in ConsoleOne\1.2\bin directory in most default installations of the ConsoleOne application.

I wrote this HTA to expose the functionality of the ldapsearch executable to administrators who want to leverage the ldapsearch tool without having to launch ConsoleOne, and without the encumbrance of a sometimes complex command line string.

ldapsearch.hta only runs on Windows, and requires access to Novell’s ldapsearch executable (available within the ConsoleOne /bin directory). It assumes a %TEMP% variable exists in your environment (it will use %TEMP% as a working directory). I hardcoded the HTA to always use SSL, so a certificate file will be required.

Once saved to the local PC, double-click to run. If you’ve never run ldapsearch.hta before it will alert you and create a new ldapsearch.cfg in the same directory path as the hta. This default config file populates the application config with appropriate example config information. Once in the application, an administrator can access the ‘Config’ option and configure the application with the specific details required for his environment. The modified config can then be applied to the current session only, or can saved and made permanent. For more details access ‘Help’.

I recommend against manually editing the ldapsearch.cfg file. If you inadvertently corrupt this file, delete it and the application will create a new one automatically at next start or reload.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...

Categories: ConsoleOne, Cool Tools, eDirectory

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.