Coder Social home page Coder Social logo

libnss-dbng's Introduction

libnss_dbng - Next-generation Berkeley DB libnss backend

This library replaces the older libnss_db library. Apart from being a fresh, legacy-free & maintained codebase, it aims to make the following improvements:

  • Use more modern versions of Berkeley DB.
  • Make use of secondary indexes for fast lookups (ie lookup by UID or name in the case of passwd).
  • Have good test coverage via automated unit tests.
  • Provide a management library (libdbng) and sample frontend (dbngctl) to allow applications to safely manage the databases, as well as the core nss functions themselves.

Components

In addition to the libnss functions, the following components are provided to manage the service databases:

  • libdbng - Object-oriented library to manage service databases (and secondary indexes transparently).
  • dbngctl - Control program to allow administrators to manage service databases from the command line. Makes use of libdbng.
  • DBNG::Service - OO PERL extension which links against libdbng.

Building

The library requires Berkeley DB (4.x or 5.x).

Via autotools, use something like:

  $ autoreconf -i
  $ ./configure DEFAULT_BASE="/var/dbng" TEST_BASE="/tmp" && make
  $ make check && sudo make install

Status

Currently the passwd, group and shadow services are implemented.

libnss-dbng's People

Contributors

mikey-austin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

pwgen

libnss-dbng's Issues

License

Are you willing to change the License to GPL-2 ?
Using GPL-3 makes it impossible to use this code in cryptographic signed images, GPL-2 would allow this.

support pam-userdb

Hey Mikey

libnss-dbng is a really impressive code.

i am using it together with libpam-userdb ( offical pam module )

and i would like to ask if there is interest for adding support for the pam password database.

This would extend the dbngctl tool ( and libdbng.so.0.0.0) for an additional simple user/passwd database that can be used by libpam-userdb.

So my question is if you would be interested to accept a patch, otherwise i would write a independent binary and leave you code untouched.

greetings

/pwgen

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.