├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── changelog ├── CHANGELOG.txt ├── CHANGELOG_0.9.1.txt ├── CHANGELOG_1.0.0.txt ├── CHANGELOG_1.0.1.txt ├── CHANGELOG_1.0.2.txt ├── CHANGELOG_1.0.3.txt ├── CHANGELOG_1.0.4.txt ├── CHANGELOG_1.0.5.txt ├── CHANGELOG_1.1.0.txt ├── CHANGELOG_1.2.0.txt └── CHANGELOG_1.2.1.txt ├── cross └── find-requires.sh ├── debian ├── postinst └── postrm ├── default_config └── config.json ├── docs ├── ACKNOWLEDGMENTS.md ├── README.md ├── SECURITY.md └── res │ ├── libnss_shim_demo.gif │ ├── nsswitch_order_demo_1.png │ └── nsswitch_order_demo_2.png ├── rust-toolchain.toml ├── samples ├── advanced │ ├── Dockerfile │ ├── README.md │ ├── custom-group-resolver.py │ ├── custom-passwd-resolver.py │ ├── custom-shadow-resolver.py │ └── custom_config.json └── basic │ └── custom_config.json └── src └── lib.rs /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | /.idea/ 3 | -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/README.md -------------------------------------------------------------------------------- /changelog/CHANGELOG.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_0.9.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_0.9.1.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.0.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.0.0.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.0.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.0.1.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.0.2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.0.2.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.0.3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.0.3.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.0.4.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.0.4.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.0.5.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.0.5.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.1.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.1.0.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.2.0.txt -------------------------------------------------------------------------------- /changelog/CHANGELOG_1.2.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/changelog/CHANGELOG_1.2.1.txt -------------------------------------------------------------------------------- /cross/find-requires.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/cross/find-requires.sh -------------------------------------------------------------------------------- /debian/postinst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/debian/postinst -------------------------------------------------------------------------------- /debian/postrm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/debian/postrm -------------------------------------------------------------------------------- /default_config/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/default_config/config.json -------------------------------------------------------------------------------- /docs/ACKNOWLEDGMENTS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/docs/ACKNOWLEDGMENTS.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/docs/SECURITY.md -------------------------------------------------------------------------------- /docs/res/libnss_shim_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/docs/res/libnss_shim_demo.gif -------------------------------------------------------------------------------- /docs/res/nsswitch_order_demo_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/docs/res/nsswitch_order_demo_1.png -------------------------------------------------------------------------------- /docs/res/nsswitch_order_demo_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/docs/res/nsswitch_order_demo_2.png -------------------------------------------------------------------------------- /rust-toolchain.toml: -------------------------------------------------------------------------------- 1 | [toolchain] 2 | channel = "1.78.0" 3 | -------------------------------------------------------------------------------- /samples/advanced/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/advanced/Dockerfile -------------------------------------------------------------------------------- /samples/advanced/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/advanced/README.md -------------------------------------------------------------------------------- /samples/advanced/custom-group-resolver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/advanced/custom-group-resolver.py -------------------------------------------------------------------------------- /samples/advanced/custom-passwd-resolver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/advanced/custom-passwd-resolver.py -------------------------------------------------------------------------------- /samples/advanced/custom-shadow-resolver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/advanced/custom-shadow-resolver.py -------------------------------------------------------------------------------- /samples/advanced/custom_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/advanced/custom_config.json -------------------------------------------------------------------------------- /samples/basic/custom_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/samples/basic/custom_config.json -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xenago/libnss_shim/HEAD/src/lib.rs --------------------------------------------------------------------------------