NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP, IMAP, c-client

Dan ml at mutox.org
Sun Apr 25 23:58:16 EDT 2004


Hi all,

I posted this message to the fedora-list at redhat.com. Someone there
pointed me here and said you guys know a thing or 2 :)


I believe im having problems similar to this:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=60984

I have a Cyrus IMAP server, with GSSAPI authentication enabled. I have a
PHP app which connects to Cyrus and performs administrative tasks.

My PHP code is calling imap_open, but this is failing as the c-client
seems to be trying GSSAPI authentication, then giving up, due to
credential cache errors.

In the above url, the resolution was to remove the cyrus-sasl-gssapi
package. However, this of course breaks any applications which utilise
GSSAPI! I can live with this, but i hate having to re-enter passwords :)

My question is this: How can i force c-client to NOT use gssapi for this
application? I considered rebuilding the imap-devel or libc-client-devel
packages, but this would affect other applications like pine which *do*
utilise gssapi for imap. 1 thought i had was to build a custom c-client
(Without kerberos or gssapi) and statically link that into php.

So if anyone has any idea,, or other suggestions, i would love to hear
them.

Cheers,

Dan




More information about the talk mailing list