
Re: ID Command Hanging During Group Retrieval via nslcd
[Date Prev][Date Next] [Thread Prev][Thread Next]Re: ID Command Hanging During Group Retrieval via nslcd
- From: Kokila Koks <kokilavaradhan [at] gmail.com>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: ID Command Hanging During Group Retrieval via nslcd
- Date: Fri, 20 Jun 2025 12:48:26 +0530
Just to add to my earlier message
The actual issue is that LDAP user login attempts are failing, and the journal logs indicate that group retrieval is failing. To investigate further, I used the id
command to observe what happens during the lookup.
Since user login cannot afford to wait for a long time, could you suggest ways to optimize or reduce the time taken to fetch group details for a user, especially in environments with a large LDAP database?
Hello Community,
I am encountering an issue where running the
id
command for a user causes the process to hang during group retrieval. The system uses nslcd configured throughnsswitch.conf
for group lookups.From the system logs, I observe that the following call fails :
auto status = getpwnam_r(userName.c_str(), &pwd, buffer.data(), buflen, &pwdPtr);
When this happens, the
id username
command hangs indefinitely.I have attached the relevant nslcd logs for reference. Could you please help diagnose why the
id
command is getting stuck and suggest possible solutions?
Thanks,
kokila V
- ID Command Hanging During Group Retrieval via nslcd,
Kokila Koks
- Re: ID Command Hanging During Group Retrieval via nslcd, Kokila Koks
- Prev by Date: ID Command Hanging During Group Retrieval via nslcd
- Previous by thread: ID Command Hanging During Group Retrieval via nslcd