mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
enhanced sample.config
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
# User authentication method. Could be set multiple times and in that case
|
||||
# all should succeed.
|
||||
# Options: certificate, pam.
|
||||
# User authentication method. Could be set multiple times and in
|
||||
# that case all should succeed. To enable multiple methods use
|
||||
# multiple auth directives. Available options: certificate, certificate[optional],
|
||||
# plain, pam.
|
||||
#auth = "certificate"
|
||||
auth = "plain[./sample.passwd]"
|
||||
#auth = "pam"
|
||||
|
||||
# This indicates that a user may present a certificate. When that option
|
||||
# is set, individual users or user groups can be forced to present a valid
|
||||
# certificate by using "require-cert=true".
|
||||
#auth = "certificate[optional]"
|
||||
|
||||
# The gid-min option is used by auto-select-group option, in order to
|
||||
# select the minimum group ID.
|
||||
#auth = "pam[gid-min=1000]"
|
||||
|
||||
Reference in New Issue
Block a user