[debian-edu-commits] debian-edu/pkg-team/ 03/04: debian/patches: Add 0009_support-ldapi-uris.patch. Accept ldapi:/// style URIs. (Closes: #792120).

Mike Gabriel sunweaver at debian.org
Thu Jul 16 07:00:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository ldap2zone.

commit 109e9496f5fd292717201704d24496f6844da35c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Jul 16 08:51:06 2015 +0200

    debian/patches: Add 0009_support-ldapi-uris.patch. Accept ldapi:/// style URIs. (Closes: #792120).
---
 debian/patches/0009_support-ldapi-uris.patch | 19 +++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 20 insertions(+)

diff --git a/debian/patches/0009_support-ldapi-uris.patch b/debian/patches/0009_support-ldapi-uris.patch
new file mode 100644
index 0000000..b0e2631
--- /dev/null
+++ b/debian/patches/0009_support-ldapi-uris.patch
@@ -0,0 +1,19 @@
+commit 23c0324685aa4db47c5b30e7a16cceb8c3297c33
+Author: Petter Reinholdtsen <pere at hungry.com>
+Date:   Sun Jul 12 09:27:12 2015 +0200
+
+    Accept ldapi style URLs too (Closes: #792120).
+
+diff --git a/ldap2bind b/ldap2bind
+index 89f44bf..452cfd3 100755
+--- a/ldap2bind
++++ b/ldap2bind
+@@ -3,7 +3,7 @@
+ [ -r /etc/default/ldap2zone ] && . /etc/default/ldap2zone
+ 
+ case "$LDAP_URI" in 
+-ldap://*|ldaps://*) ;; 
++ldap://*|ldaps://*|ldapi://*) ;;
+  *) LDAP_URI="ldap://${LDAP_URI}" ;; 
+  esac
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 3c3c309..d61e51f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0006_avoid-signed-unsigned-warning.patch
 0007_hardening.patch
 0008_unused-variables.patch
+0009_support-ldapi-uris.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/ldap2zone.git



More information about the debian-edu-commits mailing list