summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-03-20 16:13:41 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-03-20 16:13:41 +0000
commit9a7398a1a51acbad31ed4aba0b2051a63c91f6d6 (patch)
treeaf06c9153a87cf3c8bf24832131a14c3ff77e90e /src
parent11250729784b44acbb042444c283f14d990ad416 (diff)
downloadbcfg2-9a7398a1a51acbad31ed4aba0b2051a63c91f6d6.tar.gz
bcfg2-9a7398a1a51acbad31ed4aba0b2051a63c91f6d6.tar.bz2
bcfg2-9a7398a1a51acbad31ed4aba0b2051a63c91f6d6.zip
Fix Error messages and fallback password use
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2949 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py
index e70c7629c..3d5e7cbe2 100644
--- a/src/lib/Server/Plugins/Metadata.py
+++ b/src/lib/Server/Plugins/Metadata.py
@@ -346,9 +346,9 @@ class Metadata(Bcfg2.Server.Plugin.Plugin):
if password != self.password:
self.logger.error("Client %s used incorrect password" % (address[0]))
return False
+ return True
if self.passwords[client] != password:
- self.logger.error("Client %s used incorrect password for UUID %s" % \
- (address[0], user))
+ self.logger.error("Client %s used incorrect password" % (address[0]))
return False
# populate the session cache
if user != 'root':