summaryrefslogtreecommitdiff
path: root/debian/patches/patch.ldap.m4
diff options
context:
space:
mode:
authorRichard A Nelson (Rick) <cowboy@debian.org>2000-05-25 17:00:00 -0500
committerAndreas Beckmann <debian@abeckmann.de>2012-10-01 19:58:40 +0200
commite138436bd1943587e16b03505f8b8cc0307c4211 (patch)
tree23d7165ea5ea99bb43ae1568f4b74d5e59a3bddb /debian/patches/patch.ldap.m4
parent4e2c4cdcd62c4ab1d5e884e8afaa0bbe1b981e42 (diff)
downloadsendmail-debian/8.9.3-23.tar.gz
Imported Debian patch 8.9.3-23debian/8.9.3-23
Diffstat (limited to 'debian/patches/patch.ldap.m4')
-rw-r--r--debian/patches/patch.ldap.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/patch.ldap.m4 b/debian/patches/patch.ldap.m4
new file mode 100644
index 0000000..823bc13
--- /dev/null
+++ b/debian/patches/patch.ldap.m4
@@ -0,0 +1,17 @@
+*** ../../cf/m4/proto.m4 Thu Apr 22 18:23:04 1999
+--- proto.m4 Fri Apr 23 11:41:47 1999
+***************
+*** 870,875 ****
+--- 870,881 ----
+ R< $* . > $+ $: < $1 > $2 strip extra dot',
+ `dnl')
+
++ ifdef(`_LDAP_MAP_', `dnl
++ # Now attempt to lookup in ldap (ldap map)
++ R< $L > $+ $: < $L > $( ldap $1 $) look up user
++ R< $* > $+ @ $+ $: < $3 > $2 Rewrite if forward',
++ `dnl')
++
+ # see if we have a relay or a hub
+ R< > $+ $: < $H > $1 try hub
+ R< > $+ $: < $R > $1 try relay