Cyrus, Solaris 10, ZFS? (and NIS?)

Gabor Gombas gombasg at sztaki.hu
Fri Oct 6 06:38:44 EDT 2006


On Fri, Oct 06, 2006 at 11:24:00AM +0200, Simon Matter wrote:

> The groupfile patch implements a quick fix to the problem by using a separate
> group.cache file to speed up those operations using getgrent() calls.
> Calls to getgrnam() are not touched which means that the group.cache
> file must be kept in sync with the group source you are using with nss
> configured in /etc/nsswitch.conf.

If that is the case, why not just use libnss_db instead of libnss_ldap
for the group map, and synchronize the LDAP database with
/var/db/group.db?

That's
- faster than a flat file, and
- does not need any patching.

Or why don't you just synchronize /etc/group, why do you need a separate
file?

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------


More information about the Info-cyrus mailing list