FreeBSD Port: openldap-server-2.4.10
Peter Pentchev
roam at ringlet.net
Fri Jul 4 22:15:33 UTC 2008
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
> it will be of some use.
Just a minor comment on the patch:
> +DBDIR=`grep directory /usr/local/etc/openldap/slapd.conf | awk '{
> 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 == "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
--
Peter Pentchev roam at ringlet.net roam at cnsys.bg roam at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080704/2c975389/attachment.pgp
More information about the freebsd-ports
mailing list