mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Added auto group listing on PAM authentication as well.
In addition a configuration option to print group IDs over a certain number was added.
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
# all should succeed.
|
||||
# Options: certificate, pam.
|
||||
#auth = "certificate"
|
||||
auth = "plain[./sample.passwd]"
|
||||
#auth = "plain[./sample.passwd]"
|
||||
#auth = "pam"
|
||||
|
||||
# The gid-min option is used by auto-select-group option, in order to
|
||||
# select the minimum group ID.
|
||||
#auth = "pam[gid-min=1000]"
|
||||
|
||||
# The plain option requires specifying a password file which contains
|
||||
# entries of the following format.
|
||||
# "username:groupname:encoded-password"
|
||||
@@ -281,12 +285,12 @@ route = 192.168.5.0/255.255.255.0
|
||||
|
||||
# The name of the group that if selected it would allow to use
|
||||
# the assigned by default group.
|
||||
#default-select-group = DEFAULT
|
||||
default-select-group = DEFAULT
|
||||
|
||||
# Instead of specifying manually all the allowed groups, you may instruct
|
||||
# ocserv to scan all available groups and include the full list. That
|
||||
# option is only functional on plain authentication.
|
||||
#auto-select-group = true
|
||||
auto-select-group = 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