Searched refs:newdn (Results 1 – 2 of 2) sorted by relevance
56 __nis_object_dn_t *newdn);316 newdn->read.base = NULL; in copy_object_dn()318 newdn->read.base = s_strndup( in copy_object_dn()320 if (newdn->read.base == NULL) in copy_object_dn()331 newdn->read.attrs = NULL; in copy_object_dn()340 newdn->write.base = NULL; in copy_object_dn()350 newdn->write.attrs = NULL; in copy_object_dn()356 if (newdn->dbIdName == NULL) in copy_object_dn()366 if (!newdn->dbId) in copy_object_dn()373 if (newdn->next == NULL) in copy_object_dn()[all …]
4441 char *newdn, **rdns = NULL; in __ns_ldap_dn2domain() local4469 newdn = (char *)malloc(len + 1); in __ns_ldap_dn2domain()4471 if (newdn == NULL || dns == NULL) { in __ns_ldap_dn2domain()4472 if (newdn) in __ns_ldap_dn2domain()4473 free(newdn); in __ns_ldap_dn2domain()4479 *newdn = '\0'; in __ns_ldap_dn2domain()4481 dns[i] = newdn + strlen(newdn); in __ns_ldap_dn2domain()4482 (void) strcat(newdn, in __ns_ldap_dn2domain()4484 (void) strcat(newdn, ","); in __ns_ldap_dn2domain()4487 newdn[strlen(newdn) - 1] = '\0'; in __ns_ldap_dn2domain()[all …]