[LON-CAPA-cvs] cvs: loncom(Refactoring) / lond
foxr
lon-capa-cvs@mail.lon-capa.org
Tue, 13 Apr 2004 09:41:57 -0000
foxr Tue Apr 13 05:41:57 2004 EDT
Modified files: (Branch: Refactoring)
/loncom lond
Log:
Mis-spelled ValidateUser as ValidUser in change passwd.
Index: loncom/lond
diff -u loncom/lond:1.178.2.14 loncom/lond:1.178.2.15
--- loncom/lond:1.178.2.14 Wed Apr 7 05:39:18 2004
+++ loncom/lond Tue Apr 13 05:41:57 2004
@@ -2,7 +2,7 @@
# The LearningOnline Network
# lond "LON Daemon" Server (port "LOND" 5663)
#
-# $Id: lond,v 1.178.2.14 2004/04/07 09:39:18 foxr Exp $
+# $Id: lond,v 1.178.2.15 2004/04/13 09:41:57 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -53,7 +53,7 @@
my $status='';
my $lastlog='';
-my $VERSION='$Revision: 1.178.2.14 $'; #' stupid emacs
+my $VERSION='$Revision: 1.178.2.15 $'; #' stupid emacs
my $remoteVERSION;
my $currenthostid;
my $currentdomainid;
@@ -796,7 +796,7 @@
# First require that the user can be authenticated with their
# old password:
- my $validated = ValidUser($udom, $uname, $upass);
+ my $validated = ValidateUser($udom, $uname, $upass);
if($validated) {
my $realpasswd = GetAuthType($udom, $uname); # Defined since authd.
@@ -4494,6 +4494,7 @@
#
my $uid = getpwnam($uname);
if((defined $uid) && ($uid == 0)) {
+ &logthis(">>>Attempted add of privileged account blocked<<<");
return "no_priv_account_error\n";
}