Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6cfe8ad5
Commit
6cfe8ad5
authored
Mar 26, 2010
by
Srikanth Chikkulapelly
Browse files
fixed a minor bug. Now it can be used to generate special credentials on clearing house
parent
f90ccf30
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/scripts/genclrcredentials.in
View file @
6cfe8ad5
...
...
@@ -7,6 +7,10 @@
use
strict
;
use
lib
'
@prefix@/lib
';
# Do this early so that we talk to the right DB.
use
vars
qw($GENI_DBNAME $GENI_ISCLRHOUSE)
;
BEGIN
{
$GENI_DBNAME
=
"
geni-ch
";
$GENI_ISCLRHOUSE
=
1
;
}
use
GeniCredential
;
use
GeniCertificate
;
use
GeniAuthority
;
...
...
@@ -67,7 +71,7 @@ if($numArgs !=2) {
print
"
Please specify <user-urn> <ch-urn> as command line arguments
\n\n
";
}
else
{
my
$val
=
CreateSpecialCredential
@ARGV
;
#print
STDERR
$val->{"
code
"};
#print
STDERR
$val->{"
valu
e"};
print
$val
->
{"
output
"};
#print $val->{"
output
"};
#print $val->{"
cod
e"};
print
$val
->
{"
value
"};
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment