[Dovecot] Bug in gssapi support

Mark Davies mark at mcs.vuw.ac.nz
Fri Feb 10 22:21:18 EET 2006


Hi,
   Was trying to use the gssapi support and the authentication would 
consistently die for me.  The following patch fixes:

--- src/auth/mech-gssapi.c.orig	2006-01-10 15:46:10.000000000 +1300
+++ src/auth/mech-gssapi.c
@@ -138,7 +138,7 @@ static OM_uint32 obtain_service_credenti
 		return major_status;
 	}
 
-	gss_release_name(&minor_status, gss_principal);
+	gss_release_name(&minor_status, &gss_principal);
 
 	return major_status;
 }


as gss_release_name takes a pointer to a gss_name_t as second arg.

cheers
mark


More information about the dovecot mailing list