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
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
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 stefan@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
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 <stefan@kania-online.de mailto:stefan@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
From what I read, there are no repositories for RHEL 8.7. They were there for RHEL 7 but not 8. I read this in several places including here:
https://medium.com/@fengliplatform/setup-openldap-2-6-server-on-rhel-8-4-d86...
Am I wrong? If so, I'd love to use yum to install. Please direct me to an example of doing so. Thanks = Eric
On Fri, Mar 31, 2023 at 2:45 PM Stefan Kania stefan@kania-online.de wrote:
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 <stefan@kania-online.de mailto:stefan@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
--On Friday, March 31, 2023 4:03 PM -0600 Eric Fetzer eric.fetzer@gmail.com wrote:
From what I read, there are no repositories for RHEL 8.7. They were there for RHEL 7 but not 8. I read this in several places including here:
https://medium.com/@fengliplatform/setup-openldap-2-6-server-on-rhel-8-4- d8640b7fa22
Am I wrong?
Yes.
or
https://ltb-project.org/download.html
--Quanah
openldap-technical@openldap.org