From owner-freebsd-current@FreeBSD.ORG Thu Jun 11 17:10:08 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CD69106564A for ; Thu, 11 Jun 2009 17:10:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id DAA8D8FC18 for ; Thu, 11 Jun 2009 17:10:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 8E74341C7A7; Thu, 11 Jun 2009 19:10:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id HDiwL+22AtW3; Thu, 11 Jun 2009 19:10:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 327E941C7A6; Thu, 11 Jun 2009 19:10:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 78E994448E6; Thu, 11 Jun 2009 17:09:51 +0000 (UTC) Date: Thu, 11 Jun 2009 17:09:51 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Rick Macklem In-Reply-To: Message-ID: <20090611170448.M22887@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: kgssapi won't build, I need prison help X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 17:10:08 -0000 On Thu, 11 Jun 2009, Rick Macklem wrote: Hi, > No, I know how to get thrown in prison:-), but I don't know what > "prison" should be used by the rpcsec_gss server (options KGSSAPI). > > options KGSSAPI doesn't build right now. One place is just in need > of jail.h, but in another, it still uses "hostid". I assume this > should become pr_hostid, but for what "prison"? (would prison0.pr_host > be ok?) 1) note pr_hostid is unsinged long, ci_hostid is unit32_t. 2) I do not know what that code does but ideally it should be from the same context as being called which might be hard in this case. For svc_rpc_gss_find_client you may want to move the check into the foreach loop as an addition criteria; client seems to know the context it runs in (cred-> ...) For svc_rpc_gss_create_client() I would say you'll have to pass in the correct context. /bz -- Bjoern A. Zeeb The greatest risk is not taking one.