summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-27 14:58:37 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-27 14:58:37 +0100
commitf299efa8f05c6a5b739222bdf75690a4591d3650 (patch)
tree9140464227a3a85eaa311dce73f6868827f3b164 /source4/scripting
parenta5d854afbc7ecc0de934040f2b6a22be55b078fe (diff)
downloadsamba-f299efa8f05c6a5b739222bdf75690a4591d3650.tar.gz
samba-f299efa8f05c6a5b739222bdf75690a4591d3650.tar.bz2
samba-f299efa8f05c6a5b739222bdf75690a4591d3650.zip
s4:samba3.py - support the TDB version 3
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/samba3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/samba3.py b/source4/scripting/python/samba/samba3.py
index 179efa2700..4407677d5d 100644
--- a/source4/scripting/python/samba/samba3.py
+++ b/source4/scripting/python/samba/samba3.py
@@ -509,7 +509,7 @@ class TdbSam(TdbDatabase):
"""Samba 3 TDB passdb backend reader."""
def _check_version(self):
self.version = fetch_uint32(self.tdb, "INFO/version\0") or 0
- assert self.version in (0, 1, 2)
+ assert self.version in (0, 1, 2, 3)
def usernames(self):
"""Iterate over the usernames in this Tdb database."""