A) Overview
--------------
LdapRegKey.exe is a simple console executable which can be run on a R2.x system to 
do some sanity checking on a couple of key LDAP registry key values.  In response to 
(....RCA Q00675501: Problem: Unable to log in to CallPilot Manager after upgrade from CP1.07).

B) Usage:
------------
i)  from DOS window run LdapRegKey (e.g. ->  A:\>LdapRegKey)
ii) the tool will prompt if the user wants help - type y for yes to this question which will give more info.

C) Data Elements
----------------------
Data 1-"HKEY_LOCAL_MACHINE/SOFTWARE/Nortel/MPCX/NMLDAPSRV" key LdapSuffix 
Data 2-"HKEY_LOCAL_MACHINE/SOFTWARE/Nortel/MPCX/NMLDAPClient" key DNSuffix
The two above should match in both syntax and length.

Data 3 and Data4-"HKEY_LOCAL_MACHINE/SOFTWARE/Nortel/MPCX/NMLDAPSRV" the 
"Enable CR Auth" and "Enable Login Auth" - should be set to "yes"

D) Implementation
-------------------------
Logic for items Data1 and Data2:

Check 1. Data1 == Data2

If  Check 1  fails, then
i)  output an example (e.g - dc=nortel,dc=ca")
ii) request user input
iii) write registry values (give user chance to acknowledge data before writing to registry)

Logic for items Data 3
Check 2. Data 3 = "yes"
If Check 2. fails, then
i) output failure, and
ii) write correct value into registry (show user reg key and new value)


Logic for item Data4
...same as Data3