Lines Matching refs:adminservers
442 rparams->adminservers = (char **)malloc(
444 if (rparams->adminservers == NULL) {
448 memset(rparams->adminservers, 0, sizeof(char*)*MAX_LIST_ENTRIES);
450 rparams->adminservers))) {
884 if ((rparams != NULL) && (rparams->adminservers != NULL)) {
885 for (i=0; (rparams->adminservers[i] != NULL); i++) {
887 LDAP_ADMIN_SERVICE, rparams->adminservers[i],
1244 if ((rmask & LDAP_REALM_ADMINSERVERS) && (rparams->adminservers)) {
1253 for (j=0; rparams->adminservers[j] != NULL; j++) {
1254 oldadmindns[j] = strdup(rparams->adminservers[j]);
1263 krb5_free_list_entries(rparams->adminservers);
1264 free(rparams->adminservers);
1267 rparams->adminservers = (char **)malloc(
1269 if (rparams->adminservers == NULL) {
1273 memset(rparams->adminservers, 0, sizeof(char *)*MAX_LIST_ENTRIES);
1275 rparams->adminservers))) {
1287 if ((!newadmindn) && (rmask & LDAP_REALM_ADMINSERVERS) && (rparams->adminservers)) {
1296 for (j=0; rparams->adminservers[j] != NULL; j++) {
1297 oldadmindns[j] = strdup(rparams->adminservers[j]);
1310 list_modify_str_array(&rparams->adminservers, (const char **)list,
1319 if ((rmask & LDAP_REALM_ADMINSERVERS) && (rparams->adminservers) && (!oldadmindns)) {
1327 for (j=0; rparams->adminservers[j] != NULL; j++) {
1328 oldadmindns[j] = strdup(rparams->adminservers[j]);
1341 existing_entries = list_count_str_array(rparams->adminservers);
1345 rparams->adminservers,
1351 rparams->adminservers = tempstr;
1353 rparams->adminservers = (char **)malloc(sizeof(char *) * (list_entries+1));
1354 if (rparams->adminservers == NULL) {
1358 memset(rparams->adminservers, 0, sizeof(char *) * (list_entries+1));
1360 list_modify_str_array(&rparams->adminservers, (const char **)list,
1648 if ((rparams != NULL) && (rparams->adminservers != NULL)) {
1649 for (j=0; rparams->adminservers[j]!= NULL; j++) {
1650 newadmindns[j] = strdup(rparams->adminservers[j]);
1670 if ((rparams != NULL) && (rparams->adminservers != NULL)) {
1671 for (j=0; rparams->adminservers[j]!= NULL; j++) {
1672 oldadmindns[j] = strdup(rparams->adminservers[j]);
1992 if (rparams->adminservers != NULL) {
1994 for (slist = rparams->adminservers; *slist != NULL; slist++) {
2586 if ((rparams != NULL) && (rparams->adminservers != NULL)) {
2587 for (i=0; (rparams->adminservers[i] != NULL); i++) {
2589 LDAP_ADMIN_SERVICE, rparams->adminservers[i],