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

raeburn lon-capa-cvs@mail.lon-capa.org
Fri, 24 Dec 2004 19:26:34 -0000


raeburn		Fri Dec 24 14:26:34 2004 EDT

  Modified files:              
    /loncom	lond 
  Log:
  Stop adding : to the end of the kerberos domain value returned to &lonnet::queryauthenticate()
  
  
Index: loncom/lond
diff -u loncom/lond:1.268 loncom/lond:1.269
--- loncom/lond:1.268	Tue Dec 21 15:47:55 2004
+++ loncom/lond	Fri Dec 24 14:26:33 2004
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.268 2004/12/21 20:47:55 albertel Exp $
+# $Id: lond,v 1.269 2004/12/24 19:26:33 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -58,7 +58,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.268 $'; #' stupid emacs
+my $VERSION='$Revision: 1.269 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -1312,8 +1312,10 @@
 	my ($type,$otherinfo) = split(/:/,$result);
 	if($type =~ /^krb/) {
 	    $type = $result;
-	}
-	&Reply( $replyfd, "$type:\n", $userinput);
+	} else {
+            $type .= ':';
+        }
+	&Reply( $replyfd, "$type\n", $userinput);
     }
   
     return 1;