UserExpiresSet command does't work in vpncmd. Instead of changing the expiration date , it just resets it.
User expiration does work from the server menager app on windows. but it doesnt work straight from cmd on linux.
Any idea for a fix?
UserExpiresSet Doesn't work.
-
- Posts: 2
- Joined: Tue Dec 05, 2017 10:07 pm
Re: UserExpiresSet Doesn't work.
I've managed to find the problem. It's not specified clearly in the command description but:
~doesn't work
UserExpiresSet aberdeen /EXPIRES:2005/10/08 19:30:00
~doesn't work
UserExpiresSet aberdeen /EXPIRES: 2005/10/08 19:30:00
~does work!!
UserExpiresSet aberdeen /EXPIRES:"2005/10/08 19:30:00"
~doesn't work
UserExpiresSet aberdeen /EXPIRES:2005/10/08 19:30:00
~doesn't work
UserExpiresSet aberdeen /EXPIRES: 2005/10/08 19:30:00
~does work!!
UserExpiresSet aberdeen /EXPIRES:"2005/10/08 19:30:00"