dsdb-operational: rework the loop for attribute removal
authorMatthieu Patou <mat@matws.net>
Fri, 28 Dec 2012 02:29:49 +0000 (18:29 -0800)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Jan 2013 21:03:14 +0000 (22:03 +0100)
commit11de734c3ba1c28c635fe6db06767596693f2872
tree09327810ec1a4176df4885c71eaeadea64844c6b
parent63d95d353e9470c0783fd540e557342bfdcd2fa6
dsdb-operational: rework the loop for attribute removal

Instead of doing ldb_in_list size(operational_remove) * (attrs_user +
attr_searched) * number of entries times to get the list of attributes to remove we construct this
list before the search and then use it for every entries.
source4/dsdb/samdb/ldb_modules/operational.c