git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c348a3b
)
- fix typo
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 30 Jan 2007 23:09:55 +0000
(23:09 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 30 Jan 2007 23:09:55 +0000
(23:09 +0000)
PLC/Auth.py
patch
|
blob
|
history
diff --git
a/PLC/Auth.py
b/PLC/Auth.py
index
0bac9db
..
bb6a1c6
100644
(file)
--- a/
PLC/Auth.py
+++ b/
PLC/Auth.py
@@
-4,7
+4,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: Auth.py,v 1.1
1 2007/01/11 05:28:21
mlhuang Exp $
+# $Id: Auth.py,v 1.1
2 2007/01/30 23:08:58
mlhuang Exp $
#
import crypt
#
import crypt
@@
-215,7
+215,7
@@
class BootAuth(Auth):
raise PLCAuthenticationFailure, "Cannot determine IP address of requestor"
if nodenetwork['ip'] != method.source[0]:
raise PLCAuthenticationFailure, "Cannot determine IP address of requestor"
if nodenetwork['ip'] != method.source[0]:
- raise PLCAuthenticationFailure, "Requestor IP %s does not mach node IP %s" % \
+ raise PLCAuthenticationFailure, "Requestor IP %s does not ma
t
ch node IP %s" % \
(method.source[0], nodenetwork['ip'])
else:
raise PLCAuthenticationFailure, "No node key or boot nonce"
(method.source[0], nodenetwork['ip'])
else:
raise PLCAuthenticationFailure, "No node key or boot nonce"