diff options
author | Jeff Layton <jlayton@samba.org> | 2011-12-10 06:49:33 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2011-12-10 06:49:33 -0500 |
commit | 2a9738cefaf8a9496ff0683e18357b3548da0b28 (patch) | |
tree | 8df55b6787099bb63177e1149334d320c0201d97 /contrib/request-key.d | |
parent | c3fff275e873fd9b9639124e993dd4ad737614db (diff) | |
download | cifs-utils-2a9738cefaf8a9496ff0683e18357b3548da0b28.tar.gz cifs-utils-2a9738cefaf8a9496ff0683e18357b3548da0b28.tar.bz2 cifs-utils-2a9738cefaf8a9496ff0683e18357b3548da0b28.zip |
contrib: add a set of sample /etc/request-key.d files
Add a contrib directory, a set of sample /etc/request-key.d files and
a README that explains what they're for. This version sets the path
to the upcall programs based on the configure options.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'contrib/request-key.d')
-rw-r--r-- | contrib/request-key.d/Makefile.am | 9 | ||||
-rw-r--r-- | contrib/request-key.d/README | 7 | ||||
-rw-r--r-- | contrib/request-key.d/cifs.idmap.conf.in | 1 | ||||
-rw-r--r-- | contrib/request-key.d/cifs.spnego.conf.in | 1 |
4 files changed, 18 insertions, 0 deletions
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 |