Modified p4authenticate.c to use the Microsoft LDAP API when WIN32 is defined, and
added LDAP_DEPRECATED flag for building with current versions of OpenLDAP when
WIN32 is not defined. Also added nice big generic disclaimer.
Building under Windows (with Visual Studio 2005):
(first rename to *.cpp)
c:\>cl /EHs p4authenticate.cpp /DWIN32 /link Wldap32.Lib
Building under *nix (with G++):
$ g++ -o LDAPauth p4authenticate.c -lldap