Skip to content
GitLab
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
780443b9
Commit
780443b9
authored
Feb 29, 2016
by
Leigh B Stoller
Browse files
Couple of little bug fixes for guest users.
parent
f202575e
Changes
2
Hide whitespace changes
Inline
Side-by-side
apt/create_instance.in
View file @
780443b9
...
...
@@ -212,6 +212,10 @@ my $sa_authority = GeniAuthority->Lookup($sa_certificate->urn());
if
(
!
defined
(
$sa_authority
))
{
fatal
("
Could not load SA authority object
");
}
# Guest users default to the APT cluster on the Mothership.
if
(
$MAINSITE
&&
!
$localuser
)
{
$default_aggregate_urn
=
$GUEST_URN
;
}
#
# We use the normal XMLRPC route, so need a context.
...
...
www/aptui/status.ajax
View file @
780443b9
...
...
@@ -311,7 +311,8 @@ function Do_GetSSHAuthObject()
}
$nodeid
=
$ajax_args
[
"nodeid"
];
$auth
=
SSHAuthObject
(
$this_user
->
uid
(),
$hostport
);
$auth
=
SSHAuthObject
(
isset
(
$this_user
)
?
$this_user
->
uid
()
:
$creator
->
uid
(),
$hostport
);
if
(
!
$auth
)
{
SPITAJAX_ERROR
(
1
,
"Could not create authentication object"
);
return
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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