Authenticating and authorizing as different users w/an MUA?

Igor Brezac igor at ipass.net
Tue Dec 16 11:59:36 EST 2003


On Tue, 16 Dec 2003, Etienne Goyer wrote:

> On Mon, Dec 15, 2003 at 03:18:19PM -0500, Igor Brezac wrote:
> > pine can do it.  Any c-client based client is capable of proxy
> > authorization.  php unfortunately does not export plain mech; a small
> > patch fixes this problem.  This php patch allows IMP to do proxy auth.
>
> Me want! Me want!
>
> Seriously, I have been banging my head for two complete days wondering
> why PHP was not using the authuser mailbox spec parameter.  If I could
> make it work with IMP, I'll be the happiest man around ...
>

Here you go...

--- php_imap.c.orig     Tue Dec 16 11:56:36 2003
+++ php_imap.c  Thu Nov 13 16:14:31 2003
@@ -425,6 +425,7 @@
        mail_link(&dummydriver);        /* link in the dummy driver */

 #ifndef PHP_WIN32
+       auth_link(&auth_pla);           /* link in the plain authenticator */
        auth_link(&auth_log);           /* link in the log authenticator */
        auth_link(&auth_md5);       /* link in the cram-md5 authenticator */
 #if HAVE_IMAP_KRB && defined(HAVE_IMAP_AUTH_GSS)


-- 
Igor




More information about the Info-cyrus mailing list