From 82adfa39b75aa628c88f828278c6ac09335d1a49 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 27 Nov 2009 14:59:12 +0100 Subject: s4:samba3.py - don't read those informations out from the TDB At the moment those three calls are broken --- source4/scripting/python/samba/samba3.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source4/scripting/python/samba/samba3.py b/source4/scripting/python/samba/samba3.py index 4407677d5d..dff3671dbb 100644 --- a/source4/scripting/python/samba/samba3.py +++ b/source4/scripting/python/samba/samba3.py @@ -592,9 +592,10 @@ class TdbSam(TdbDatabase): for entry in hours: for i in range(8): user.hours.append(ord(entry) & (2 ** i) == (2 ** i)) - (user.bad_password_count, data) = unpack_uint16(data) - (user.logon_count, data) = unpack_uint16(data) - (user.unknown_6, data) = unpack_uint32(data) + # FIXME + #(user.bad_password_count, data) = unpack_uint16(data) + #(user.logon_count, data) = unpack_uint16(data) + #(user.unknown_6, data) = unpack_uint32(data) assert len(data) == 0 return user -- cgit