Home | History | Annotate | Download | only in krb5

Lines Matching defs:primary

56     char *primary = NULL;
58 asprintf(&primary, "%s/primary", dc->dir);
59 if (primary == NULL)
62 return primary;
75 char *path = NULL, *primary = NULL;
87 asprintf(&path, "%s/primary-XXXXXX", dc->dir);
115 primary = primary_create(dc);
116 if (primary == NULL) {
121 if (rename(path, primary) < 0) {
137 if (primary)
138 free(primary);
148 char *primary;
152 primary = primary_create(dc);
153 if (primary == NULL)
156 f = fopen(primary, "r");
159 free(primary);
166 krb5_set_error_message(context, ret, "failed to open %s", primary);
167 free(primary);
174 krb5_set_error_message(context, ret, "read file %s", primary);
175 free(primary);
184 "name in %s is not a cache (doesn't start with tkt)", primary);
185 free(primary);
189 free(primary);