Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* if not we remove the attribute.
*/
for (i = msg->num_elements - 1; i >= 0; i--) {
+ const char *ldapattrname;
+
el = &(msg->elements[i]);
+ ldapattrname = el->name;
+
attr = dsdb_attribute_by_lDAPDisplayName(dsc->schema,
el->name);
- const char *ldapattrname = el->name;
keep = false;
if (attr->linkID & 1) {
struct ldb_message *msg, enum ldb_scope scope,
struct ldb_request *parent)
{
- struct ldb_context *ldb = ldb_module_get_ctx(module);;
+ struct ldb_context *ldb = ldb_module_get_ctx(module);
TALLOC_CTX *tmp_ctx = talloc_new(msg);
unsigned int i;
int ret;