12
debugging command-line switch.
3.4.56 SM_CONF_LDAP_INITIALIZE
Enable ldap_initialize(3) (V8.13 and above) Tune with confENVDEF
When sendmail is built withLDAPMAP defined (?§3.4.19 on page 119) LDAP database
maps will be available for use. If the LDAP library contains an ldap_initialize(3) routine,
and if this SM_CONF_LDAP_INITIALIZE macro is defined, ldap_initialize(3) will be
called if your LDAP server supports direct use of URIs.
Note that LDAP URIs can still be used even if SM_CONF_LDAP_INITIALIZE is not set,
but the scheme:// in (scheme://host:port/...) will be ignored. Therefore, if SM_CONF_
LDAP_INITIALIZE is not available, the scheme ldap:// is always used, and the schemes
ldaps:// and ldapi://, if used, may result in an error.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
144 | Chapter 3: Tune sendmail with Compile-Time Macros
For most LDAP libraries, SM_CONF_LDAP_INITIALIZE will be set properly for you.* But
in the event it is improperly set, you may define it with the following and then rebuild
sendmail:
APPENDDEF(`conf_libsm_ENVDEF??, `-DSM_CONF_LDAP_INITIALIZE?? )
3.4.57 SMTP
Enable SMTP (prior to V8.12) Tune with confENVDEF
Prior to V8.12, if you were running sendmail as a daemon, you needed to define SMTP to
enable mail transfers. If you didn??™t intend to run sendmail as a daemon, SMTP did not need
to be defined.
Pages:
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283