Lines Matching refs:rparams
1138 krb5_realm_params *rparams;
1155 rparams = (krb5_realm_params *) NULL;
1168 rparams = (krb5_realm_params *) malloc(sizeof(krb5_realm_params));
1169 if (rparams == 0) {
1175 memset((char *) rparams, 0, sizeof(krb5_realm_params));
1183 rparams->realm_dbname = svalue;
1188 rparams->realm_kdc_ports = svalue;
1191 rparams->realm_kdc_tcp_ports = svalue;
1196 rparams->realm_acl_file = svalue;
1201 rparams->realm_kadmind_port = ivalue;
1202 rparams->realm_kadmind_port_valid = 1;
1208 rparams->realm_mkey_name = svalue;
1213 if (!krb5_string_to_enctype(svalue, &rparams->realm_enctype))
1214 rparams->realm_enctype_valid = 1;
1221 rparams->realm_stash_file = svalue;
1226 rparams->realm_max_life = dtvalue;
1227 rparams->realm_max_life_valid = 1;
1233 rparams->realm_max_rlife = dtvalue;
1234 rparams->realm_max_rlife_valid = 1;
1241 &rparams->realm_expiration))
1242 rparams->realm_expiration_valid = 1;
1248 rparams->realm_reject_bad_transit = bvalue;
1249 rparams->realm_reject_bad_transit_valid = 1;
1258 rparams->realm_flags = 0;
1278 &rparams->realm_flags))
1283 rparams->realm_flags_valid = 1;
1309 &rparams->realm_keysalts,
1310 &rparams->realm_num_keysalts);
1320 if (rparams)
1321 krb5_free_realm_params(kcontext, rparams);
1322 rparams = 0;
1324 *rparamp = rparams;
1332 krb5_free_realm_params(kcontext, rparams)
1334 krb5_realm_params *rparams;
1336 if (rparams) {
1337 if (rparams->realm_profile)
1338 krb5_xfree(rparams->realm_profile);
1339 if (rparams->realm_dbname)
1340 krb5_xfree(rparams->realm_dbname);
1341 if (rparams->realm_mkey_name)
1342 krb5_xfree(rparams->realm_mkey_name);
1343 if (rparams->realm_stash_file)
1344 krb5_xfree(rparams->realm_stash_file);
1345 if (rparams->realm_keysalts)
1346 krb5_xfree(rparams->realm_keysalts);
1347 if (rparams->realm_kdc_ports)
1348 krb5_xfree(rparams->realm_kdc_ports);
1349 if (rparams->realm_kdc_tcp_ports)
1350 krb5_xfree(rparams->realm_kdc_tcp_ports);
1351 if (rparams->realm_acl_file)
1352 krb5_xfree(rparams->realm_acl_file);
1353 krb5_xfree(rparams);