From: Noel Power Date: Fri, 7 Sep 2018 13:38:54 +0000 (+0100) Subject: python/samba: extra ndr_unpack needs bytes function X-Git-Tag: tdb-1.3.17~1602 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8db43696e70d7c4cb21172b7e7461cf6a72914a2;p=thirdparty%2Fsamba.git python/samba: extra ndr_unpack needs bytes function --- diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py index 675c92e2205..d1251a26299 100644 --- a/python/samba/dbchecker.py +++ b/python/samba/dbchecker.py @@ -2280,7 +2280,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn), str(to_base))) # It's 29/12/9999 at 23:59:59 UTC as specified in MS-ADTS 7.1.1.4.2 Deleted Objects Container expectedTimeDo = 2650466015990000000 - originating = self.get_originating_time(obj["replPropertyMetaData"], isDeletedAttId) + originating = self.get_originating_time(obj["replPropertyMetaData"][0], isDeletedAttId) if originating != expectedTimeDo: if self.confirm_all("Fix isDeleted originating_change_time on '%s'" % str(dn), 'fix_time_metadata'): nmsg = ldb.Message()