The Samba-Bugzilla – Attachment 14976 Details for
Bug 13837
Samba 4.9.5 - Error on samba-tool with python 2.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for kcc_utils
0001-py-kcc_utils-py2.6-compatibility.patch (text/plain), 1.17 KB, created by
Douglas Bagnall
on 2019-03-22 02:27:05 UTC
(
hide
)
Description:
Patch for kcc_utils
Filename:
MIME Type:
Creator:
Douglas Bagnall
Created:
2019-03-22 02:27:05 UTC
Size:
1.17 KB
patch
obsolete
>From c9a89a15cca4e7033a6b8eaa5864b3b401bddeff Mon Sep 17 00:00:00 2001 >From: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >Date: Fri, 22 Mar 2019 15:24:47 +1300 >Subject: [PATCH] py/kcc_utils: py2.6 compatibility > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13837 >Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >--- > python/samba/kcc/kcc_utils.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/python/samba/kcc/kcc_utils.py b/python/samba/kcc/kcc_utils.py >index 81d381abd99..ef4d706c8e2 100644 >--- a/python/samba/kcc/kcc_utils.py >+++ b/python/samba/kcc/kcc_utils.py >@@ -31,7 +31,7 @@ from samba.dcerpc import ( > ) > from samba.common import dsdb_Dn > from samba.ndr import ndr_unpack, ndr_pack >-from collections import Counter >+from collections import defaultdict > > > class KCCError(Exception): >@@ -2288,7 +2288,7 @@ def uncovered_sites_to_cover(samdb, site_name): > scope=ldb.SCOPE_SUBTREE, > expression="(objectClass=site)") > >- sites_in_use = Counter() >+ sites_in_use = defaultdict(int) > dc_count = 0 > > # Assume server is of form DC,Servers,Site-ABCD because of schema >-- >2.11.0 >
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
Actions:
View
Attachments on
bug 13837
:
14952
|
14953
|
14976
|
14983
|
14993
|
14994
|
15002
|
15003
|
15004