summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog40
-rw-r--r--debian/compat1
-rw-r--r--debian/control34
-rw-r--r--debian/copyright26
-rw-r--r--debian/install1
-rwxr-xr-xdebian/rules26
-rw-r--r--debian/source/format1
7 files changed, 129 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..99e4eb7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,40 @@
+slapd-service-passwords (0.5) unstable; urgency=medium
+
+ * pre_search: Fix objectClass name in filter string
+
+ -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Sat, 19 Nov 2016 21:56:50 +0100
+
+slapd-service-passwords (0.4) unstable; urgency=medium
+
+ * POST_BIND: Remove hook.
+ * pre_bind: Handle all binds and save extension data
+
+ -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Sat, 19 Nov 2016 19:11:31 +0100
+
+slapd-service-passwords (0.3) unstable; urgency=medium
+
+ * Use connection private data storage for gold status
+
+ -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Fri, 18 Nov 2016 19:56:18 +0100
+
+slapd-service-passwords (0.2) unstable; urgency=medium
+
+ * Fix Makefile
+ * Use new custom objectClass: splineAccount
+ * is_user: Add possibility to check for gold accounts
+ * is_service: Add possibility to check for gold services
+ * get_service_dn: Get the service dn from service name
+ * pre_bind: Check permissions for gold services
+ * pre_entry: Only return gold accounts for gold services
+ * pre_entry: Check for gold service even if a user is authed
+ * Get service_base_dn from the plugin arguments
+ * Fix version
+ * pre_search: Set filter to speed up the search for gold accounts
+
+ -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Thu, 17 Nov 2016 21:41:40 +0100
+
+slapd-service-passwords (0.1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Alexander Sulfrian <alex@spline.inf.fu-berlin.de> Wed, 24 Feb 2016 19:09:33 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..cff31f9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: slapd-service-passwords
+Section: net
+Priority: extra
+Maintainer: Alexander Sulfrian <alex@spline.inf.fu-berlin.de>
+Uploaders: Alexander Sulfrian <alex@spline.inf.fu-berlin.de>
+Standards-Version: 3.8.3
+Build-Depends: debhelper (>= 7.2.11), libldap2-dev, slapd
+Homepage: http://git.spline.inf.fu-berlin.de/accounts/ldap-plugin/
+Vcs-Browser: http://git.spline.inf.fu-berlin.de/accounts/ldap-plugin/
+Vcs-Git: git://git.spline.inf.fu-berlin.de/accounts/ldap-plugin
+
+Package: slapd-service-passwords
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}, slapd
+Description: SLAPI plugin to manage different passwords
+ This is a SLAPI plugin to manage different passwords for different
+ services without duplicating all the user information.
+ .
+ This plugins works, by prefixing the user dn with a virtual service
+ entry (during an authenticated search with a service account) and
+ removes this virtual prefix during bind and search requests to get
+ the user information.
+
+Package: slapd-service-passwords-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: slapd-service-passwords (= ${binary:Version}), ${misc:Depends}
+Description: debugging symbols for slapd-service-passwords
+ This is a SLAPI plugin to manage different passwords for different
+ services without duplicating all the user information.
+ .
+ This package contains the debugging symbols for
+ slapd-service-passwords..
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e9a2549
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,26 @@
+This work was packaged for Debian by:
+
+ Alexander Sulfrian <alex@spline.inf.fu-berlin.de>
+
+It was downloaded from:
+
+ http://git.spline.inf.fu-berlin.de/accounts/ldap-plugin/
+
+Upstream Author(s):
+
+ Alexander Sulfrian <alex@spline.inf.fu-berlin.de>
+
+Copyright:
+
+ Copyright (C) 2016 Alexander Sulfrian
+
+License:
+
+ as-is
+
+The Debian packaging is:
+
+ Copyright (C) 2016 Alexander Sulfrian <alex@spline.inf.fu-berlin.de>
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..e9168a2
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+service_passwords.so usr/lib/ldap/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c92378f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+OPENLDAP_SOURCE=debian/tmp/openldap-source/openldap
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ $(RM) -r $(OPENLDAP_SOURCE)
+ mkdir -p $(dir $(OPENLDAP_SOURCE))
+ cd $(dir $(OPENLDAP_SOURCE)); \
+ apt-get source slapd
+ mv $(dir $(OPENLDAP_SOURCE))openldap-*/ $(OPENLDAP_SOURCE)
+
+override_dh_auto_build:
+ dh_auto_build -- OPENLDAP_SOURCE=$(OPENLDAP_SOURCE)
+
+# debug package
+override_dh_strip:
+ dh_strip --dbg-package=slapd-service-passwords-dbg
+
+override_dh_auto_install:
+ dh_auto_install --destdir=debian/slapd-service-passwords
+
+override_dh_installdocs:
+ dh_installdocs --link-doc=slapd-service-passwords
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)