The Samba-Bugzilla – Attachment 15278 Details for
Bug 13967
nTDSService object may not have an tombstoneLifetime attribute
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches for v4-9-test
tmp49.diff.txt (text/plain), 1.44 KB, created by
Stefan Metzmacher
on 2019-07-02 07:51:29 UTC
(
hide
)
Description:
Patches for v4-9-test
Filename:
MIME Type:
Creator:
Stefan Metzmacher
Created:
2019-07-02 07:51:29 UTC
Size:
1.44 KB
patch
obsolete
>From 1ca73516895f1d28c3905fa20a7dffe590beafa3 Mon Sep 17 00:00:00 2001 >From: Stefan Metzmacher <metze@samba.org> >Date: Mon, 29 Apr 2019 11:59:50 +0200 >Subject: [PATCH] dbcheck: fallback to the default tombstoneLifetime of 180 > days > >If a domain was provisioned by Windows 2000 this value is missing in the >database. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13967 > >Signed-off-by: Stefan Metzmacher <metze@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Stefan Metzmacher <metze@samba.org> >Autobuild-Date(master): Tue May 28 08:32:10 UTC 2019 on sn-devel-184 > >(cherry picked from commit 2ef79a4c1d695a3e498b142810a1317d85b9b6da) >--- > python/samba/dbchecker.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/python/samba/dbchecker.py b/python/samba/dbchecker.py >index bd43667b99fd..d9939a929331 100644 >--- a/python/samba/dbchecker.py >+++ b/python/samba/dbchecker.py >@@ -199,7 +199,10 @@ class dbcheck(object): > scope=ldb.SCOPE_BASE, > expression="(objectClass=nTDSService)", > attrs=["tombstoneLifetime"]) >- self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) >+ if "tombstoneLifetime" in res[0]: >+ self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) >+ else: >+ self.tombstoneLifetime = 180 > > self.compatibleFeatures = [] > self.requiredFeatures = [] >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
abartlet
:
review+
Actions:
View
Attachments on
bug 13967
:
15247
| 15278