i Using AUTH_NULL for custom authentication but i can't go to Admin Web UI.
Is there a way to fix it?
Using AUTH_NULL for custom authentication
-
- OpenVpn Newbie
- Posts: 5
- Joined: Tue Jan 31, 2023 7:10 am
-
- OpenVpn Newbie
- Posts: 5
- Joined: Tue Jan 31, 2023 7:10 am
Re: Using AUTH_NULL for custom authentication
ERROR: AttributeError: 'AuthNull' object has no attribute 'collect_statuses' (9000)
- openvpn_inc
- OpenVPN Inc.
- Posts: 1159
- Joined: Tue Feb 16, 2021 10:41 am
Re: Using AUTH_NULL for custom authentication
Hello pd1998,
If this was caused after an upgrade from pre-2.9 to 2.9 or newer, it's likely caused by the post_auth script still being a Python2 script while it should be Python3 now. Version 2.9 was rewritten to Python3. If you have this issue, fix that and reload the script and things should work again in that case.
To get Access Server working without your custom authentication post_auth script and get Access Server starting up again you can remove the post_auth script.
https://openvpn.net/vpn-server-resource ... uth-script
Are you running latest version of Access Server, 2.11.3?
Can you share your custom post_auth script (without any sensitive details) here, or, if it is sensitive, can you submit it in a support ticket at https://openvpn.net/support?
Kind regards,
Johan
If this was caused after an upgrade from pre-2.9 to 2.9 or newer, it's likely caused by the post_auth script still being a Python2 script while it should be Python3 now. Version 2.9 was rewritten to Python3. If you have this issue, fix that and reload the script and things should work again in that case.
To get Access Server working without your custom authentication post_auth script and get Access Server starting up again you can remove the post_auth script.
https://openvpn.net/vpn-server-resource ... uth-script
Are you running latest version of Access Server, 2.11.3?
Can you share your custom post_auth script (without any sensitive details) here, or, if it is sensitive, can you submit it in a support ticket at https://openvpn.net/support?
Kind regards,
Johan

Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 5
- Joined: Tue Jan 31, 2023 7:10 am
Re: Using AUTH_NULL for custom authentication
i Install or update the script: https://swupdate.openvpn.net/scripts/po ... om_auth.pyopenvpn_inc wrote: ↑Wed Feb 01, 2023 5:02 amHello pd1998,
If this was caused after an upgrade from pre-2.9 to 2.9 or newer, it's likely caused by the post_auth script still being a Python2 script while it should be Python3 now. Version 2.9 was rewritten to Python3. If you have this issue, fix that and reload the script and things should work again in that case.
To get Access Server working without your custom authentication post_auth script and get Access Server starting up again you can remove the post_auth script.
https://openvpn.net/vpn-server-resource ... uth-script
Are you running latest version of Access Server, 2.11.3?
Can you share your custom post_auth script (without any sensitive details) here, or, if it is sensitive, can you submit it in a support ticket at https://openvpn.net/support?
Kind regards,
Johan
but status of sacli : ERROR: AttributeError: 'AuthNull' object has no attribute 'collect_statuses' (9000). and I lost admin rights to
Admin Web UI.
- openvpn_inc
- OpenVPN Inc.
- Posts: 1159
- Joined: Tue Feb 16, 2021 10:41 am
Re: Using AUTH_NULL for custom authentication
Hello pd1998,
Then I'll just repeat; to get Access Server working without your custom authentication post_auth script and get Access Server starting up again you can remove the post_auth script.
https://openvpn.net/vpn-server-resource ... uth-script
And again ask; what version of Access Server are you using? Is it 2.11.3?
Kind regards,
Johan
Then I'll just repeat; to get Access Server working without your custom authentication post_auth script and get Access Server starting up again you can remove the post_auth script.
https://openvpn.net/vpn-server-resource ... uth-script
And again ask; what version of Access Server are you using? Is it 2.11.3?
Kind regards,
Johan

Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support