From owner-freebsd-ports@FreeBSD.ORG Tue Jun 10 09:13:44 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F5CB278; Tue, 10 Jun 2014 09:13:44 +0000 (UTC) Received: from cpsmtpb-ews01.kpnxchange.com (cpsmtpb-ews01.kpnxchange.com [213.75.39.4]) by mx1.freebsd.org (Postfix) with ESMTP id 947532C94; Tue, 10 Jun 2014 09:13:42 +0000 (UTC) Received: from cpsps-ews06.kpnxchange.com ([10.94.84.173]) by cpsmtpb-ews01.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 10 Jun 2014 11:12:28 +0200 Received: from CPSMTPM-CMT106.kpnxchange.com ([195.121.3.22]) by cpsps-ews06.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Tue, 10 Jun 2014 11:12:28 +0200 Received: from donald.offrom.nl ([77.170.60.162]) by CPSMTPM-CMT106.kpnxchange.com over TLS secured channel with Microsoft SMTPSVC(7.0.6002.18264); Tue, 10 Jun 2014 11:12:28 +0200 Received: from squid (squid.vpn.offrom.nl [10.168.0.72]) by donald.offrom.nl (8.14.8/8.14.8) with ESMTP id s5A9CQl9040085; Tue, 10 Jun 2014 11:12:27 +0200 (CEST) (envelope-from willy@vpn.offrom.nl) Received: from willy by squid with local (Exim 4.72) (envelope-from ) id 1WuI6P-0005yV-97; Tue, 10 Jun 2014 11:12:21 +0200 Date: Tue, 10 Jun 2014 11:12:21 +0200 From: Willy Offermans To: "The CUPS user discussion list." Subject: Re: [cups] Setup cups and Brother HL-4150CDN on FreeBSD 10 Message-ID: <20140610091221.GA3793@vpn.offrom.nl> Reply-To: Willy@Offermans.Rompen.nl References: <20140608154130.GA3621@vpn.offrom.nl> <20140609173800.GC30045@vpn.offrom.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 10 Jun 2014 09:12:28.0431 (UTC) FILETIME=[1A0BE9F0:01CF848C] X-RcptDomain: freebsd.org Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2014 09:13:44 -0000 Hello Helga, cups and freebsd friends, On Mon, Jun 09, 2014 at 10:56:23PM +0200, Helge Blischke wrote: > The error message > E [08/Jun/2014:17:37:53 +0200] [Client 15] Invalid peer credentials > for "root" - got 8, expected 0! > states that the efective user id cupsd is runnin under is 8, which > certainly is not root. > Make sure your cupsd is running as root. > (see scheduler/auth.c in your sources directory tree). > I also checked this before. I ran ``ps waux | grep cups'': root 1645 0.0 0.0 64032 0 - SWs - 0:00.00 /usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf root 1962 0.0 0.0 14448 0 - IWs - 0:00.00 daemon: /usr/local/sbin/cups-browsed[1969] (daemon) root 1969 0.0 0.0 62884 2892 - S 12:20PM 0:09.49 /usr/local/sbin/cups-browsed To my belief and according the system, cupsd is run by root. Though the error message claims something else. A look in scheduler/auth.c does not bring me any further to the solution. I can detect the error message in the file, but I have no clue why cups takes up id 8 (=news) in stead of 0. To debug the code is impossible for me. Does anyone has an idea? -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Wiel ************************************* W.K. Offermans e-mail: Willy@Offermans.Rompen.nl Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org