Skip to content
Snippets Groups Projects
Commit d1fb80f7 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

fixes ITS#1367 for REL_ENG

parent bd7f9ba1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment