#33500 [NEW]: imap_open() fails when the server advertises GSSAPI
From: ed2019 at columbia dot edu
Operating system: RHEL 4
PHP version: 4.3.10
PHP Bug Type: IMAP related
Bug description: imap_open() fails when the server advertises GSSAPI
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 bug report at http://bugs.php.net/?id=33500&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33500&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33500&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33500&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33500&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33500&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33500&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33500&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33500&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33500&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33500&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33500&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33500&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33500&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33500&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33500&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33500&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33500&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33500&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33500&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33500&r=mysqlcfg
Thread (36 messages)
- ed2019 at columbia dot edu
- sniper@php.net#33500 [Opn->Bgs]: imap_open() fails when the server advertises GSSAPI
- ed2019 at columbia dot edu#33500 [Bgs->Opn]: imap_open() fails when the server advertises GSSAPI
- tony2001@php.net#33500 [Opn->Bgs]: imap_open() fails when the server advertises GSSAPI
- ed2019 at columbia dot edu#33500 [Bgs->Opn]: imap_open() fails when the server advertises GSSAPI
- ed2019 at columbia dot edu#33500 [Opn]: imap_open() fails when the server advertises GSSAPI
- frank dot ruchter at hrz dot tu-chemnitz dot de#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- php-bugs at osborne dot jeamland dot org#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- tma at gatehouse dot dk#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- ruben at dedigate dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- josh_barth at hotmail dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- php at eikel dot org#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- phalenor at gmail dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- spryde at aas dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- steve dot englart at gmail dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- sami dot sipponen at storaenso dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- mathieu at koumbit dot org#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Opn->Fbk]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Fbk->Bgs]: imap_open() fails when the server advertises GSSAPI
- ed2019 at columbia dot edu#33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- ed2019 at columbia dot edu#33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- ed2019 at columbia dot edu#33500 [Bgs]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Bgs->Asn]: imap_open() fails when the server advertises GSSAPI
- hmandel at learningbygrace dot org#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Asn]: imap_open() fails when the server advertises GSSAPI
- hperrin at SPAMMENOTgmail dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Asn]: imap_open() fails when the server advertises GSSAPI
- 14908832 at sun dot ac dot za#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- haggis at shaz-bot dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Asn->Fbk]: imap_open() fails when the server advertises GSSAPI
- b dot parnell at abertay dot ac dot uk#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [NoF->Fbk]: imap_open() fails when the server advertises GSSAPI
- nick at mailtrust dot com#33500 [Com]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [NoF->Asn]: imap_open() fails when the server advertises GSSAPI
- pajoye@php.net#33500 [Asn->Csd]: imap_open() fails when the server advertises GSSAPI