On Wed, Jun 29, 2011 at 03:50:43PM -0400, Patrick Cable wrote:
> Darn - I usually think to strace too!
> 
> So, I did the test when i was running nscd - whoops.
> However, the result persists.  The differences I see besides memory
> addresses are on lines:
> 
> Displays all groups (http://magicschoolbus.info/strace-everygroup.txt):
> 1: execve("/usr/bin/id", ["id"], [/* 71 vars */]) = 0
> 145: fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
> 166: getgroups(1, [102])                     = 1
> 
> Displays one group (http://magicschoolbus.info/strace-onegroup.txt):
> 1: execve("/usr/bin/id", ["id"], [/* 86 vars */]) = 0
> 145: fstat(1, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> 166: getgroups(8, [10, 102, 104, 106, 225, 265, 266, 8895]) = 8

I don't think I saw this mentioned - is /etc/ldap.conf 0644?  If the
user's process can't read it, and the user nscd runs as can't either, that
would explain the problem.  

What happens when the user runs "id juser"?  That should re-query
everything, and at least give some indication of whether it's a problem at
the system level (i.e. if it only shows one group, the system is whacked)
or really is something weird with the apps.

-jkl
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to