mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
tests: pam tests were converted to use pam-wrapper
This allows running the PAM tests without requiring root access
This commit is contained in:
5
tests/data/pam-single/ocserv.in
Normal file
5
tests/data/pam-single/ocserv.in
Normal file
@@ -0,0 +1,5 @@
|
||||
#%PAM-1.0
|
||||
auth required @PAMWRAPDIR@/pam_matrix.so passdb=./data/pam-single/passdb
|
||||
account required @PAMWRAPDIR@/pam_matrix.so passdb=./data/pam-single/passdb
|
||||
account required @PAMWRAPDIR@/pam_matrix.so passdb=./data/pam-single/passdb
|
||||
session required @PAMWRAPDIR@/pam_matrix.so passdb=./data/pam-single/passdb
|
||||
1
tests/data/pam-single/passdb.templ
Normal file
1
tests/data/pam-single/passdb.templ
Normal file
@@ -0,0 +1 @@
|
||||
testuser:testuser123:ocserv
|
||||
Reference in New Issue
Block a user