Lines Matching refs:rpp
314 kadm5int_acl_parse_restrictions(s, rpp)
316 restriction_t **rpp;
325 ("* kadm5int_acl_parse_restrictions(s=%20s, rpp=0x%08x)\n", s, (long)rpp));
327 *rpp = (restriction_t *) NULL;
331 || !(*rpp = (restriction_t *) malloc(sizeof(restriction_t)))) {
334 memset(*rpp, 0, sizeof(**rpp));
341 (*rpp)->require_attrs |= flag;
345 (*rpp)->forbid_attrs |= ~flag;
347 (*rpp)->mask |= KADM5_ATTRIBUTES;
349 (*rpp)->mask |= KADM5_POLICY_CLR;
357 if (!((*rpp)->policy = strdup(ap))) {
361 (*rpp)->mask |= KADM5_POLICY;
369 (*rpp)->princ_lifetime = dt;
370 (*rpp)->mask |= KADM5_PRINC_EXPIRE_TIME;
372 (*rpp)->pw_lifetime = dt;
373 (*rpp)->mask |= KADM5_PW_EXPIRATION;
375 (*rpp)->max_life = dt;
376 (*rpp)->mask |= KADM5_MAX_LIFE;
378 (*rpp)->max_renewable_life = dt;
379 (*rpp)->mask |= KADM5_MAX_RLIFE;
391 if (*rpp && code) {
392 if ((*rpp)->policy)
393 free((*rpp)->policy);
394 free(*rpp);
395 *rpp = (restriction_t *) NULL;
399 code, (*rpp) ? (*rpp)->mask : 0));