Add LDB_MAP_RENDROP option
commitcdd4ef63198b1b75e37a1ed6cc83275d5790ec64
authorHoward Chu <hyc@symas.com>
Wed, 18 Sep 2013 23:50:34 +0000 (18 16:50 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:13 +0000 (15 12:46 +0200)
treeeaa93836c503aa49b3427ca5c0018643c7690d75
parentc257bc6ccd156d84be907304a065e496c38fedb7
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>
(cherry picked from commit 93f3aba5e083976a791b982b2064b619800ce110)
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