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

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

 



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
     ---------------------------------------------------------
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux