Displaying 3 results from an estimated 3 matches for "obtain_service_credenti".
2006 Feb 10
0
Bug in gssapi support
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
2008 Aug 12
2
[PATCH] Allow GSSAPI to work with multihomed hosts
I saw some past chatter on this in the list archives, but here is
another stab and another rational.
This patch follows a similar patch to openssh in that it allows any
key in the specified keytab to match the incoming host key. This is
necessary for multihomed hosts. See:
https://bugzilla.mindrot.org/show_bug.cgi?id=928
IMAP/POP seem to be a strong candidate to be multihomed because they
are
2011 Aug 29
4
Kerberos GSSAPI - proper item name in keytab
...hostname = efim.test.local >> then everything works fine. I
decided to find out where is the problem, so I dig into source code of
gssapi module, "mech-gssapi.c". For versions 2.0.13 and 2.0.14 of
dovecot I see there the following:
********* mech-gssapi.c *********
static OM_uint32
obtain_service_credentials(struct auth_request *request, gss_cred_id_t
*ret_r)
/* blah-blah-blah */
principal_name = t_str_new(128);
str_append(principal_name, service_name);
str_append_c(principal_name, '@');
str_append(principal_name, request->set->gssapi_hostname);
auth_request_log_de...