Displaying 5 results from an estimated 5 matches for "gss_principal".
2006 Feb 10
0
Bug in gssapi support
...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
2006 Mar 01
1
Patch to src/auth/mech-gssapi.c
...--------------------------------------------------
--- src/auth/mech-gssapi.c.orig 2006-03-01 14:21:40.000000000 -0500
+++ src/auth/mech-gssapi.c 2006-03-01 14:18:58.000000000 -0500
@@ -138,7 +138,7 @@
return major_status;
}
- gss_release_name(&minor_status, gss_principal);
+ gss_release_name(&minor_status, &gss_principal);
return major_status;
}
2006 Sep 18
1
Incorrect GSSAPI Service Name for POP3
...vecot-1.0.beta8/src/auth/mech-gssapi.c dovecot-1.0.beta8.new/src/auth/mech-gssapi.c
--- dovecot-1.0.beta8/src/auth/mech-gssapi.c 2006-09-18 17:35:02.000000000 -0500
+++ dovecot-1.0.beta8.new/src/auth/mech-gssapi.c 2006-09-18 17:37:46.000000000 -0500
@@ -101,7 +101,11 @@
gss_name_t gss_principal;
principal_name = t_str_new(128);
- str_append(principal_name, t_str_lcase(request->service));
+ if(strcmp(request->service, "POP3") == 0) {
+ str_append(principal_name, "pop");
+ } else {
+ str_append(principal_name,...
2008 Aug 12
2
[PATCH] Allow GSSAPI to work with multihomed hosts
...cot providing gssapi auth to thunderbird on
both linux (mit kerb 1.6) and windows (sspi)..
--- dovecot-1.0.13/src/auth/mech-gssapi.c 2007-12-11 11:52:08.000000000 -0700
+++ dovecot-1.0.13-jgg/src/auth/mech-gssapi.c 2008-08-11 23:52:15.000000000 -0600
@@ -101,6 +101,13 @@
gss_name_t gss_principal;
const char *service_name;
+ if (strcmp(request->auth->gssapi_hostname,"$ALL") == 0) {
+ auth_request_log_info(request, "gssapi",
+ "Using all keytab entires");
+ *ret = GSS_C_NO_CREDENTIAL;
+...
2011 Aug 29
4
Kerberos GSSAPI - proper item name in keytab
...aining credentials for %s", str_c(principal_name));
inbuf.length = str_len(principal_name);
inbuf.value = str_c_modifiable(principal_name);
major_status = gss_import_name(&minor_status, &inbuf,
GSS_C_NT_HOSTBASED_SERVICE,
&gss_principal);
*********************************
So, according to source code, Dovecot tries to find in krb5.keytab a
principal named "imap at hostname". However wiki says to create the
principal named "imap/hostname at REALM".
Please, clarify where is the error: in source code, in wiki, o...