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 edit summary |
||
Line 1: | Line 1: | ||
== | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=ERROR: service.AUTH_EXPIRED error= | |||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | |||
====Problem==== | |||
ERROR: service.AUTH_EXPIRED error when running the given command on server : | 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) | ERROR: service.AUTH_EXPIRED (auth credentials have expired) | ||
====Solution==== | |||
=====Step 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 | |||
=====Step 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: | |||
<pre>[zimbra@zmstore ~]$ date | <pre>[zimbra@zmstore ~]$ date | ||
Mon Jun 20 20:23:48 IST 2016 | Mon Jun 20 20:23:48 IST 2016 | ||
Line 25: | Line 32: | ||
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10" | |||
Aarti | |'''Submitted by''': Aarti Shah | ||
|} | |||
{{Article Footer||}} |
Revision as of 00:58, 21 August 2018
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
Step 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
Step 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
Submitted by: Aarti Shah |