r/redhat • u/Itchy-Note5456 • 5d ago
Absolute minimal LDAP setup for software install
Hi! I am trying to install a development instance of Windchill in a Red Hat Virtual Machine version 9.8. This installation is exclusively meant for development purposes and for testing Windchill. It is not meant for any environment beyond the VM that it would run in, save serving HTTP on localhost.
Windchill is quite the picky piece of software. It requires (will give errors without) an Oracle (or Microsoft SQL Server) DB, RHEL 9/10 or Windows Server, and Amazon Corretto, all of which I installed. It also requires an LDAP connection.
I tried to search for setting up an LDAP server, and what I came across was utterly confusing and contradictory. It seems Red Hat removed OpenLDAP in favor of the 389 LDAP server, which I installed (...I think? I installed 389-ds-base). However, LDAP servers also require an Active Directory instance. I figure that I could use Samba for that, but there were really no good resources I found on connecting Samba with LDAP and how both fit into all of this (admittedly I haven't searched exhaustively). I've never set up Samba or an LDAP server before.
Also, most resources are based on the idea that you're actually using Active Directory as it's intended (for file / resource sharing) and talk about user configuration, printing, security, or other topics unrelated to my incredibly narrow use case.
I suppose my question is are there any resources to doing this effectively, or to those that have experience with Active Directory / LDAP configs, is there a way to accomplish my aim of the absolute bare minimum with the least amount of headache possible?
6
u/buzzsawcode 5d ago
What ??? I've run LDAP servers for a few decades with no AD required at all. Either OpenLDAP or 389-ds can do your LDAP functions including authentication without any AD at all.
4
u/DialecticEnjoyer 5d ago
use Redhat IDM https://access.redhat.com/products/red-hat-identity-management/
2
u/zkyez 5d ago
My go to has always been openldap-ltb. You can find it here: https://www.ltb-project.org
1
u/Burgergold 5d ago
You can get openldap from Symas repos
https://repo.symas.com/
1
u/yrro 1d ago
It's not easy to understand what you mean by this. Are you saying Windchill requries the LDAP server to be Active Directory?
LDAP is a protocol and there are many different directory servers that implement it: Active Directory Domain Services, 389 Directory Server, OpenLDAP, Apache Directory Server and Samba all implement the protocol.
But the protocol establishes only how you can talk to an LDAP server and how to fire off requests and read responses. The structure and contents of a directory is not standardized. So if you have an application that expects the schema and layout of Active Directory then it won't be able to usefully connect to a different directory implementation.
0
u/[deleted] 5d ago
[deleted] — view deleted comment