Page 1 of 1

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

Posted: Sat Nov 07, 2020 8:38 am
by sliddjur
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.

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

Posted: Mon Nov 09, 2020 12:52 pm
by sliddjur
This was solved with CLI,
./sacli --user <USER_OR_GROUP> UserPropDelAll