Add LDB_MAP_RENDROP option
authorHoward Chu <hyc@symas.com>
Wed, 18 Sep 2013 23:50:34 +0000 (16:50 -0700)
committerNadezhda Ivanova <nivanova@symas.com>
Tue, 24 Sep 2013 01:40:25 +0000 (18:40 -0700)
commit93f3aba5e083976a791b982b2064b619800ce110
tree20e327c5a25c39758e3a81eaf87f8476dfd75c28
parentbc1503a96656f1274aa93ac7cab88401c96cac60
Add LDB_MAP_RENDROP option

Like LDB_MAP_RENAME, but drop the attribute if it occurs in an Add request.
Used for distinguishedName attribute, is read-only and generated but for
some bizarre reason AD allows it in an Add request.

Signed-off-by: Howard Chu <hyc@symas.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@symas.com>
lib/ldb/ldb_map/ldb_map.c
lib/ldb/ldb_map/ldb_map.h
lib/ldb/ldb_map/ldb_map_inbound.c
lib/ldb/ldb_map/ldb_map_outbound.c
source4/dsdb/samdb/ldb_modules/simple_ldap_map.c