summaryrefslogtreecommitdiff
path: root/debian/patches/8.14/8.14.3/ldap_url_search
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/8.14/8.14.3/ldap_url_search')
-rw-r--r--debian/patches/8.14/8.14.3/ldap_url_search24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/8.14/8.14.3/ldap_url_search b/debian/patches/8.14/8.14.3/ldap_url_search
new file mode 100644
index 0000000..088e071
--- /dev/null
+++ b/debian/patches/8.14/8.14.3/ldap_url_search
@@ -0,0 +1,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.3/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 */