summaryrefslogtreecommitdiff
path: root/python/samba/dbchecker.py
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-09-07 14:38:54 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-09-15 15:18:26 +0200
commit8db43696e70d7c4cb21172b7e7461cf6a72914a2 (patch)
treeac212cc63d2b89052d54d0af2b518f5806fa4977 /python/samba/dbchecker.py
parent7afa2d93260bdf74fec108ceca4e6add357454c0 (diff)
downloadsamba-8db43696e70d7c4cb21172b7e7461cf6a72914a2.tar.gz
python/samba: extra ndr_unpack needs bytes function
Diffstat (limited to 'python/samba/dbchecker.py')
-rw-r--r--python/samba/dbchecker.py2
1 files changed, 1 insertions, 1 deletions
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()