--- loncom/Attic/lchtmldir 2002/04/27 12:01:50 1.1 +++ loncom/Attic/lchtmldir 2002/05/03 03:21:25 1.2 @@ -115,10 +115,10 @@ if($DEBUG) { } -if( $authentication ne "unix" && - $authentication ne "internal" && - $authentication ne "krb4" && - $authentication ne "localauth") { +if( $authentication ne "unix:" && + $authentication ne "internal:" && + $authentication ne "krb4:" && + $authentication ne "localauth:") { if($DEBUG) { print("Invalid authentication parameter: ".$authentication."\n"); print("Should be one of: unix, internal, krb4, localauth\n"); @@ -211,7 +211,7 @@ END # Based on the authentiation mode, set the ownership of the directory. -if($authentication eq "unix") { # Unix mode authentication... +if($authentication eq "unix:") { # Unix mode authentication... &System("/bin/chown -R $username".":".$username." ".$fulldir); @@ -219,15 +219,15 @@ if($authentication eq "unix") { # Unix m } -elsif ($authentication eq "internal") { # Internal authentication. +elsif ($authentication eq "internal:") { # Internal authentication. &System("/bin/chown -R www:www $fulldir"); } -elsif ($authentication eq "krb4") { # Kerberos version 4 authentication - &System("/bin/chwon -R $username".':'.$username." ".$fulldir); +elsif ($authentication eq "krb4:") { # Kerberos version 4 authentication + &System("/bin/chown -R $username".':'.$username." ".$fulldir); &JoinGroup($username); } -elsif ($authentication eq "localauth") { # Local authentiation +elsif ($authentication eq "localauth:") { # Local authentiation &System("/bin/chown -R $username".':'.$username." $fulldir"); } else {