summaryrefslogtreecommitdiff
path: root/debian/patches/patch.ldap.m4
diff options
context:
space:
mode:
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