Searched refs:dbprincstr (Results 1 – 2 of 2) sorted by relevance
307 char *dbprincstr = NULL; in ulog_replay() local341 dbprincstr = malloc((upd->kdb_princ_name.utf8str_t_len in ulog_replay()344 if (dbprincstr == NULL) { in ulog_replay()349 (void) strlcpy(dbprincstr, in ulog_replay()353 if (retval = krb5_parse_name(context, dbprincstr, in ulog_replay()358 if (dbprincstr) in ulog_replay()359 free(dbprincstr); in ulog_replay()
618 char *dbprincstr = NULL; in ulog_conv_2dbentry() local637 dbprincstr = malloc((upd->kdb_princ_name.utf8str_t_len + 1) in ulog_conv_2dbentry()639 if (dbprincstr == NULL) in ulog_conv_2dbentry()641 strncpy(dbprincstr, (char *)upd->kdb_princ_name.utf8str_t_val, in ulog_conv_2dbentry()643 dbprincstr[upd->kdb_princ_name.utf8str_t_len] = 0; in ulog_conv_2dbentry()644 ret = krb5_parse_name(context, dbprincstr, &dbprinc); in ulog_conv_2dbentry()645 free(dbprincstr); in ulog_conv_2dbentry()