mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4:samba3.py - support the TDB version 3
This commit is contained in:
parent
a5d854afbc
commit
f299efa8f0
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user