Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 01:15:00 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Mikhail Goriachev <mikhailg@webanoide.org>
Cc:        ports@FreeBSD.org, delphij@FreeBSD.org
Subject:   Re: FreeBSD Port: openldap-server-2.4.10
Message-ID:  <20080704221500.GA1118@straylight.m.ringlet.net>
In-Reply-To: <20080704132215.36754y85s8y8kisk@www.san.navalradio.cl>
References:  <20080704132215.36754y85s8y8kisk@www.san.navalradio.cl>

next in thread | previous in thread | raw e-mail | index | archive | help

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 04, 2008 at 01:22:15PM -0400, Mikhail Goriachev wrote:
> Hi,
[snip]
> I slapped together a workaround. Here's a "patch", maybe the idea of =20
> it will be of some use.

Just a minor comment on the patch:

> +DBDIR=3D`grep directory /usr/local/etc/openldap/slapd.conf | awk '{ =20
> print $2 }'`

This is better written as

  awk '/directory/ {print $2}' /usr/local/etc/openldap/slapd.conf

or possibly (I'm not quite familiar with the slapd.conf syntax) even:

  awk '$1 =3D=3D "directory" {print $2}' /usr/local/etc/openldap/slapd.conf

Then there's another thing - it might be better to make this depend on
the actual prefix where the OpenLDAP server is installed (it is not
necessarily /usr/local), but that's a whole different can of beer that
I'm not familiar with, since I don't even have an OpenLDAP server
installed on my system :)

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@cnsys.bg    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence is false.

--J/dobhs11T7y2rNN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkhuoOMACgkQ7Ri2jRYZRVPIWACeN/iIRAV9pxcgguAYygSQw0ke
Nm4An0yQeQ/0uu3oQsB8UwFnyFBhY6yE
=4Ydv
-----END PGP SIGNATURE-----

--J/dobhs11T7y2rNN--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080704221500.GA1118>