Re: [Dovecot] Patch for Dovecot 1.0.1 to support cross realm GSSAPI authentication

2007-07-02 Thread Timo Sirainen
On Mon, 2007-07-02 at 19:55 +0200, Peter Eriksson wrote: > Btw. I think that the Heimdal implementation of GSSAPI has a similar > function but called gss_userok() (without the leading two "_" > characters) that does something similar - and users of Heimdal around > that can verify or deny that?

Re: [Dovecot] Patch for Dovecot 1.0.1 to support cross realm GSSAPI authentication

2007-07-02 Thread Peter Eriksson
Timo Sirainen skrev: On Mon, 2007-07-02 at 18:08 +0200, Peter Eriksson wrote: + AC_CHECK_LIB(gss, __gss_userok, [ + AC_DEFINE(HAVE___GSS_USEROK,, + Define if you have __gss_usero

Re: [Dovecot] Patch for Dovecot 1.0.1 to support cross realm GSSAPI authentication

2007-07-02 Thread Timo Sirainen
On Mon, 2007-07-02 at 18:08 +0200, Peter Eriksson wrote: > > + AC_CHECK_LIB(gss, __gss_userok, [ > + AC_DEFINE(HAVE___GSS_USEROK,, > + Define if you have > __gss_userok()) > +

Re: [Dovecot] Patch for Dovecot 1.0.1 to support cross realm GSSAPI authentication

2007-07-02 Thread Peter Eriksson
Oh, another "hack" that's needed to build Dovecot on Solaris 10 with the native GSS library is a very simple, dummy, "krb5-config" script. Please find it also enclosed (probably not needed when Solaris 10 update 4 is released). - Peter Peter Eriksson wrote: Please find enclosed two patch file

[Dovecot] Patch for Dovecot 1.0.1 to support cross realm GSSAPI authentication

2007-07-02 Thread Peter Eriksson
Please find enclosed two patch files (one for configure.in and one for src/mech/auth-gssapi.c) that fixes a problem in the GSSAPI code that prevented Dovecot to successfully authenticate when using cross-realm Kerberos credentials. Unfortunately I think it'll only work on Solaris (it uses the