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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 27 Nov 2006 16:33:41 -0000


albertel		Mon Nov 27 11:33:41 2006 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - fedora5 also doesn't have the ets code
  
  
Index: loncom/lond
diff -u loncom/lond:1.348 loncom/lond:1.349
--- loncom/lond:1.348	Tue Nov 21 15:58:06 2006
+++ loncom/lond	Mon Nov 27 11:33:38 2006
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.348 2006/11/21 20:58:06 raeburn Exp $
+# $Id: lond,v 1.349 2006/11/27 16:33:38 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -60,7 +60,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.348 $'; #' stupid emacs
+my $VERSION='$Revision: 1.349 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -3053,10 +3053,10 @@
     my ($cmd, $tail, $client) = @_;
 
     my $userinput = "$cmd:$tail";	# Only used for logging purposes.
-
+    $namespace=~s/\W//g;
     my ($udom,$uname,$namespace,$rid) = split(/:/,$tail);
     $namespace=~s/\//\_/g;
-    $namespace=~s/\W//g;
+
     chomp($rid);
     my $qresult='';
     my $hashref = &tie_user_hash($udom, $uname, $namespace, &GDBM_READER());
@@ -5466,7 +5466,8 @@
 #        my $tmpsnum=0;            # Now global
 #---------------------------------------------------- kerberos 5 initialization
         &Authen::Krb5::init_context();
-	unless (($dist eq 'fedora4') || ($dist eq 'suse9.3')) {
+	unless (($dist eq 'fedora5') || ($dist eq 'fedora4') 
+		|| ($dist eq 'suse9.3')) {
 	    &Authen::Krb5::init_ets();
 	}