From a9a74679fbec07cf158f2295513e3d4c4adc2666 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Wed, 11 Mar 2026 14:15:45 +0100 Subject: Port pam-any from pam-bindings to nonstick crate The pam-bindings crate has a critical bug where pam_try! returns PAM_SUCCESS on error in release builds (anowell/pam-rs#16), causing authentication to always succeed. This replaces it with nonstick and a custom pam_client module with raw PAM FFI for thread-safe conversation forwarding. --- src-repo/test.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src-repo/test.sh (limited to 'src-repo/test.sh') diff --git a/src-repo/test.sh b/src-repo/test.sh new file mode 100644 index 0000000..f27a9cf --- /dev/null +++ b/src-repo/test.sh @@ -0,0 +1,5 @@ +IP=192.168.124.164 + +cargo build +scp ./pam-any root@$IP:/etc/pam.d +scp ./target/debug/libpam_any.so root@$IP:/lib64/security \ No newline at end of file -- cgit v1.3.1