mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
0945b9babd
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>
(cherry picked from commit e1eee614ca
)
15 lines
963 B
Plaintext
15 lines
963 B
Plaintext
# The fl2000dc environment is provisioned with the --plaintext-secrets option
|
|
# running the ecnrypted secrets tests on it and expecting them to fail.
|
|
# verifies that:
|
|
# * --plaintext-secrets option correctly provisions a domain
|
|
# * the dsdb operational module correctly handles unencrypted secrets
|
|
# * secrets are not stored as encrypted text when this option is specified
|
|
^samba.tests.encrypted_secrets.samba.tests.encrypted_secrets.EncryptedSecretsTests.test_encrypted_secrets\(fl2000dc:local\)
|
|
^samba.tests.encrypted_secrets.samba.tests.encrypted_secrets.EncryptedSecretsTests.test_required_features\(fl2000dc:local\)
|
|
#
|
|
# The tests for bug 13563 https://bugzilla.samba.org/show_bug.cgi?id=13653
|
|
# should fail in the mdb case, as sam.ldb is currently a tdb file.
|
|
#
|
|
^samba.tests.blackbox.bug13653.python3.samba.tests.blackbox.bug13653.Bug13653Tests.test_mdb_scheme
|
|
^samba.tests.blackbox.bug13653.samba.tests.blackbox.bug13653.Bug13653Tests.test_mdb_scheme
|