Commit 552f6948 authored by Kevin Atkinson's avatar Kevin Atkinson

Rename:

  write-vis-auth-boss -> write-vis-auth
  write-vis-auth-ops -> write-vis-auth.proxy
parent c662a71b
......@@ -12,10 +12,10 @@ SUBDIR = collab/exp-vis
include $(OBJDIR)/Makeconf
CGI_SCRIPTS = fetch-vis
LIBEXEC_SCRIPTS = write-vis-auth-boss
CTRL_LIBEXEC_SCRIPTS = write-vis-auth-ops
LIBEXEC_SCRIPTS = write-vis-auth
CTRL_LIBEXEC_SCRIPTS = write-vis-auth.proxy
SETUID_LIBX_SCRIPTS = write-vis-auth-boss
SETUID_LIBX_SCRIPTS = write-vis-auth
#
# Force dependencies on the scripts so that they will be rerun through
......@@ -34,7 +34,7 @@ $(TBROOT)/opsdir/www/cgi-bin/fetch-vis: fetch-vis
-$(SUDO) mkdir -m 775 $(TBROOT)/opsdir/www/cgi-bin
$(SUDO) $(INSTALL) -o root -m 4775 $< $@
$(INSTALL_DIR)/opsdir/libexec/write-vis-auth-ops: write-vis-auth-ops
$(INSTALL_DIR)/opsdir/libexec/write-vis-auth.proxy: write-vis-auth.proxy
-mkdir -p $(INSTALL_DIR)/opsdir/libexec
$(INSTALL) $< $@
......
......@@ -69,7 +69,7 @@ $< = $>;
my $db_result =
DBQueryFatal("select opskey, uid from login");
open O, "| ssh root\@$USERNODE $TB/libexec/write-vis-auth-ops"
open O, "| ssh root\@$USERNODE $TB/libexec/write-vis-auth.proxy"
or die "ssh to ops failed: $!\n";
my $prev_opskey = '';
......
......@@ -1066,7 +1066,7 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null, $adminon = 0)
# Proj-vis cookies
setcookie("exp_vis_session", $opskey, 0, "/", $TBAUTHDOMAIN, 0);
exec("$TBLIBEXEC_DIR/write-vis-auth-boss > /dev/null 2>&1 &");
exec("$TBLIBEXEC_DIR/write-vis-auth > /dev/null 2>&1 &");
return 0;
}
......@@ -1179,7 +1179,7 @@ function DOLOGOUT($user) {
#
setcookie("exp_vis_session", "", $timeout, "/", $TBAUTHDOMAIN, 0);
exec("$TBLIBEXEC_DIR/write-vis-auth-boss > /dev/null 2>&1 &");
exec("$TBLIBEXEC_DIR/write-vis-auth > /dev/null 2>&1 &");
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment