Results 1 to 6 of 6

Thread: ERROR: service.AUTH_EXPIRED (auth credentials have expired)

  1. #1
    samirpatba is offline New Member
    Join Date
    Mar 2009
    Posts
    4
    Rep Power
    6

    Default ERROR: service.AUTH_EXPIRED (auth credentials have expired)

    How can I change the token lifetime using zmprov?? I try it:
    zmprov mc defaultCOS zimbraAuthTokenLifetime 60m
    but i receive that mesage: ERROR: service.AUTH_EXPIRED (auth credentials have expired)
    There is a another way to change the TokenLifetime?

    Release 5.0.9_GA_2533.UBUNTU8 UBUNTU8 FOSS edition

  2. #2
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default

    I have changed zimbraAdminAuthTokenLifetime
    setting it to 0, as i would admin web session to never expire, and now i am unable to access as admin, and by cmdline, every command i issue, i get:
    Code:
    $ zmprov gac     
    ERROR: service.AUTH_EXPIRED (auth credentials have expired)
    i am very disappointed and worried, i have opened a ticket and hopefully someone will help me

    -m
    Last edited by maumar; 07-27-2009 at 07:08 AM.

  3. #3
    rafaelsantos is offline Junior Member
    Join Date
    Jul 2009
    Posts
    7
    Rep Power
    5

    Default

    I´ve got same problem and no sollution already...

  4. #4
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default

    i managed to restore zimbraAuthTokenLifetime value to original 12h without any improvment

    Code:
    /opt/zimbra/openldap/bin/ldapmodify -h zimbra.xxxx.it  -x -D "cn=config" -W                               
    Enter LDAP Password:                                                                                                                                         
    dn: cn=default,cn=cos,cn=zimbra                                                                                                                              
    changetype: modify                                                                                                                                           
    replace: zimbraAuthTokenLifetime                                                                                                                             
    zimbraAuthTokenLifetime: 12h                                                                                                                                 
    
    modifying entry "cn=default,cn=cos,cn=zimbra"
    
    
    /opt/zimbra/openldap/bin/ldapsearch -h zimbra.xxx.it  -x -D "cn=config" -W  |grep zimbraAuthTokenLifetime
    Enter LDAP Password:                                                                                                                                         
    zimbraAuthTokenLifetime: 12h                                                                                                                                 
    [ 17:02:59 zimbra@zimbra ~/bin ]$ zmprov gac                                                                                                     
    ERROR: service.AUTH_EXPIRED (auth credentials have expired)

  5. #5
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default

    use zmprov -l
    provision via LDAP instead of SOAP
    Zmprov - Zimbra :: Wiki

  6. #6
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    339
    Rep Power
    8

    Default SOLVED: using zmprov -l

    I was able to fix the issue using zmprov -l 2 times, one to fix default cos, and another one to fix admin attribute.
    Here it is:
    Code:
    zmprov -l mc default zimbraAdminAuthTokenLifetime 12h
    zmprov -l ma admin zimbraAdminAuthTokenLifetime 12h
    zmmailboxdctl restart
    adjust admin with your admin account.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Imapsync auth method problem
    By guigsilva in forum Migration
    Replies: 4
    Last Post: 07-05-2012, 04:17 PM
  2. [SOLVED] Delegate Auth Request using pre auth
    By palikero in forum Developers
    Replies: 3
    Last Post: 03-31-2009, 02:03 PM
  3. Outlook 2003 error on expires credentials
    By seiryu in forum Zimbra Connector for Outlook
    Replies: 5
    Last Post: 03-17-2009, 11:12 AM
  4. Replies: 0
    Last Post: 01-17-2009, 10:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •