From owner-freebsd-ports@FreeBSD.ORG Fri Aug 28 07:24:13 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E429B10656BC; Fri, 28 Aug 2009 07:24:12 +0000 (UTC) (envelope-from matthew@aether.demon.co.uk) Received: from aether.demon.co.uk (aether.demon.co.uk [80.176.88.157]) by mx1.freebsd.org (Postfix) with ESMTP id 5B48490A8E; Fri, 28 Aug 2009 00:23:18 +0000 (UTC) Received: from omoikane.earth.aether.demon.co.uk ([192.168.48.128]) by aether.demon.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MgjZ7-0002Fj-8Q; Thu, 27 Aug 2009 19:19:17 +0100 Message-ID: <4A96CE78.8050305@aether.demon.co.uk> Date: Thu, 27 Aug 2009 19:20:40 +0100 From: Matthew Hambley Organization: Beyond the Reality Barrier User-Agent: Thunderbird 2.0.0.22 (X11/20090726) MIME-Version: 1.0 To: delphij@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: openldap-server-2.4.17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 07:24:20 -0000 I've been banging my head on the wall which is OpenLDAP and Kerberos for a week now. As far as I can tell I need to create the environment variable KRB5_KTNAME to specify the keytab I want to use. If I do this and start slapd manually things work. Unfortunately there seems no way of specifying this so the slapd startup script does so. I've tried hacking the script myself but to no avail. I see one person out there once had the same problem but got no replies explaining how this was best resolved. Given that this hadn't been fixed in the years of the ports lifetime I imagine there must be a good reason for its continued absence. I just can't work out what it is. Any help gratefully received. -- (\/)atthew