NetBSD Problem Report #41634
From www@NetBSD.org Wed Jun 24 23:55:28 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 8686963B913
for <gnats-bugs@gnats.netbsd.org>; Wed, 24 Jun 2009 23:55:28 +0000 (UTC)
Message-Id: <20090624235528.3DF9C63B883@www.NetBSD.org>
Date: Wed, 24 Jun 2009 23:55:28 +0000 (UTC)
From: lloyd@must-have-coffee.gen.nz
Reply-To: lloyd@must-have-coffee.gen.nz
To: gnats-bugs@NetBSD.org
Subject: Kerberos for openldap doesn't install kerberos support
X-Send-Pr-Version: www-1.0
>Number: 41634
>Category: pkg
>Synopsis: Kerberos for openldap doesn't install kerberos support
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: ghen
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 25 00:00:00 +0000 2009
>Closed-Date: Sat Jun 27 09:55:44 +0000 2009
>Last-Modified: Sat Jun 27 10:00:02 +0000 2009
>Originator: Lloyd Parkes
>Release: 5.0
>Organization:
Must Have Coffee
>Environment:
NetBSD archangel.must-have-coffee.gen.nz 5.0 NetBSD 5.0 (GENERIC) #0: Sat May 2 23:18:37 NZST 2009 lloyd@rhox.must-have-coffee.gen.nz:/vol/scratch/obj5/sparc64/sys/arch/sparc64/compile/GENERIC sparc64
>Description:
When you build and install databases/openldap-server, with the "kerberos" package option, the resulting system doesn't actually use Kerberos. The Kerberos option merely switches on the "sasl" option, which in turn creates a dependency on security/cyrus-sasl and adds the correct configure flag. None of these bits supply Kerberos authentication. cyrus-sasl is only a framework, and doesn't supply an authentication mechanism.
>How-To-Repeat:
Build and install openldap and then wonder why you aren't offered GSSAPI/Kerberos authentication.
>Fix:
Add security/cy2-gssapi as a runtime dependency for the openldap packages if the kerberos option is set. I know that this isn't a normal runtime dependency in that the program will run without cy2-gssapi, but if the sysadmin builds with the kerberos option set, then that have made a clear statement that they expect the resulting package to use Kerberos.
If the sysadmin doesn't want to install cy2-gssapi when they install openldap-server, then they should build with the sasl option and not the kerberos option.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->ghen
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 25 Jun 2009 00:18:44 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Geert Hendrickx <ghen@telenet.be>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/41634: Kerberos for openldap doesn't install kerberos
support
Date: Thu, 25 Jun 2009 13:20:53 +0200
On Thu, Jun 25, 2009 at 12:00:01AM +0000, lloyd@must-have-coffee.gen.nz wrote:
> >Description:
> When you build and install databases/openldap-server, with the "kerberos"
> package option, the resulting system doesn't actually use Kerberos. The
> Kerberos option merely switches on the "sasl" option, which in turn creates
> a dependency on security/cyrus-sasl and adds the correct configure flag.
> None of these bits supply Kerberos authentication. cyrus-sasl is only a
> framework, and doesn't supply an authentication mechanism.
>
> >How-To-Repeat:
> Build and install openldap and then wonder why you aren't offered GSSAPI/
> Kerberos authentication.
>
> >Fix:
> Add security/cy2-gssapi as a runtime dependency for the openldap packages if
> the kerberos option is set. I know that this isn't a normal runtime
> dependency in that the program will run without cy2-gssapi, but if the
> sysadmin builds with the kerberos option set, then that have made a clear
> statement that they expect the resulting package to use Kerberos.
>
> If the sysadmin doesn't want to install cy2-gssapi when they install
> openldap-server, then they should build with the sasl option and not the
> kerberos option.
IMO the proper solution is to just drop the "kerberos" option. It's not
clean to put SASL auth methods in SASL supporting packages as options
directly, they have no business with it.
Geert
--
Geert Hendrickx -=- ghen@telenet.be -=- PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!
From: Lloyd Parkes <lloyd@must-have-coffee.gen.nz>
To: gnats-bugs@NetBSD.org
Cc: ghen@NetBSD.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/41634: Kerberos for openldap doesn't install kerberos support
Date: Sat, 27 Jun 2009 20:58:34 +1200
On 25/06/2009, at 11:25 PM, Geert Hendrickx wrote:
> IMO the proper solution is to just drop the "kerberos" option. It's
> not
> clean to put SASL auth methods in SASL supporting packages as options
> directly, they have no business with it.
I would be happy with that solution.
Cheers,
Lloyd
State-Changed-From-To: open->closed
State-Changed-By: ghen@NetBSD.org
State-Changed-When: Sat, 27 Jun 2009 09:55:44 +0000
State-Changed-Why:
kerberos option removed. this is more consistent, thanks for the PR!
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/41634 CVS commit: pkgsrc/databases/openldap-server
Date: Sat, 27 Jun 2009 09:55:09 +0000
Module Name: pkgsrc
Committed By: ghen
Date: Sat Jun 27 09:55:09 UTC 2009
Modified Files:
pkgsrc/databases/openldap-server: options.mk
Log Message:
Remove kerberos option. It only implied the sasl option (hackish) and
kerberos is just one of the SASL authentication methods, which have to
be configured in cyrus-sasl, not in openldap. Fixes PR pkg/41634.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/databases/openldap-server/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.