mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 07:44:38 +02:00
Fix OpenConnect 8.05+ compatibility by implementing new feature:
- auto-detect openconnect version and required stdin pipe format - support manual format specification (for future openconnect bugs) - remove "bug.*" configuration options as they are unnecessary now
This commit is contained in:
+15
-6
@@ -14,16 +14,25 @@ username = myuser
|
||||
password = mypass
|
||||
#client_cert = path-to-myusers-client-cert-as-unencrypted-pem-file.pem
|
||||
|
||||
#openconnect_certs = path-to-a-writeable-filename-in-which-the-script-will-collect-all-involved-server-certs-if-not-set-a-temp-file-is-used-instead
|
||||
|
||||
# mfa_order = totp sms
|
||||
sms.okta = 0
|
||||
#totp.okta = ABCDEFGHIJKLMNOP
|
||||
#totp.google = ABCDEFGHIJKLMNOP
|
||||
#totp.symantec = ABCDEFGHIJKLMNOP
|
||||
|
||||
|
||||
#openconnect_cmd = sudo openconnect
|
||||
#openconnect_certs = path-to-a-writeable-filename-in-which-the-script-will-collect-all-involved-server-certs-if-not-set-a-temp-file-is-used-instead
|
||||
openconnect_args = # optional arguments to openconnect
|
||||
execute = 0 # execute openconnect command
|
||||
bug.nl = 0 # newline work-around for openconnect
|
||||
bug.username = 0 # username work-around for openconnect
|
||||
openconnect_cmd = sudo openconnect # command to run openconnect
|
||||
openconnect_args = # optional arguments to openconnect
|
||||
|
||||
# "openconnect_fmt" is automatically detected by running "openconnect_cmd" -V
|
||||
# otherwise, it can be manually formatted what exactly pipe to openconect:
|
||||
# - supports <cookie>, <gateway_name>, etc
|
||||
# - other characters are provided as-is
|
||||
#
|
||||
# - for openconnect 8.05+
|
||||
#openconnect_fmt = <cookie><gateway_name><cookie>
|
||||
# - for openconnect 8.00 - 8.04
|
||||
#openconnect_fmt = <cookie><gateway_name>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user