summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2009-06-17 18:19:11 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2009-06-17 18:19:11 -0400
commitb5118a817adea7587d51ed70ef6e2c2bdd605fcc (patch)
treec275a6510183da20723e1277a17e2a525a02c5f7
parent78a5eb1a1b9db164b368305f1bfb05afd9f0714c (diff)
downloadslapi-nis-b5118a817adea7587d51ed70ef6e2c2bdd605fcc.tar.gz
slapi-nis-b5118a817adea7587d51ed70ef6e2c2bdd605fcc.tar.xz
slapi-nis-b5118a817adea7587d51ed70ef6e2c2bdd605fcc.zip
- add a note about known map types
-rw-r--r--Makefile.am8
-rw-r--r--doc/nis-configuration.txt4
-rw-r--r--doc/nis-known-maps.txt27
3 files changed, 39 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 32bd35d..3b32aee 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,6 +2,14 @@ EXTRA_DIST = COPYING NEWS README STATUS slapi-nis.spec doc/*.txt doc/examples/*.
SUBDIRS = src tests
ACLOCAL_AMFLAGS=-I m4
+noinst_DATA = $(srcdir)/doc/nis-known-maps.txt
+$(srcdir)/doc/nis-known-maps.txt: src/defs-nis.c $(builddir)/Makefile
+ : > $@
+ echo "This is the list of NIS maps for which compiled-in default search" >> $@
+ echo "filters and key and value format specifiers are currently known:" >> $@
+ echo "" >> $@
+ egrep '{"[^"]+",' $(srcdir)/src/defs-nis.c | awk -F'"' '{print " ", $$2}' >> $@
+
VERSION=@PACKAGE_VERSION@
RELEASE=0
GITTAG=slapi-nis-$(VERSION)
diff --git a/doc/nis-configuration.txt b/doc/nis-configuration.txt
index 96d3a3c..577a051 100644
--- a/doc/nis-configuration.txt
+++ b/doc/nis-configuration.txt
@@ -131,3 +131,7 @@ example map definition might look like this:
nis-disallowed-chars: :
nis-secure: no
+In this example, a filter, key-format, and value-format needed to be
+specified because the module has no built-in defaults for a map named
+"email.byname". Default filter and format settings are built into the
+module for the maps listed in "nis-known-maps.txt".
diff --git a/doc/nis-known-maps.txt b/doc/nis-known-maps.txt
new file mode 100644
index 0000000..8793f98
--- /dev/null
+++ b/doc/nis-known-maps.txt
@@ -0,0 +1,27 @@
+This is the list of NIS maps for which compiled-in default search
+filters and key and value format specifiers are currently known:
+
+ passwd.byname
+ passwd.byuid
+ group.byname
+ group.bygid
+ netgroup
+ auto.*
+ ethers.byaddr
+ ethers.byname
+ hosts.byaddr
+ hosts.byname
+ mail.aliases
+ mail.byaddr
+ netgroup.byhost
+ netgroup.byuser
+ netid.byname
+ networks.byaddr
+ networks.byname
+ protocols.byname
+ protocols.bynumber
+ rpc.byname
+ rpc.bynumber
+ services.byname
+ services.byservicename
+ ypservers