This compile-time macro has been
decprecated as of V8.12, in favor of using the SM_CONF_LDAP_MEMFREE
compile-time macro (SM_...).
The Netscape LDAP libraries require that the return value from the
ldap_first_attribute( ) function and the return
value from the ldap_next_attribute( ) function
be freed after use by calling the ldap_memfree(
) function. Normally, this is not done because
sendmail expects the open source version of
LDAP. To enable this behavior for use with
Netscape's LDAP libraries, define this
USING_NETSCAPE_LDAP compile-time macro:
APPENDDEF(`confENVDEF', `-DUSING_NETSCAPE_LDAP=1')
Also note that some LDAP libraries are derived from the Netscape
version. These derivative libraries also need you to define this
compile-time macro.
Note that this compile-time macro does not enable LDAP all by itself.
Instead, you must also define the LDAPMAP compile-time macro (LDAPMAP) like this:
APPENDDEF(`confMAPDEF', `-DLDAPMAP')
If you are running a precompiled sendmail
binary, you can use the -d0.10 debugging
command-line switch (-d0.10) to determine if
USING_NETSCAPE_LDAP support is defined (if it appears in the list, it
is defined).