Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2014 14:45:14 -0500
From:      Marco Muskus <mamuskus@edatel.com.co>
To:        freebsd-questions@freebsd.org
Subject:   Re: slapd-mdb - Memory-Mapped DB backend to slapd
Message-ID:  <53EBC04A.4060504@edatel.com.co>
In-Reply-To: <20140813144906.1424a08e@scorpio>
References:  <20140813121912.60ff6c1f@scorpio> <53EB913A.8020300@edatel.com.co> <20140813144906.1424a08e@scorpio>

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

El 13/08/14 a las #4, Jerry escribi=C3=B3:

On Wed, 13 Aug 2014 11:24:26 -0500, Marco Muskus stated:



El 13/08/14 a las #4, Jerry escribi=C3=B3:



Wed, 13 Aug 2014 12:17:46 -0400

I was just wondering if anyone had tried or has openldap running with MDB o=
n
a FreeBSD machine. I am looking for some pointers on how to get it up and
running.



Hi,

I'm running OpenLDAP with MDB backend with success. Try installing it from
the ports and select the MDB backend in the build options (configure).



Apparently, the default config file has both BDB & MDB checked. I would
therefore assume I have MDB compiled in. Do I now have to run "slapd-mdb"
after the system starts to get it up and running? I already have the
following in the rc.conf file:

## OPENLDAP
slapd_enable=3D"YES"
slapd_flags=3D'-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/=
"'
slapd_sockets=3D"/var/run/openldap/ldapi"

Also, I am assuming that you replaced: "database bdb" with "database mdb" i=
n
the slapd.conf file. Did you need to make any other modifications?

Thanks



Hi Jerry,

No, yo dont have to run "slapd-mdb" to start the service, just a "/usr/loca=
l/etc/rc.d/slapd start".

And in /etc/rc.conf i only have:

slapd_enable=3D"YES"

Thats all i need to get openldap running.

Regards,



--

Marco Muskus







________________________________
Este mensaje y/o sus anexos son para uso exclusivo de su destinatario inten=
cional y puede contener informaci=C3=B3n legalmente protegida por ser confi=
dencial. Si usted no es el destinatario intencional del mensaje por favor i=
nf=C3=B3rmenos de inmediato y elim=C3=ADnelo, as=C3=AD como sus anexos. Igu=
almente, le comunicamos que cualquier retenci=C3=B3n, revisi=C3=B3n no auto=
rizada, distribuci=C3=B3n, divulgaci=C3=B3n, reenv=C3=ADo, copia, impresi=
=C3=B3n, reproducci=C3=B3n, o uso indebido de este mensaje y/o sus anexos, =
est=C3=A1 estrictamente prohibida y sancionada legalmente. EDATEL S.A. no s=
e hace responsable en ning=C3=BAn caso por da=C3=B1os derivados de la recep=
ci=C3=B3n del presente mensaje.



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