BIND 10 master, updated. 6443d1198b26c6fec9461301ff887258651fe423 [264] Updated Changelog

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Nov 19 11:09:20 UTC 2013


The branch, master has been updated
       via  6443d1198b26c6fec9461301ff887258651fe423 (commit)
       via  4921d7de6b5623c7e85d2baf8bc978686877345b (commit)
      from  e03adbe6fe2a91adb5065396bb00aa16fa5fc45f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6443d1198b26c6fec9461301ff887258651fe423
Author: Kean Johnston <kean at isc.org>
Date:   Tue Nov 19 13:08:25 2013 +0200

    [264] Updated Changelog

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                  |    6 ++++++
 src/bin/bindctl/bindcmd.py |    5 +++++
 2 files changed, 11 insertions(+)

-----------------------------------------------------------------------
diff --git a/ChangeLog b/ChangeLog
index 0a9c245..419afaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+705.	[bug]		kean
+	When commands are piped into bindctl, no longer attempt to query the
+	user name and password if no default user name and password file is
+	present, or it contains no valid entries.
+	(Trac #264, git 4921d7de6b5623c7e85d2baf8bc978686877345b)
+
 704.	[func]		naokikambe
 	New statistics items related to IP sockets added into b10-xfrin:
 	open, openfail, close, connfail, conn, senderr, and recverr.
diff --git a/src/bin/bindctl/bindcmd.py b/src/bin/bindctl/bindcmd.py
index 03b5d6b..bcae95c 100644
--- a/src/bin/bindctl/bindcmd.py
+++ b/src/bin/bindctl/bindcmd.py
@@ -272,6 +272,11 @@ WARNING: The Python readline module isn't available, so some command line
         else:
             self._print('Login failed: either the user name or password is '
                         'invalid.\n')
+
+        # If this was not an interactive session do not prompt for login info.
+        if not sys.stdin.isatty():
+            return False
+
         while True:
             count = count + 1
             if count > 3:



More information about the bind10-changes mailing list