|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4136 imap php not loading all drivers from c-client
Submitted: 2000-04-13 13:49 UTC Modified: 2000-08-01 23:35 UTC
From: dbrumley at stanford dot edu Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0 Release Candidate 1 OS: solaris 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: dbrumley at stanford dot edu
New email:
PHP Version: OS:


 [2000-04-13 13:49 UTC] dbrumley at stanford dot edu
the ext/imap.c source code doesn't load all the drivers in UW's c-client
lib.  I ran into this because I wanted to use twig/imap/something like that
to log onto a cyrus imap server that only supported kerb4 authentication.

In any case, c-client seems to pick the right driver if it's defined in
imap.c, so around line 456, instead of all the auth_links 
it probably should be something like:
#include "../../../imap-4.7b/c-client/linkage.c"

or wherever the imap-4.7 source code is.  In fact, you may not need
any of those ifdef's cuz if they are compiling this for winnt the linkage.c
should reflect that (i think.....)

Anyway, after adding the proper auth_link to the php source, using
uw's kerberos 4 imap auth works like a beauty.  I expect maybe some
others would also like this (as well as md5-cram, etc, anything else
that is defined).



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-01 23:35 UTC]
Fixed in CVS. Please reopen this report if problem persists.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 09 14:03:33 2021 UTC