ERROR: service.AUTH EXPIRED error: Difference between revisions

(Created page with "=== <h1>ERROR: service.AUTH_EXPIRED error</h1> === <hr> <br> <h2>Problem : </h2> ERROR: service.AUTH_EXPIRED error when running the given command on server : <pre>zmprov ga us...")
(No difference)

Revision as of 12:15, 14 August 2017

ERROR: service.AUTH_EXPIRED error



Problem :

ERROR: service.AUTH_EXPIRED error when running the given command on server :

zmprov ga user@domain zimbraMailHost
ERROR: service.AUTH_EXPIRED (auth credentials have expired)


Solution :

1) Check if the zimbraAuthTokenLifetime is not set too low value which might have caused the auth token to expire. Default is 2days :

zmprov -l ga user@domain | grep -i zimbraAuthTokenLifetime

2) It can also happen that the mailbox where the command is run from is not set to correct time in the server's timezone. If it's the case, set the correct time on server and rerun the command, as an example:

[zimbra@zmstore ~]$ date
Mon Jun 20 20:23:48 IST 2016
[zimbra@zmstore ~]$ exit
[root@zmstore ~]# date -s 'Tue Jun 21 08:25:30'
Tue Jun 21 08:25:30 IST 2016
[root@zmstore ~]# date
[root@zmstore ~]# zmprov ga user@domain zimbraMailHost
# name user@domain
zimbraMailHost: mstore.domain


Regards,
Aarti

Jump to: navigation, search