This is a drop-in replacement for glibc nscd which is designed for simplicity and stability (glibc one is known for its hangs). Build instructions: gcc -Os -o nscd nscd.c For more info please see comments in nscd.c