ID:               33500
 User updated by:  ed2019 at columbia dot edu
 Reported By:      ed2019 at columbia dot edu
-Status:           Bogus
+Status:           Open
 Bug Type:         IMAP related
 Operating System: RHEL 4
 PHP Version:      4.3.10
 New Comment:

What if I don't want to use GSSAPI?  I'm providing a username and
password that should be sufficient for the PLAIN auth method.


Previous Comments:
------------------------------------------------------------------------

[2005-06-28 18:28:31] [EMAIL PROTECTED]

Obviously the apache user doesn't have correct permissions to write to
the kerberos cache. Not PHP bug -> bogus.


------------------------------------------------------------------------

[2005-06-28 18:03:34] ed2019 at columbia dot edu

Description:
------------
Running stock RHEL4 on Intel, with stock RedHat RPMS of php &
everything else, all maintained with up2date.

imap_open() fails with the following error message, if the target IMAP
server advertises GSSAPI:

[client ip.ip.ip.ip] PHP Notice:  (null)(): GSSAPI failure: Credentials
cache permissions incorrect (errflg=1) in Unknown on line 0
[client ip.ip.ip.ip] PHP Notice:  (null)(): Can not authenticate to
IMAP server: Client canceled authentication (errflg=2) in Unknown on
line 0
[client ip.ip.ip.ip] PHP Warning:  imap_open(): Couldn't open stream
{ip.ip.ip.ip:993/imap/ssl/novalidate-cert} in
/var/www/html/testimap.php
on line 3


Reproduce code:
---------------
$mbox = imap_open("{mailhost:993/imap/ssl/novalidate-cert/norsh}INBOX",
"username", "pw");

Expected result:
----------------
$mbox should have been a valid imap resource.

Actual result:
--------------
>From /var/log/httpd/error_log
[client ip.ip.ip.ip] PHP Notice:  (null)(): GSSAPI failure: Credentials
cache permissions incorrect (errflg=1) in Unknown on line 0
[client ip.ip.ip.ip] PHP Notice:  (null)(): Can not authenticate to
IMAP server: Client canceled authentication (errflg=2) in Unknown on
line 0
[client ip.ip.ip.ip] PHP Warning:  imap_open(): Couldn't open stream
{ip.ip.ip.ip:993/imap/ssl/novalidate-cert} in
/var/www/html/testimap.php
on line 3


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33500&edit=1

Reply via email to