summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am1
-rw-r--r--contrib/README0
-rw-r--r--contrib/request-key.d/Makefile.am9
-rw-r--r--contrib/request-key.d/README7
-rw-r--r--contrib/request-key.d/cifs.idmap.conf.in1
-rw-r--r--contrib/request-key.d/cifs.spnego.conf.in1
6 files changed, 19 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
new file mode 100644
index 0000000..4d4916a
--- /dev/null
+++ b/contrib/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = request-key.d
diff --git a/contrib/README b/contrib/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/contrib/README
diff --git a/contrib/request-key.d/Makefile.am b/contrib/request-key.d/Makefile.am
new file mode 100644
index 0000000..5bda10d
--- /dev/null
+++ b/contrib/request-key.d/Makefile.am
@@ -0,0 +1,9 @@
+noinst_DATA = cifs.idmap.conf cifs.spnego.conf
+cifs.idmap.conf: cifs.idmap.conf.in
+ $(SED) 's,[@]sbindir@,$(sbindir),' $(srcdir)/$@.in > $@-t && mv $@-t $@
+
+cifs.spnego.conf: cifs.spnego.conf.in
+ $(SED) 's,[@]sbindir@,$(sbindir),' $(srcdir)/$@.in > $@-t && mv $@-t $@
+
+clean-local:
+ rm -f cifs.idmap.conf cifs.spnego.conf
diff --git a/contrib/request-key.d/README b/contrib/request-key.d/README
new file mode 100644
index 0000000..821f9ba
--- /dev/null
+++ b/contrib/request-key.d/README
@@ -0,0 +1,7 @@
+As of version 1.5.5, prior to opening /etc/request-key.conf, the
+request-key utility will look first in /etc/request-key.d for a file of
+the key type name plus ".conf". These files are example config files
+that distro packagers can use to have request-key autoconfigured to
+use the cifs utilities that are installed. Typically, distro packagers
+will want to drop the resulting .conf files into /etc/request-key.d.
+
diff --git a/contrib/request-key.d/cifs.idmap.conf.in b/contrib/request-key.d/cifs.idmap.conf.in
new file mode 100644
index 0000000..a0e25f1
--- /dev/null
+++ b/contrib/request-key.d/cifs.idmap.conf.in
@@ -0,0 +1 @@
+create cifs.idmap * * @sbindir@/cifs.idmap %k
diff --git a/contrib/request-key.d/cifs.spnego.conf.in b/contrib/request-key.d/cifs.spnego.conf.in
new file mode 100644
index 0000000..4ca47b0
--- /dev/null
+++ b/contrib/request-key.d/cifs.spnego.conf.in
@@ -0,0 +1 @@
+create cifs.spnego * * @sbindir@/cifs.upcall %k