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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Thu, 23 Aug 2007 17:39:52 -0000


albertel		Thu Aug 23 13:39:52 2007 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - toss error messages if krb5 fails
  
  
Index: loncom/lond
diff -u loncom/lond:1.379 loncom/lond:1.380
--- loncom/lond:1.379	Thu Aug 23 13:39:20 2007
+++ loncom/lond	Thu Aug 23 13:39:51 2007
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.379 2007/08/23 17:39:20 albertel Exp $
+# $Id: lond,v 1.380 2007/08/23 17:39:51 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.379 $'; #' stupid emacs
+my $VERSION='$Revision: 1.380 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -5770,6 +5770,10 @@
 									 $password,
 									 $credentials);
 		$validated = ($krbreturn == 1);
+		if (!$validated) {
+		    &logthis('krb5: '.$user.', '.$contentpwd.', '.
+			     &Authen::Krb5::error());
+		}
 	    } else {
 		$validated = 0;
 	    }