Prev | Current Page 283 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


3.4.74 USING_NETSCAPE_LDAP
Use Netscape??™s ldap libraries (V8.10 and above) Tune with confENVDEF
This compile-time macro has been decprecated as of V8.12, in favor of using the SM_
CONF_LDAP_MEMFREE compile-time macro (?§3.4.53 on page 139).
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 (?§3.4.19 on page 119) like this:
APPENDDEF(`confMAPDEF', `-DLDAPMAP')
If you are running a precompiled sendmail binary, you can use the -d0.10 debugging
command-line switch (?§15.7.3 on page 543) to determine whether USING_NETSCAPE_
LDAP support is defined (if it appears in the list, it is defined).
3.4.75 USERDB
Support the User Database Tune with confMAPDEF
The User Database (?§23.


Pages:
271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
życzenia z okazji urodzin katalog stron pozycjonowanie dieta light wierszyki