1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

provision: Remove final code for the LDAP backend

The LDAP backend for the Samba AD DC, aiming to store the AD DC in
an existing LDAP server was largely removed many years aga, but the
other parts were removed in 2b0fc74a09.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Apr 23 06:12:20 UTC 2020 on sn-devel-184
This commit is contained in:
Andrew Bartlett
2020-04-20 17:09:52 +12:00
parent 4ab753f0d1
commit 54a3560498
4 changed files with 6 additions and 25 deletions

View File

@ -46,7 +46,7 @@ def create_dummy_secretsdb(path, lp=None):
paths.binddns_dir = os.path.dirname(path)
paths.keytab = "no.keytab"
paths.dns_keytab = "no.dns.keytab"
secrets_ldb = setup_secretsdb(paths, None, None, lp=lp)
secrets_ldb = setup_secretsdb(paths, None, lp=lp)
secrets_ldb.transaction_commit()
return secrets_ldb
@ -64,7 +64,7 @@ class ProvisionTestCase(samba.tests.TestCaseInTempDir):
paths.binddns_dir = os.path.dirname(path)
paths.keytab = "no.keytab"
paths.dns_keytab = "no.dns.keytab"
ldb = setup_secretsdb(paths, None, None, lp=env_loadparm())
ldb = setup_secretsdb(paths, None, lp=env_loadparm())
try:
self.assertEqual("LSA Secrets",
ldb.searchone(basedn="CN=LSA Secrets", attribute="CN").decode('utf8'))