Displaying 3 results from an estimated 3 matches for "t_str_lcase".
2006 Sep 18
1
Incorrect GSSAPI Service Name for POP3
...ot-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, t_str_lcase(request->service));
+ }
str_append_c(principal_name, '@...
2012 Jul 25
1
fts-lucene vs SEARCH HEADER
...24 14:03:14.000000000 -0400
@@ -1094,7 +1094,7 @@
return false;
q = lucene_get_query(index,
- t_lucene_utf8_to_tchar(index, arg->hdr_field_name, FALSE),
+ t_lucene_utf8_to_tchar(index, t_str_lcase(arg->hdr_field_name), FALSE),
arg);
break;
default:
Now:
B SEARCH TO TEST
* SEARCH 1 2 3 4 5 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 26 27 28 29 31
B OK Search completed (0.000 secs).
C SEARCH HEADER TO TEST
* SEARCH 1 2 3 4 5...
2004 Aug 09
1
[PATCH] RPA authentication mechanism
...ar *service;
+ char *error;
+
+ if (!rpa_parse_token1(data, data_size, &error)) {
+ if (verbose)
+ i_info("rpa(%s): invalid token 1, %s",
+ get_log_prefix(auth_request),
+ error);
+ mech_auth_finish(auth_request, NULL, 0, FALSE);
+ return TRUE;
+ }
+
+ service = t_str_lcase(auth_request->protocol);
+
+ token2 = mech_rpa_build_token2(auth, t_strconcat(service, "@",
+ my_hostname, NULL), &token2_size);
+
+ auth->service_ucs2be = ucs2be_str(auth->pool, service,
+ &auth->service_len);
+ auth->realm_ucs2be = ucs2be_str(auth-...