From: Guido Guenther <agx@sigxcpu.org>
Date: Sat, 15 May 2010 14:54:50 +0200
Subject: [PATCH] Adjust paths to debian's location of the db files

---
 README     |   10 +++++-----
 updatedb.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/README b/README
index e965fd0..d221202 100644
--- a/README
+++ b/README
@@ -24,20 +24,20 @@ and group maps will be updated.
 
 Examples:
 
-Update /var/db/passwd.db from LDAP:
+Update /var/lib/misc/passwd.db from LDAP:
 
 # nss_updatedb ldap passwd
 
-Update /var/db/passwd.db & /var/db/group.db from LDAP:
+Update /var/lib/misc/passwd.db & /var/lib/misc/group.db from LDAP:
 
 # nss_updatedb ldap
 
-Update /var/db/group.db from NIS+:
+Update /var/lib/misc/group.db from NIS+:
 
 # nss_updatedb nisplus group
 
-The databases written out are /var/db/passwd.db and
-/var/db/group.db; these are compatible with the nss_db
+The databases written out are /var/lib/misc/passwd.db and
+/var/lib/misc/group.db; these are compatible with the nss_db
 module distributed with the GNU C Library.
 
 The nss_updatedb utility is distributed under the GNU General
diff --git a/updatedb.h b/updatedb.h
index 34d9145..bab9930 100644
--- a/updatedb.h
+++ b/updatedb.h
@@ -22,7 +22,7 @@
 #define MAP_ALL		(MAP_PASSWD | MAP_GROUP)
 
 #ifndef DB_DIR
-#define DB_DIR		"/var/db"
+#define DB_DIR		"/var/lib/misc"
 #endif
 
 #define DB_PASSWD	DB_DIR "/passwd.db"
-- 
