dsdb encrypted_secrets tests: Allow "ldb://" in file path
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 15 Oct 2018 03:01:47 +0000 (16:01 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 19 Oct 2018 04:17:25 +0000 (06:17 +0200)
commite1eee614ca8a3f0f5609a3d9d8ce7ae926de1f9e
tree3c1f2e69af9841284a47c8bd535023ea85fa7fc2
parentb6e45fb479689cff028b1fe626533b035e313ce3
dsdb encrypted_secrets tests: Allow "ldb://" in file path

When creating a new user and specifying the local file path of the
sam.ldb DB, it's possible to create an account that you can't actually
login with.

This commit contains tests to verify the bug.

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

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/blackbox/bug13653.py [new file with mode: 0644]
selftest/knownfail.d/bug13653 [new file with mode: 0644]
selftest/knownfail.d/encrypted_secrets
source4/dsdb/samdb/ldb_modules/tests/test_encrypted_secrets.c
source4/dsdb/samdb/ldb_modules/wscript_build
source4/selftest/tests.py