php.net |  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
 [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).


cheers,
david

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 17:05:46 2021 UTC