summaryrefslogtreecommitdiff
path: root/debian/patches/8.14/8.14.0.Beta4/ldap_url_search.p0
blob: 9d82eae88b03bdb5ca84436ccf41380746f6e96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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.0.Beta4/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 */