Exchange server: PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Kerberos error: No Kerberos credentials available



  • I cannot find any solution for,

    PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Kerberos error: No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_0) (try running kinit) for my.email.server.local (errflg=1) in Unknown:0



  • @Rosa-A-Hancock

    Locate path in your project:

    vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php

    Open RefreshMailboxCommand.php and make changes here as suggested below.

    $imap = imap_open("{xx.xx.xx.xx:993/imap/ssl/novalidate-cert}", 'mydomain/user', 'password', NULL, 1, array('DISABLE_AUTHENTICATOR' => 'GSSAPI'));

    Hope it will help to resolve for Exchange server !!



  • Hi @Sanjeev

    Thanks it was helpfull for me !!!
    I would suggest to only append , NULL, 1, array('DISABLE_AUTHENTICATOR' => 'GSSAPI'));
    to the existing value and modify if necessary the username/password/url directly in the uvdesk_mailbox.yaml config file.



  • @Makss
    Yes, as {xx.xx.xx.xx:993/imap/ssl/novalidate-cert} we have added novalidate-cert so write down whole string for this.



  • @Sanjeev yes, or you can add it from the web interface !
    Anyway, no error about Kerberos anymore, but on my side, i'm not able to get the ticket created from the mailbox... But it's another story !



  • @Makss

    yes, or you can add it from the web interface !

    Sure, Glad to know now working for you !!

    Stay tuned with us for updates and upcoming release.
    https://github.com/uvdesk/community-skeleton


Log in to reply