lists.arthurdejong.org
RSS feed

ID Command Hanging During Group Retrieval via nslcd

[Date Prev][Date Next] [Thread Prev][Thread Next]

ID Command Hanging During Group Retrieval via nslcd



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 through nsswitch.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 

Attachment: nslcd
Description: Binary data