Lines Matching defs:pattern_primary
274 * @param pattern_primary primary part of the principal we want to
283 const char *pattern_primary,
310 if (pattern_primary) {
311 tmp_len = strlen(pattern_primary);
312 if (pattern_primary[tmp_len-1] == '*') {
314 primary_str = talloc_strdup(tmp_ctx, pattern_primary);
317 } else if (pattern_primary[0] == '*') {
319 primary_str = talloc_strdup(tmp_ctx, pattern_primary+1);
329 strcmp(primary, pattern_primary) != 0) ||
341 "Principal matched to the sample (%s@%s).\n", pattern_primary,
354 const char *pattern_primary,
373 "Trying to find principal %s@%s in keytab.\n", pattern_primary, pattern_realm);
376 principal_found = match_principal(ctx, entry.principal, pattern_primary, pattern_realm);
401 pattern_primary, pattern_realm);