Error "No Kerberos credentials available" when passing mail server lotus to exchange

1

I have a website that connects to the mail server by imap to download the messages and automatically process the work depending on the subject, but after changing from lotus to exchange it stopped working with this message in the error log of the apache:

  

Unknown: Kerberos error: No Kerberos credentials available (try running kinit) for xxxxxx

And on Google I found the solution here:

link

But I can not fix the problem. Does anyone know why?

    
asked by franmost 09.05.2017 в 14:47
source

1 answer

1

Guiding me through the link you provide, to find out what the problem might be, I see that it could be related to the secure library that uses the PHP%% extension of PHP in Ubuntu to connect to the Exchange server.

This problem was fixed in PHP 5.3.2 , so it is no longer necessary to recompile the PHP%% extension%, just add a imap option to disable the exchange of credentials via imap ( DISABLE_AUTHENTICATOR as a general rule).

Try modifying the way you connect to the server by adding the parameters indicated above to the call you make to GSSAPI :

$mbox = imap_open(
  $mb,
  $user,
  $passwd,
  null,
  null,
  [
    'DISABLE_AUTHENTICATOR' => [
      'GSSAPI',
    ],
  ]
);
    
answered by 09.05.2017 / 15:02
source