return NULL;
}
- for (idp = comm->idp_realms; NULL != idp; idp = idp->next) {
+ for (idp = comm->idp_realms; NULL != idp; idp = idp->comm_next) {
if (!tr_name_cmp (idp_realm, idp->realm_id)) {
- tr_debug("tr_find_comm_idp: Found %s.", idp_realm->buf);
+ tr_debug("tr_find_comm_idp: Found IdP %s in community %s.", idp_realm->buf, comm->id->buf);
return idp;
}
}
for (rp = comm->rp_realms; NULL != rp; rp = rp->next) {
if (!tr_name_cmp (rp_realm, rp->realm_name)) {
- tr_debug("tr_find_comm_idp: Found %s.", rp_realm->buf);
+ tr_debug("tr_find_comm_rp: Found RP %s in community %s.", rp_realm->buf, comm->id->buf);
return rp;
}
}