mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Supplementary configuration is now read by the security module.
That allows sec-mod to handle both authentication and accounting. That deprecates the session-control configuration option.
This commit is contained in:
+3
-2
@@ -452,8 +452,9 @@ unsigned force_cert_auth;
|
||||
if (config->occtl_socket_file == NULL)
|
||||
config->occtl_socket_file = talloc_strdup(config, OCCTL_UNIX_SOCKET);
|
||||
|
||||
if (config->auth_types & AUTH_TYPE_USERNAME_PASS) {
|
||||
READ_TF("session-control", config->session_control, 0);
|
||||
val = get_option("session-control", NULL);
|
||||
if (val != NULL) {
|
||||
fprintf(stderr, "The option 'session-control' is deprecated\n");
|
||||
}
|
||||
|
||||
READ_STRING("banner", config->banner);
|
||||
|
||||
Reference in New Issue
Block a user