ldbedit: Prevent the use of the reveal internals control
authorGarming Sam <garming@catalyst.net.nz>
Sun, 29 Jan 2017 22:08:07 +0000 (11:08 +1300)
committerGarming Sam <garming@samba.org>
Wed, 22 Feb 2017 03:23:05 +0000 (04:23 +0100)
commitbed19f3744a4193bed1ea99debfb6263feb78b6c
tree23f84a9709f334c8e7bb483da356dc63cdfe4e98
parent16ea6e1308a7d94a501d002ed53529f6d754e940
ldbedit: Prevent the use of the reveal internals control

This is almost certainly not what you want to do. Providing the output of reveal as the input of modify
will necessarily revivify all dead linked attributes (regardless of --extended-dn or not).

This is extremely unexpected behaviour, so we prevent this from happening.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12596

Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Wed Feb 22 04:23:05 CET 2017 on sn-devel-144
lib/ldb/tools/ldbedit.c