Index: ldap.c =================================================================== RCS file: /cvs/libsm/ldap.c,v retrieving revision 1.51 retrieving revision 1.53 diff -u -r1.51 -r1.53 --- ./sendmail-8.14.2/libsm/ldap.c 30 Oct 2003 23:11:12 -0000 1.51 +++ ldap.c 30 Oct 2003 23:33:10 -0000 1.53 @@ -1043,6 +1043,7 @@ NULL : lmap->ldap_attr), lmap->ldap_attrsonly); } +#if SM_CONF_LDAP_URL_SEARCH else if (rl->lr_type == SM_LDAP_ATTR_URL) { /* do new URL search */ @@ -1051,6 +1052,7 @@ lmap->ldap_attrsonly); newflags |= SM_LDAP_USE_ALLATTR; } +#endif /* SM_CONF_LDAP_URL_SEARCH */ else { /* unknown or illegal attribute type */