mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
no longer document the auth option certificate[optional]
This commit is contained in:
@@ -1,16 +1,11 @@
|
||||
# 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],
|
||||
# multiple auth directives. Available options: certificate,
|
||||
# plain, pam, radius[configfile,groupconfig].
|
||||
|
||||
# certificate:
|
||||
# This indicates that all connecting users must present a certificate.
|
||||
#
|
||||
# certificate[optional]:
|
||||
# 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 adding "require-cert=true" in the per-user configuration file.
|
||||
#
|
||||
# pam[gid-min=1000]:
|
||||
# The gid-min option is used by auto-select-group option, in order to
|
||||
# select the minimum valid group ID.
|
||||
@@ -31,7 +26,6 @@
|
||||
# Framed-IP-Address, Framed-IP-Netmask, MS-Primary-DNS-Server, MS-Secondary-DNS-Server
|
||||
|
||||
#auth = "certificate"
|
||||
#auth = "certificate[optional]"
|
||||
#auth = "pam"
|
||||
#auth = "pam[gid-min=1000]"
|
||||
auth = "plain[./sample.passwd]"
|
||||
@@ -392,11 +386,6 @@ no-route = 192.168.5.0/255.255.255.0
|
||||
#default-user-config = /etc/ocserv/defaults/user.conf
|
||||
#default-group-config = /etc/ocserv/defaults/group.conf
|
||||
|
||||
# This option is only valid in a user/group configuration file. If the
|
||||
# auth mode is certificate[optional], it requires a certificate for this
|
||||
# particular user or group.
|
||||
#require-cert = true
|
||||
|
||||
# The system command to use to setup a route. %{R} will be replaced with the
|
||||
# route/mask and %{D} with the (tun) device.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user