aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-10 00:36:29 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-10 00:36:29 -0400
commit7b3b0b2a63f7e980adb630550c0dc9639ec09d7f (patch)
tree53463dabd80d8090ea60a77d19114bf31e529d07 /nss
parentbc469bea5c7eb774b7f01fadb37564015ef22c3f (diff)
downloadglibc-7b3b0b2a63f7e980adb630550c0dc9639ec09d7f.zip
glibc-7b3b0b2a63f7e980adb630550c0dc9639ec09d7f.tar.gz
glibc-7b3b0b2a63f7e980adb630550c0dc9639ec09d7f.tar.bz2
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.
Diffstat (limited to 'nss')
-rw-r--r--nss/nsswitch.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nsswitch.conf b/nss/nsswitch.conf
index 73736a6..39ca88b 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