Page 1 of 1

UserExpiresSet Doesn't work.

Posted: Tue Dec 05, 2017 10:11 pm
by mwiktor4
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?

Re: UserExpiresSet Doesn't work.

Posted: Tue Dec 05, 2017 10:19 pm
by mwiktor4
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"