[LON-CAPA-cvs] cvs: loncom / lond

www lon-capa-cvs@mail.lon-capa.org
Thu, 01 Aug 2002 18:44:19 -0000


www		Thu Aug  1 14:44:19 2002 EDT

  Modified files:              
    /loncom	lond 
  Log:
  These will be the two new lond commands for user file access
  
  fetchuserfile will execute on the homeserver of the user to http-transfer
  the file to from the remote session server to the user's home directory
  
  authuserfile will run on a session host, and authorize access to a user file.
  The homeserver will trigger this command before it serves out the file.
  
  
Index: loncom/lond
diff -u loncom/lond:1.84 loncom/lond:1.85
--- loncom/lond:1.84	Fri Jul 26 15:35:20 2002
+++ loncom/lond	Thu Aug  1 14:44:19 2002
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.84 2002/07/26 19:35:20 albertel Exp $
+# $Id: lond,v 1.85 2002/08/01 18:44:19 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -947,6 +947,12 @@
 		       } else {
 			print $client "rejected\n";
                        }
+# -------------------------------------- fetch a user file from a remote server
+                   } elsif ($userinput =~ /^fetchuserfile/) {
+                       my ($cmd,$fname)=split(/:/,$userinput);
+# ------------------------------------------ authenticate access to a user file
+                   } elsif ($userinput =~ /^authuserfile/) {
+                       my ($cmd,$fname,$session)=split(/:/,$userinput);
 # ----------------------------------------------------------------- unsubscribe
                    } elsif ($userinput =~ /^unsub/) {
                        my ($cmd,$fname)=split(/:/,$userinput);