From: Matthew Perry (mperry4@mail.lesley.edu)
Date: Wed Jun 25 2003 - 14:48:45 CDT
Well I modified the registration script to do just that for us at
Lesley. Here is what I did:
sub check_multi_reg {
open (DHCPDCONFNEW, "$DHCPDCONFPATH/$DHCPDCONFFILE.new") or
error( "Could not open file: $DHCPDCONFPATH/$DHCPDCONFFILE.new" );
while (<DHCPDCONFNEW>) {
if ((/host $FORM{'user'}-/) {
# You already have a machine registered!
close(DHCPDCONFNEW);
print "Multiple Registrations";
exit;
}
}
close(DHCPDCONFNEW);
}
I call this sub after get_host_info;
At 03:29 PM 6/25/2003 -0400, you wrote:
>NETREG Group:
>
>Through some testing, I have discovered that the same username can be used
>multiple times to register different mac addresses. Is there a way to
>limit the registration of mac addresses to one mac address / username?
>
>Bruce Embrey
>
>Bruce Edward Embrey : VMS Systems Manager
>Campus Email Admin : UNIX / Linux Administrator
>Hood College : embrey@hood.edu : Phone (301)696-3927
>
>**********************************************************************
>To unsubscribe from this list, send an e-mail message to
>majordomo@southwestern.edu containing a single line with the words:
>unsubscribe netreg
>Send requests for assistance to: owner-netreg@southwestern.edu
>**********************************************************************
Matthew Perry
mperry4@mail.lesley.edu
Network Technician
Lesley University
voice: 617-349-8772
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:39 CDT