On Mon, Aug 21, 2023 at 7:35 PM Kaushal Shriyan <[email protected]>
wrote:

> Hi,
>
> Are there any tutorials or guides to configure symas based Openldap server
> on Red Hat Enterprise Linux release 8.7 (Ootpa)?
>
> # rpm -qa | grep openldap
> symas-openldap-servers-2.5.16-1.el8.x86_64
> symas-openldap-servers-selinux-1.0.6-1.el8.noarch
> symas-openldap-libs-2.5.16-1.el8.x86_64
> symas-openldap-clients-2.5.16-1.el8.x86_64
> #
>
> Please guide me. Thanks in Advance.
>
> Best Regards,
>
> Kaushal
>

Hi,

I followed the below steps

#wget -q https://repo.symas.com/configs/SOFL/rhel8/sofl.repo -O
/etc/yum.repos.d/sofl.repo
#dnf install symas-openldap-clients symas-openldap-servers -y

# rpm -qa | grep ldap
symas-openldap-servers-2.5.16-1.el8.x86_64
sssd-ldap-2.7.3-4.el8.x86_64
symas-openldap-servers-selinux-1.0.6-1.el8.noarch
openldap-2.4.46-18.el8.x86_64
symas-openldap-libs-2.5.16-1.el8.x86_64
symas-openldap-clients-2.5.16-1.el8.x86_64
#

#systemctl start slapd

Prepare the database template included in OpenLDAP installed

#cp -r /usr/share/openldap-servers/DB_CONFIG.example
/var/lib/ldap/DB_CONFIG
cp: cannot stat '/usr/share/openldap-servers/DB_CONFIG.example': No such
file or directory

# ls -l /usr/share/openldap-servers/DB_CONFIG.example
ls: cannot access '/usr/share/openldap-servers/DB_CONFIG.example': No such
file or directory
# ls -l /etc/openldap/slapd.d/cn=config/olcDatabase={2}mdb.ldif
ls: cannot access
'/etc/openldap/slapd.d/cn=config/olcDatabase={2}mdb.ldif': No such file or
directory

Please guide me. Thanks in Advance.

Best Regards,

Kaushal



>
> On Wed, Aug 9, 2023 at 11:19 PM Kaushal Shriyan <[email protected]>
> wrote:
>
>>
>>
>> On Mon, Aug 7, 2023 at 12:01 PM Windl, Ulrich <[email protected]> wrote:
>>
>>> I think the question is somewhat off-topic here: Learn how to build an
>>> RPM package from elsewhere, maybe
>>> https://www.redhat.com/sysadmin/create-rpm-package or
>>> https://developers.redhat.com/blog/2019/03/18/rpm-packaging-guide-creating-rpm
>>> or https://linuxconfig.org/how-to-create-an-rpm-package
>>>
>>> -----Original Message-----
>>> From: Kaushal Shriyan <[email protected]>
>>> Sent: Sunday, August 6, 2023 3:51 AM
>>> To: [email protected]
>>> Subject: [EXT] rhel8 OS rpm spec file
>>>
>>> Hi,
>>>
>>> Is there a way to generate openldap-servers.x86_64 rpm spec file from
>>> https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.5.15.tgz?
>>>
>>>
>>> # ll
>>> total 900
>>> -rw-r--r-- 1 1001 1001  11109 Jul 10 21:59 aclocal.m4
>>> -rw-r--r-- 1 1001 1001   6100 Jul 10 21:59 ANNOUNCEMENT
>>> drwxr-xr-x 2 1001 1001   4096 Jul 10 21:59 build
>>> -rw-r--r-- 1 1001 1001  14120 Jul 10 21:59 CHANGES
>>> drwxr-xr-x 3 1001 1001     38 Jul 10 21:59 clients
>>> -rwxr-xr-x 1 1001 1001 753489 Jul 10 21:59 configure
>>> -rw-r--r-- 1 1001 1001  99724 Jul 10 21:59 configure.ac <
>>> http://configure.ac>
>>> drwxr-xr-x 7 1001 1001    129 Jul 10 21:59 contrib
>>> -rw-r--r-- 1 1001 1001   2345 Jul 10 21:59 COPYRIGHT
>>> drwxr-xr-x 8 1001 1001    102 Jul 10 21:59 doc
>>> drwxr-xr-x 3 1001 1001   4096 Jul 10 21:59 include
>>> -rw-r--r-- 1 1001 1001   3793 Jul 10 21:59 INSTALL
>>> drwxr-xr-x 8 1001 1001    123 Jul 10 21:59 libraries
>>> -rw-r--r-- 1 1001 1001   2214 Jul 10 21:59 LICENSE
>>> -rw-r--r-- 1 1001 1001   1029 Jul 10 21:59 Makefile.in
>>> -rw-r--r-- 1 1001 1001   3594 Jul 10 21:59 README
>>> drwxr-xr-x 4 1001 1001     52 Jul 10 21:59 servers
>>> drwxr-xr-x 5 1001 1001     93 Jul 10 21:59 tests
>>> # ./configure --help | grep spec
>>> To assign environment variables (e.g., CC, CFLAGS...), specify them as
>>> Defaults for the options are specified in brackets.
>>>       --help=short        display options specific to this package
>>> `/usr/local/bin', `/usr/local/lib' etc.  You can specify
>>>   --with-odbc             with specific ODBC support
>>>                           compiler's sysroot if not specified).
>>> #
>>>
>>> Please guide me.
>>>
>>> Thanks in Advance.
>>>
>>> Best Regards,
>>>
>>> Kaushal
>>>
>>>
>> Thanks Quanah and Ulrich for the quick email response. Much appreciated
>> for guiding me. Thanks once again.
>>
>> Best Regards,
>>
>> Kaushal
>>
>

Reply via email to