From 7b3b0b2a63f7e980adb630550c0dc9639ec09d7f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 May 2011 00:36:29 -0400 Subject: More configurability for secondary group lookup Together with a previous patch which introduced the initgroups entry in nsswitch.conf this patch allows more customization of the lookups for initgroups/getgrouplist. Nothing changes if the groups entry in nsswitch.conf is used. If the initgroups entry is used instead the code now doesn't automatically continue looking for more entries aftedr a successful lookup. Instead the normal rules are followed which do specify that by default no more service is consulted. This can be overwritten with [SUCCESS=continue] appropriately placed in the line. --- nss/nsswitch.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nss') diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf index 73736a61ae..39ca88bf51 100644 --- a/nss/nsswitch.conf +++ b/nss/nsswitch.conf @@ -5,7 +5,7 @@ passwd: db files group: db files -initgroups: db files +initgroups: db [SUCCESS=continue] files shadow: db files gshadow: files -- cgit 1.4.1