fixes ITS#1367 for REL_ENG

This commit is contained in:
Pierangelo Masarati 2001-12-07 15:46:58 +00:00
parent bd7f9ba1da
commit d1fb80f738

View File

@ -169,7 +169,12 @@ ldap_send_entry(
continue;
attr->a_next = 0;
attr->a_desc = NULL;
slap_str2ad(a, &attr->a_desc, &text);
if (slap_str2ad(a, &attr->a_desc, &text) != LDAP_SUCCESS) {
if (slap_str2undef_ad(a, &attr->a_desc, &text) != LDAP_SUCCESS) {
ch_free(attr);
continue;
}
}
attr->a_vals = ldap_get_values_len(lc->ld, e, a);
if (!attr->a_vals)
attr->a_vals = &dummy;