The Samba-Bugzilla – Attachment 14918 Details for
Bug 13828
samba-tool domain provision --interactive 'hangs'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch cherry-picked from master for 4.10
0001-samba-tool-domain-provision-Fix-interactive-module-i.patch (text/plain), 1.23 KB, created by
Andrew Bartlett
on 2019-03-12 03:58:36 UTC
(
hide
)
Description:
patch cherry-picked from master for 4.10
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2019-03-12 03:58:36 UTC
Size:
1.23 KB
patch
obsolete
>From 3295eeb377672ebe7633851f4a035937a71b2d58 Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Sun, 10 Mar 2019 23:38:27 +0000 >Subject: [PATCH] samba-tool domain provision: Fix --interactive module in > python3 > >The prompts were not being printed to the screen because the stream >was not being flushed. > >As reported on the samba mailing list by Adam Xu: >https://lists.samba.org/archive/samba/2019-March/221753.html > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13828 > >Signed-off-by: Andrew Bartlett <abartlet@samba.org> >Reviewed-by: Tim Beale <timbeale@catalyst.net.nz> >(cherry picked from commit 31aecee1446c5006771aaa535ae85810bbfb5db0) >--- > python/samba/netcmd/domain.py | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py >index b7aedc1..2aebb5f 100644 >--- a/python/samba/netcmd/domain.py >+++ b/python/samba/netcmd/domain.py >@@ -390,6 +390,7 @@ class cmd_domain_provision(Command): > print("%s [%s]: " % (prompt, default), end=' ') > else: > print("%s: " % (prompt,), end=' ') >+ sys.stdout.flush() > return sys.stdin.readline().rstrip("\n") or default > > try: >-- >2.7.4 >
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?
(
metze
)
timbeale
:
review+
Actions:
View
Attachments on
bug 13828
: 14918