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

fix attribute mapping bug

parent 4f4f5dc9
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ ldap_back_map_attrs(
if (na == NULL)
return(NULL);
for (i = 0; an[i].an_name.bv_val; i++) {
for (i = 0; an[i].an_name.bv_val; ) {
ldap_back_map(at_map, &an[i].an_name, &mapped, remap);
if (mapped.bv_val != NULL) {
na[i] = mapped.bv_val;
......
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