Git Product home page Git Product logo

libnss-cache's Issues

cache not working on centos.

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

make check fails for a variety of reasons including that it depends on gen_cache.py which isn't in this VCS.

Implement getgrouplist(3)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.