From: Matthias Dieter Wallnöfer Date: Fri, 27 Nov 2009 13:58:37 +0000 (+0100) Subject: s4:samba3.py - support the TDB version 3 X-Git-Tag: samba-4.0.0alpha9~110 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f299efa8f05c6a5b739222bdf75690a4591d3650;p=thirdparty%2Fsamba.git s4:samba3.py - support the TDB version 3 --- diff --git a/source4/scripting/python/samba/samba3.py b/source4/scripting/python/samba/samba3.py index 179efa2700a..4407677d5dd 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."""