Lines Matching defs:type
51 * A keytab name is on the form type:residual. The residual part is
52 * specific to each keytab-type.
54 * When a keytab-name is resolved, the type is matched with an internal
55 * list of keytab types. If there is no matching keytab type,
56 * the default keytab is used. The current default type is FILE.
64 * store the keytab in a file, the type's name is FILE . The
74 * the type's name is AFSKEYFILE. The residual part is a filename.
78 * and/or temporary data not to be stored on disk. The type's name
150 N_("can't register cache type, prefix too long", ""));
169 keytab_name(const char *name, const char **type, size_t *type_len)
178 /* Avoid treating <drive>:<path> as a keytab type
184 *type = "FILE";
185 *type_len = strlen(*type);
188 *type = name;
197 * Resolve the keytab name (of the form `type:residual') in `name'
217 const char *type, *residual;
221 residual = keytab_name(name, &type, &type_len);
224 if(strncasecmp(type, context->kt_types[i].prefix, type_len) == 0)
229 N_("unknown keytab type %.*s", "type"),
230 (int)type_len, type);
373 * Return the type of the `keytab' in the string `prefix of length
437 char type[KRB5_KT_PREFIX_MAX_LEN];
443 ret = krb5_kt_get_type(context, keytab, type, sizeof(type));
451 if (asprintf(str, "%s:%s", type, name) == -1) {
534 * @param enctype encryption type to match, 0 matches all encryption types.
600 * @param enctype encryption type to match, 0 matches all encryption types.
735 "in the %s keytab type", ""),