From: Robert Lowe (robert.h.lowe@lawrence.edu)
Date: Mon Aug 19 2002 - 08:32:13 CDT
Dan Schmiedt wrote:
>
> Hi,
>
> First, a great big "thank-you" to everyone who has worked to make NetReg
> what it is. Peter, we'll get you a bright-orange Clemson shirt just as
> soon as I can get down to the store.
>
> At Clemson University, we have recently started using NetReg in our dorms
> and our wireless network. We are currently up to about 4100 registered
> clients, and counting ... fast!
>
> Things are going remarkably well, but we have run into a couple of
> problems:
>
> + Spaces at the end of a userid. Apparently, a user will enter their
> userid with a space at the end. The POP server doesn't care, but
> when the host entry gets written, it ends up with "host joe -1 .."
> and dhcpd isn't happy about that. I fixed this with a s/\ //g.
>
> + Shorter userids that match part of a longer userid. For example,
> things get discombobulated when a user "mickey" registers, and then
> later "ckey" registers. When "ckey" goes to register another
> machine, the serial gets discombobulated, and dhcpd complains
> about duplicate host entries.
>
> I haven't had a chance to figure out something for the second problem.
> Any ideas?
Yes, in the append_host_entry routine, there is a regular expression
that matches the username in a dhcpd.conf entry. The code looks like:
if ($_ =~ /$FORM{'user'}/) {
($TRASH, $HOST) = split /\s/;
push (@HOSTS, $HOST);
}
It should probably be something like:
if (/host $FORM{'user'}-/) {
...
forcing a match on lines like:
host ckey- ...
rather than
host mickey-...
This is not in my CIDR patch either, for which I have a couple of additions
already in the hopper. I'll get this part fixed in the next day or so.
Perhaps Peter can make note of this for the regular release candidate.
-Robert
**********************************************************************
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:37 CDT