From 0aa2bb7f156bc94e95a89dc7b75702f234ef0003 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 20 Mar 2007 18:10:46 +0000 Subject: Improve error message for clients in secure mode without a password git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2961 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Plugins/Metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 01893ea4a..f74d8956a 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -341,7 +341,7 @@ class Metadata(Bcfg2.Server.Plugin.Plugin): return False if client not in self.passwords: if client in self.secure: - self.logger.error("Client %s attempted to use global password while in secure mode" % (address[0])) + self.logger.error("Client %s in secure mode but has no password" % (address[0])) return False if password != self.password: self.logger.error("Client %s used incorrect global password" % (address[0])) -- cgit v1.2.3-1-g7c22