PHP 4.0 Bug #4136: imap php not loading all drivers from c-client
| From: | dbrumley at stanford dot edu | Date: | Thu, 13 Apr 2000 17:49:34 +0000 |
| Subject: | PHP 4.0 Bug #4136: imap php not loading all drivers from c-client | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17887@lists.php.net to get a copy of this message | ||
From: dbrumley@stanford.edu
Operating system: solaris 2.7
PHP version: 4.0 Release Candidate 1
PHP Bug Type: IMAP related
Bug description: imap php not loading all drivers from c-client
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