ERROR: service.AUTH EXPIRED error

ERROR: service.AUTH_EXPIRED error


   KB 23323        Last updated on 2018-08-21  




0.00
(0 votes)


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
Verified Against: Date Created:
Article ID: https://wiki.zimbra.com/index.php?title=ERROR:_service.AUTH_EXPIRED_error Date Modified: 2018-08-21



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search