]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/add.c
also log cookie parsing
[openldap] / servers / slapd / add.c
index 1525b4e3e246983215b9250b497c43b6f55c24df..9c6ca2e6eedd06e66cc47378a482eeab49e54188 100644 (file)
@@ -490,6 +490,9 @@ slap_mods2entry(
                } else {
                        attr->a_nvals = attr->a_vals;
                }
+               /* slap_mods_check() gives us sorted results */
+               if ( attr->a_desc->ad_type->sat_flags & SLAP_AT_SORTED_VAL )
+                       attr->a_flags |= SLAP_ATTR_SORTED_VALS;
 
                *tail = attr;
                tail = &attr->a_next;