opnsense-ports/net/nsscache/files/patch-nsscache.conf
Franco Fichtner b5cc680028 */*: sync with upstream
Taken from: FreeBSD
2015-05-29 11:35:56 +02:00

38 lines
1 KiB
Text

--- nsscache.conf.orig 2015-05-19 22:54:48 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 = cache
-#cache = files
+#cache = cache
+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
@@ -108,7 +108,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