If you are starting with OpenLDAP then why do you compiling Openldap why not taking the symas repositories?

Am 31.03.23 um 21:24 schrieb Eric Fetzer:
Thanks for the response Stefan but you lost me.  I thought I'd have to uninstall OpenLDAP to bring a few overlays in there that I didn't include before make depend, make, and make install.  I would do this:

./configure --prefix=/usr --sysconfdir=/etc --enable-debug --with-tls=openssl --with-cyrus-sasl --enable-dynamic --enable-crypt --enable-spasswd --enable-slapd --enable-modules --enable-rlookups */--enable-ppolicy --enable-syncprov/*


Then when I installed OpenLDAP they would be available to me.  Sorry, just learning all of this and it's like sucking a watermelon through a straw...


On Fri, Mar 31, 2023 at 12:10 PM Stefan Kania <ste...@kania-online.de <mailto:ste...@kania-online.de>> wrote:



    Am 30.03.23 um 22:11 schrieb Eric Fetzer:
     > OK, getting a little further.  I've come to the realization that
    I need
     > to uninstall, reconfigure to include a few overlays, then reinstall.
     > I'm on RHEL 8.7, and thus built from source.  What do I need to
    do to
     > uninstall?  Guessing the first thing I need to remove is
    /etc/openldap.
     >
     > Thanks,
     > Eric

    So you are having a LDIF-File with your configuration in it? Then stop
    the slapd do a "rm -rf /path/to/slapd.d/*" Then do a "slapadd -n0 -F
    /path/to/slapd.d -l /path/to/your/config.ldif" then a "chown -R
    <openldap-user> /path/to/slapd.d" then restart slapd


--
Stefan Kania
Landweg 13
25693 St. Michaelisdonn


Signieren jeder E-Mail hilft Spam zu reduzieren und schützt Ihre Privatsphäre. Ein kostenfreies Zertifikat erhalten Sie unter https://www.dgn.de/dgncert/index.html
Download der root-Zertifikate: https://www.dgn.de/dgncert/downloads.html


Attachment: OpenPGP_0xD8938670D0070D36.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to