From owner-cvs-all@FreeBSD.ORG Fri Jan 14 05:54:53 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A93F616A4CE; Fri, 14 Jan 2005 05:54:53 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF7343D2D; Fri, 14 Jan 2005 05:54:53 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0E5srkt044231; Fri, 14 Jan 2005 05:54:53 GMT (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0E5srpZ044230; Fri, 14 Jan 2005 05:54:53 GMT (envelope-from gad) Message-Id: <200501140554.j0E5srpZ044230@repoman.freebsd.org> From: Garance A Drosehn Date: Fri, 14 Jan 2005 05:54:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/usr.sbin/lpr/common_source ctlinfo.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 05:54:53 -0000 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