Changeset 322
- Timestamp:
 - May 25, 2007, 12:59:40 AM (18 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          server/common/oursrc/accountadm/admof.in (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
server/common/oursrc/accountadm/admof.in
r243 r322 28 28 } 29 29 my $curuser; 30 unless(($curuser) = ($ARGV[1] =~ /^([\w._-]+)\@ATHENA\.MIT\.EDU$/)) { 30 unless(($curuser) = ($ARGV[1] =~ /^([\w._\/-]+)\@ATHENA\.MIT\.EDU$/)) { 31 error("An internal error has occurred.\nContact scripts\@mit.edu for assistance."); 32 } 33 34 ($curuser) =~ s|/|.|; # Replace first instance of a / only; pts membership prints foo/root as foo.root 35 36 if (($curuser) =~ m|/|) { # There were two /'s in their name. What? 31 37 error("An internal error has occurred.\nContact scripts\@mit.edu for assistance."); 32 38 }  
Note: See TracChangeset
          for help on using the changeset viewer.
      