google / libnss-cache Goto Github PK
View Code? Open in Web Editor NEWa NSS module for reading directory service information for Linux hosts from an indexed, local disk cache
License: GNU Lesser General Public License v3.0
a NSS module for reading directory service information for Linux hosts from an indexed, local disk cache
License: GNU Lesser General Public License v3.0
Unless I'm totally overlooking something, this library doesn't appear to be configured properly for Debian multiarch support. See https://wiki.debian.org/Multiarch/Implementation
I´m configuring nsscache for caching ldap credentials on /etc/passwd.cache and then make the magic with libnss-cache.
On ubuntu i´m not having any kind of problem, but on centos it doesn´t look like getent passwd is getting the user list from the cached passwd.
Could it be caused by the location of libnss_cache.so.2.0? i tried moving it to /usr/lib/, /usr/lib64/ and /usr/lib64/nss and no luck so far
Anyone has any experience making it work on centOS 7?
I tried to find something using strace in front of the nsscache command but can´t find nothing of value.
Cheers
make check
fails for a variety of reasons including that it depends on gen_cache.py which isn't in this VCS.
glibc's getgrouplist(3)
implementation retrieves all groups and filters for groups containing the specified user.
When /etc/group contains many groups this takes a while. glibc's behaviour can be overridden in /etc/nsswitch.conf (using the initgroups
database).
It'd be useful if libnss-cache implemented getgrouplist(3) using an index from user to list of groups.
Line 141 in 8a04a69
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.