dsdb: Allow search before init() call in encrypted_secrets
authorAndrew Bartlett <abartlet@samba.org>
Mon, 9 Apr 2018 09:15:25 +0000 (21:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Apr 2018 03:15:16 +0000 (05:15 +0200)
commita755c413c87155b8dd94d6938ae2ddbd1e328403
tree6b259c75810b99cf93776eeb2387e3372884bc88
parentbd5f6f5a8327398bb261582d0e2c2de23854ad5d
dsdb: Allow search before init() call in encrypted_secrets

Simply do not decrypt anything until the init call is run.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13379

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/encrypted_secrets.c