#28962 [NEW]: auth_gss is included, but c-client can't authenticate using GSSAPI
| From: | liamr at umich dot edu | Date: | Tue, 29 Jun 2004 21:00:32 +0000 |
| Subject: | #28962 [NEW]: auth_gss is included, but c-client can't authenticate using GSSAPI | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-61518@lists.php.net to get a copy of this message | ||
From: liamr at umich dot edu
Operating system: linux 2.4.26
PHP version: 5.0.0RC3
PHP Bug Type: IMAP related
Bug description: auth_gss is included, but c-client can't authenticate using GSSAPI
Description:
------------
This is related to http://bugs.php.net/bug.php?id=21687.
I believe the tests used to determine whether auth_gss gets invoked aren't
working right.
As distributed in the tarball, auth_gss gets defined in imap.so, but it
doesn't appear to get used. To make GSSAPI authentication work, I need to
move
auth_link(&auth_gss); /* link in the gss authenticator */
out of..
#if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS)
#endif
otherwise, our ticket files don't ever get IMAP credentials.
Reproduce code:
---------------
$mbox = imap_open( "\{imap.example.com:143/imap/notls/user="
. $user . "}INBOX", $user, $passwd );
(our servers, currently some flavor of UW IMAP seem to require the extra
"user=" in the connection string)
Expected result:
----------------
We should get two things...
- a kerberos credential cache w/ IMAP credentials
- an open IMAP stream authenticated w/ GSSAPI
Actual result:
--------------
The ticket file remains unchanged, and the IMAP servers return
"AUTHENTICATE GSSAPI FAILURE"
--
Edit bug report at http://bugs.php.net/?id=28962&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28962&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28962&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28962&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28962&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28962&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28962&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28962&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28962&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28962&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28962&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28962&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28962&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28962&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28962&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28962&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28962&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28962&r=float