summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2013-05-28 13:34:31 -0400
committerSteve Dickson <steved@redhat.com>2013-05-28 14:28:38 -0400
commita2bdacaa4184d5d921fb1da5f7789078412b1afe (patch)
treee3c482eea9756a22c86d6c02f1fbdb065a8efdd9
parentb0870ddfc32d6bdf17b84e28b1f6033411a8a178 (diff)
downloadnfs-utils-a2bdacaa4184d5d921fb1da5f7789078412b1afe.tar.gz
nfs-utils-a2bdacaa4184d5d921fb1da5f7789078412b1afe.tar.xz
nfs-utils-a2bdacaa4184d5d921fb1da5f7789078412b1afe.zip
nfsidmap: add default id_resolver.conf
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/nfsidmap/Makefile.am3
-rw-r--r--utils/nfsidmap/id_resolver.conf1
2 files changed, 3 insertions, 1 deletions
diff --git a/utils/nfsidmap/Makefile.am b/utils/nfsidmap/Makefile.am
index c0675c4..737a219 100644
--- a/utils/nfsidmap/Makefile.am
+++ b/utils/nfsidmap/Makefile.am
@@ -1,9 +1,10 @@
## Process this file with automake to produce Makefile.in
man8_MANS = nfsidmap.man
-
sbin_PROGRAMS = nfsidmap
+
nfsidmap_SOURCES = nfsidmap.c
nfsidmap_LDADD = $(LIBNFSIDMAP) -lkeyutils ../../support/nfs/libnfs.a
MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = id_resolver.conf
diff --git a/utils/nfsidmap/id_resolver.conf b/utils/nfsidmap/id_resolver.conf
new file mode 100644
index 0000000..2c156c6
--- /dev/null
+++ b/utils/nfsidmap/id_resolver.conf
@@ -0,0 +1 @@
+create id_resolver * * /usr/sbin/nfsidmap -t 600 %k %d