getgroups() reads through all group sources
This document (3479315) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 10
Situation
group: files [SUCCESS=return] ldap
However, despite the group of a user requested exists in /etc/group, the other source (LDAP, in this case) gets requested as well. This could lead to programs like id, which call getgroups(2), hang for quite a while if the LDAP server isn't ready, or programs that execute initgroups(3) to not start up correctly (for example, OpenLDAP itself.)
Resolution
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3479315
- Creation Date: 22-Nov-2007
- Modified Date:10-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com