php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21687 imap extension doesn't include gss authentication mechanism
Submitted: 2003-01-16 07:58 UTC Modified: 2003-01-18 01:02 UTC
From: liamr at umich dot edu Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.3.0 OS: solaris 8
Private report: No CVE-ID: None
 [2003-01-16 07:58 UTC] liamr at umich dot edu
PHP doesn't include the gss authentication mechanism when building IMAP w/kerberos 5.  Even if the c-client has been built with krb5/gss support, w/o the gss auth mechanism, php's IMAP support won't attempt kerberos authentication.
This diff should help..

--- php_imap.c.orig     Thu Jan 16 08:44:59 2003
+++ php_imap.c  Thu Jan 16 08:45:51 2003
@@ -418,4 +418,7 @@
        mail_link(&dummydriver);        /* link in the dummy driver */
 
+#ifdef HAVE_IMAP_KRB
+       auth_link(&auth_gss);           /* link in the gss authenticator */
+#endif
 #ifndef PHP_WIN32
        auth_link(&auth_log);           /* link in the log authenticator */

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-18 01:02 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 26 08:03:48 2022 UTC