diff options
-rwxr-xr-x | selftest/target/Samba3.pm | 6 | ||||
-rw-r--r-- | source3/selftest/ktest-secrets.tdb2 | bin | 14592 -> 0 bytes | |||
-rw-r--r-- | source4/scripting/python/samba/samba3/__init__.py | 7 | ||||
-rw-r--r-- | testdata/samba3/account_policy.tdb2 | bin | 12192 -> 0 bytes | |||
-rw-r--r-- | testdata/samba3/group_mapping.tdb2 | bin | 14592 -> 0 bytes | |||
-rw-r--r-- | testdata/samba3/passdb.tdb2 | bin | 11392 -> 0 bytes | |||
-rw-r--r-- | testdata/samba3/registry.tdb2 | bin | 15392 -> 0 bytes | |||
-rw-r--r-- | testdata/samba3/secrets.tdb2 | bin | 17792 -> 0 bytes | |||
-rw-r--r-- | testdata/samba3/share_info.tdb2 | bin | 11392 -> 0 bytes | |||
-rw-r--r-- | testdata/samba3/winbindd_idmap.tdb2 | bin | 15392 -> 0 bytes |
10 files changed, 3 insertions, 10 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 3c0fbe9220..211bbb6a89 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -451,11 +451,7 @@ $ret->{USERNAME} = KTEST\\Administrator #Samba4 DC with the same parameters as are being used here. The #domain SID is S-1-5-21-1071277805-689288055-3486227160 - if (defined($ENV{BUILD_TDB2})) { - system("cp $self->{srcdir}/source3/selftest/ktest-secrets.tdb2 $prefix/private/secrets.tdb"); - } else { - system("cp $self->{srcdir}/source3/selftest/ktest-secrets.tdb $prefix/private/secrets.tdb"); - } + system("cp $self->{srcdir}/source3/selftest/ktest-secrets.tdb $prefix/private/secrets.tdb"); chmod 0600, "$prefix/private/secrets.tdb"; #This uses a pre-calculated krb5 credentials cache, obtained by running Samba4 with: diff --git a/source3/selftest/ktest-secrets.tdb2 b/source3/selftest/ktest-secrets.tdb2 Binary files differdeleted file mode 100644 index 2af58b140f..0000000000 --- a/source3/selftest/ktest-secrets.tdb2 +++ /dev/null diff --git a/source4/scripting/python/samba/samba3/__init__.py b/source4/scripting/python/samba/samba3/__init__.py index dd2f927aa4..a955be1a73 100644 --- a/source4/scripting/python/samba/samba3/__init__.py +++ b/source4/scripting/python/samba/samba3/__init__.py @@ -53,12 +53,9 @@ class TdbDatabase(object): def __init__(self, file): """Open a file. - :param file: Path of the file to open (appending "2" if TDB2 enabled). + :param file: Path of the file to open. """ - if tdb.__version__.startswith("2"): - self.tdb = tdb.Tdb(file + "2", flags=os.O_RDONLY) - else: - self.tdb = tdb.Tdb(file, flags=os.O_RDONLY) + self.tdb = tdb.Tdb(file, flags=os.O_RDONLY) self._check_version() def _check_version(self): diff --git a/testdata/samba3/account_policy.tdb2 b/testdata/samba3/account_policy.tdb2 Binary files differdeleted file mode 100644 index 434787e070..0000000000 --- a/testdata/samba3/account_policy.tdb2 +++ /dev/null diff --git a/testdata/samba3/group_mapping.tdb2 b/testdata/samba3/group_mapping.tdb2 Binary files differdeleted file mode 100644 index 1a6466ea04..0000000000 --- a/testdata/samba3/group_mapping.tdb2 +++ /dev/null diff --git a/testdata/samba3/passdb.tdb2 b/testdata/samba3/passdb.tdb2 Binary files differdeleted file mode 100644 index 4ef87ed001..0000000000 --- a/testdata/samba3/passdb.tdb2 +++ /dev/null diff --git a/testdata/samba3/registry.tdb2 b/testdata/samba3/registry.tdb2 Binary files differdeleted file mode 100644 index d747c3d055..0000000000 --- a/testdata/samba3/registry.tdb2 +++ /dev/null diff --git a/testdata/samba3/secrets.tdb2 b/testdata/samba3/secrets.tdb2 Binary files differdeleted file mode 100644 index 5f88d6ac80..0000000000 --- a/testdata/samba3/secrets.tdb2 +++ /dev/null diff --git a/testdata/samba3/share_info.tdb2 b/testdata/samba3/share_info.tdb2 Binary files differdeleted file mode 100644 index 96e4c7aaf8..0000000000 --- a/testdata/samba3/share_info.tdb2 +++ /dev/null diff --git a/testdata/samba3/winbindd_idmap.tdb2 b/testdata/samba3/winbindd_idmap.tdb2 Binary files differdeleted file mode 100644 index a63d875055..0000000000 --- a/testdata/samba3/winbindd_idmap.tdb2 +++ /dev/null |