Description: Adjust paths to debian's location of the db files
Author: Guido Guenther <agx@sigxcpu.org>
Forwarded: no
Last-Update: 2010-05-15

Index: nss-updatedb/README
===================================================================
--- nss-updatedb.orig/README
+++ nss-updatedb/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
Index: nss-updatedb/updatedb.h
===================================================================
--- nss-updatedb.orig/updatedb.h
+++ nss-updatedb/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"
-- 
