freebsd-ports/net/nsscache/files/patch-nsscache.conf
Johannes Jost Meixner 6b8a9b9fef net/nsscache: add port
nsscache is a utility for caching directory service information into local
cache files.

On FreeBSD, it is intended to be used with the net/libnss-cache port but it
can also output BDB files for use by other operating systems.

WWW: https://github.com/google/nsscache

PR:		200123
Submitted by:	Kevin Bowling <kevin.bowling@kev009.com>
Obtained from:	Limelight Networks
2015-05-11 17:18:55 +00:00

38 lines
1 KiB
Text

--- nsscache.conf.orig 2014-10-21 10:32:31 UTC
+++ nsscache.conf
@@ -2,7 +2,7 @@
#
# nsscache loads a config file from the environment variable NSSCACHE_CONFIG
#
-# By default this is /etc/nsscache.conf
+# By default this is %%PREFIX%%/etc/nsscache.conf
#
# Commented values are overrideable defaults, uncommented values
# require you to set them.
@@ -13,14 +13,14 @@
source = ldap
# Default NSS data cache module name
-cache = nssdb
-#cache = files
+#cache = nssdb
+cache = files
# NSS maps to be cached
maps = passwd, group, shadow, netgroup, automount
# Directory to store our update/modify timestamps
-timestamp_dir = /var/lib/nsscache
+timestamp_dir = /var/db/nsscache
# Lockfile to use for update/repair operations
#lockfile = /var/run/nsscache
@@ -89,7 +89,7 @@ ldap_filter = (objectclass=posixAccount)
# Directory to store nssdb databases. Current libnss_db code requires
# the path below
-nssdb_dir = /var/lib/misc
+nssdb_dir = /var/db/nsscache
# Path to `makedb', supplied by the nss_db module
#nssdb_makedb = /usr/bin/makedb