Date: Fri, 14 Jan 2005 05:54:53 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/common_source ctlinfo.c Message-ID: <200501140554.j0E5srpZ044230@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2005-01-14 05:54:53 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
usr.sbin/lpr/common_source ctlinfo.c
Log:
MFC 1.10: Do more extensive checking of the userid field which is read in
from the control-file for each print job. The main reason is to handle the
case where some remote host sends a print job where the given userid is an
uppercase-version of the real userid. Now if lpd sees that in a job which
came from a remote host, it will check to see if the given userid is valid,
and if not it will make a lowercase version of it.
Revision Changes Path
1.9.4.1 +46 -7 src/usr.sbin/lpr/common_source/ctlinfo.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501140554.j0E5srpZ044230>
