Cannot delete user in web gui (populated by radius post_auth script)

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
sliddjur
OpenVpn Newbie
Posts: 12
Joined: Thu Feb 13, 2020 3:13 pm

Cannot delete user in web gui (populated by radius post_auth script)

Post by sliddjur » Sat Nov 07, 2020 8:38 am

I cannot delete some users from the web gui.

These users are populated from RADIUS auth using the post_auth script (https://openvpn.net/vpn-server-resource ... post_auth/)

- The particular users have gotten an static IP from radius (conn_ip property)
- The user belong to a group set by Framed-Pool, which does not match the conn_ip.
- When I try to delete user, I get an error saying I cannot, because ip and subnet doesnt match.
- If I set static IP to match subnet, it just ignores my settings.
- If I set dynamic IP, it just ignores the settings.
- If I set to the default group, it ignores and throw a generic error.

Users who did not get the conn_ip property from radius server, and *only* framed-pool, can be deleted without issues.

sliddjur
OpenVpn Newbie
Posts: 12
Joined: Thu Feb 13, 2020 3:13 pm

Re: Cannot delete user in web gui (populated by radius post_auth script)

Post by sliddjur » Mon Nov 09, 2020 12:52 pm

This was solved with CLI,
./sacli --user <USER_OR_GROUP> UserPropDelAll

Post Reply