[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
initgroups
From: |
Jean-Eric Cuendet |
Subject: |
initgroups |
Date: |
Tue, 05 Nov 2002 14:51:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 |
Hi,
Since we use an LDAP db for UserID storage (OpenLDAP) , the commands :
su, login, etc... are very slow even if we use NSCD.
The problem comes from the fact that we have ~10 security groups defined
for each user and it takes ~0.5secs/groups to retrieve from the server!
So a login takes between 4-8 seconds depending the number of groups the
user is member of.
After a little investigation, I found that the initgroups function
doesn't use nscd! That's the problem of our problem.
Is it real? Normal? Is there a workaround for that?
Does anybody else have such a problem?
Thanks for any advice.
-jec
--
Jean-Eric Cuendet
Linkvest SA
Av des Baumettes 19, 1020 Renens Switzerland
Tel +41 21 632 9043 Fax +41 21 632 9090
E-mail: address@hidden
http://www.linkvest.com
--------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- initgroups,
Jean-Eric Cuendet <=