NetReg: warning: odd chars in username

New Message Reply Date view Thread view Subject view Author view Attachment view

From: John Crowley (jcrowley@wolf.smith.edu)
Date: Wed Sep 03 2003 - 15:37:12 CDT


I'm pretty sure most people will never have this problem. But the IMAP
server I connect to for Authentication appears to stop reading user names
when a ',' or '@' symbol appear.

When your instructions read 'enter your email username and password' you
occasionally get people typing in username@college.edu, which our IMAP
server will accept gladly, and the @ character will cause dhcpd.conf to
die on.

To solve it I put I put a line in to strip this out:
($FORM{$name}, $junk) = split("@",$FORM{$name});

in register.cgi when it first reads in the username. I'm no perl monk, so
this may not be the most elegant solution, but it lets people put the
@college.edu to their hearts content and not crash my dhcpd.

I hope no one else has this 'feature' on their IMAP server, I hate it, but
was told it won't be fixed. But it might be worth keeping an eye out for.

John Crowley
Unix Systems Administrator
Smith College

**********************************************************************
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
**********************************************************************


New Message Reply Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:40 CDT