r/openldap • • Oct 11 '21

OpenLDAP 2.5.8 available

11 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/RQUM26JGY3BVODHR4E6BZIL4NR544QNC/

OpenLDAP 2.5.8 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Project contributors:

	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)
	Ondřej Kuzník (Symas Corp)

Community contributors:

	Anton Avramov
	David Coutadeur
	Hamano Tsukasa

OpenLDAP 2.5.8 Release (2021/10/11)
    Fixed libldap ldap_int_tls_connect: isdigit() requires unsigned char (ITS#9668)
    Fixed libldap memory leak in ldap_get_option LDAP_OPT_X_TLS_PEERCERT (ITS#9696)
    Fixed slapd to allow normalized values for namingContexts in cn=monitor (ITS#8341)
    Fixed slapd to normalize the suffix in rootDSE (ITS#9664)
    Fixed slapd slapadd to avoid destroying configDB prematurely (ITS#9678)
    Fixed slapd to not spam logs with lastbind information (ITS#9156)
    Fixed slapd slaptest migration to correctly set olcTSLVerifyClient (ITS#9711)
    Fixed slapd-mdb multival delete handling (ITS#9712)
    Fixed slapd-sql ldap_entry_objectclass table for mariadb/mysql (ITS#9679)
    Fixed slapd-wt multiple issues (ITS#9463)
    Fixed slapd-wt to close cache db correctly (ITS#9631)
    Fixed slapo-ppolicy to restore OpenLDAP 2.4 compatibilty (ITS#9671)
    Fixed slapo-syncprov to free uuid list when finished replaying sessionlog (ITS#6467)
    Build
        Fixed libldap result.c compilation on musl systems (ITS#9648)
        Fixed slapd duplicate definition of peerbv (ITS#9659)
        Fixed test suite with memberof modular builds (ITS#9464)
    Contrib
        Added man page for ppm contrib module (ITS#9644)
        Fix crash when pwdCheckModuleArg is not defined for ppm (ITS#9656)
    Documentation
        Fixed guide download link for heimdal (ITS#9669)
        Fixed guide documentation for TLSECName (ITS#9687)
        Fixed guide documentation missing tags (ITS#9693)
        Fixed guide loadbalancer typo (ITS#9699)
        Fixed guide synprov-nopresent redundant text (ITS#9689)
        Fixed guide various typos and fix config alignment (ITS#9706)
        Removed ppolicy.schema from servers/slapd/schema/README (ITS#9156)
        Fixed slapd.conf(5)/slapd-config(5) to document default for database monitoring (ITS#9674)
        Fixed slapd-meta(5)/slapd-asyncmeta(5) verbiage for try-propagate (ITS#9646)
        Fixed slapo-syncprov(5) to note entryCSN indexing is highly recommended (ITS#9688)

SHA3-512(openldap-2.5.8.tgz)= be0308f9ffcbfafa2c3df88974334b12240d68f43009e688d868aa89c1e73d85d33bc14bb022a2d942ffb1ba8fe7b125ab6ab020d23f7b58c73ea4a922e71152

r/openldap • • Jan 19 '21

OpenLDAP 2.4.57 available

11 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/K3NMI4PRX75RIO4PIZY25OCFWXJNPYXH/

OpenLDAP 2.4.57 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Significant contributors are:

	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)

OpenLDAP 2.4.57 Release (2021/01/18)
    Fixed ldapexop to use correct return code (ITS#9417)
    Fixed slapd to remove asserts in UUIDNormalize (ITS#9391)
    Fixed slapd to remove assert in csnValidate (ITS#9410)
    Fixed slapd validity checks for issuerAndThisUpdateCheck (ITS#9411, ITS#9427)
    Fixed slapd validity checks for serialNumberAndIssuerCheck (ITS#9404, ITS#9424)
    Fixed slapd AVA sort with invalid RDN (ITS#9412)
    Fixed slapd ldap_X509dn2bv to check for invalid BER after RDN count (ITS#9423, ITS#9425)
    Fixed slapd saslauthz to remove asserts in validation (ITS#9406, ITS#9407)
    Fixed slapd saslauthz to use slap_sl_free on normalized DN (ITS#9409)
    Fixed slapd saslauthz SEGV in slap_parse_user (ITS#9413)
    Fixed slapd modrdn memory leak (ITS#9420)
    Fixed slapd double-free in vrfilter (ITS#9408)
    Fixed slapd cancel operation to correctly terminate (ITS#9428)
    Fixed slapd-ldap fix binds on retry with closed connection (ITS#9400)
    Fixed slapo-syncprov to ignore duplicate sessionlog entries (ITS#9394)

MD5(openldap-2.4.57.tgz)= e3349456c3a66e5e6155be7ddc3f042c
SHA1(openldap-2.4.57.tgz)= 1cffa70a3ea8545948041fd113f8f53bc24d6d87

r/openldap • • Oct 25 '21

OpenLDAP 2.6 Release Announcement

10 Upvotes

Read the full announcement here:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/IHS5V46H6NFNFUERMC6AWMPHTWRVNLFA/

OpenLDAP Version 2.6 Release Announcement

October 25, 2021

The OpenLDAP Project is pleased to announce the general availability of OpenLDAP Software version 2.6, a suite of the Lightweight Directory Access Protocol (v3) servers, clients, utilities, documentation, and development tools.
[..]

r/openldap • • Jan 20 '22

OpenLDAP 2.6.1 now available

9 Upvotes

r/openldap • • Jul 28 '26

eDAPtor the LDAP editor for your terminal

Thumbnail
gallery
8 Upvotes

The TUI LDAP editor — a terminal UI for administering an OpenLDAP directory — adding, modifying and removing users and groups, and managing group memberships — built in Rust with tvision-rs.

Download from GitHub. Releases with precompiled binaries for mac/windows/linux/omnios


r/openldap • • Aug 18 '21

OpenLDAP 2.5.7 available

7 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/LDQZJZAXMQH3NZIUUDXJEMXTKJUTC2WW/

OpenLDAP 2.5.7 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Project contributors:
	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)
	Ondřej Kuzník (Symas Corp)

Community contributors:
	Nadezhda Ivanova
	Shawn McKinney
	Aapo Romu
	Hamano Tsukasa

OpenLDAP 2.5.7 Release (2021/08/18)
        Fixed lloadd client state tracking (ITS#9624)
        Fixed slapd bconfig to canonicalize structuralObjectclass (ITS#9611)
        Fixed slapd-ldif duplicate controls response (ITS#9497)
        Fixed slapd-mdb multival crash when attribute is missing an equality matchingrule (ITS#9621)
        Fixed slapd-mdb compatibility with OpenLDAP 2.4 MDB databases (ITS#8958)
        Fixed slapd-mdb idlexp maximum size handling (ITS#9637)
        Fixed slapd-monitor number of ops executing with asynchronous backends (ITS#9628)
        Fixed slapd-sql to add support for ppolicy attributes (ITS#9629)
        Fixed slapd-sql to close transactions after bind and search (ITS#9630)
        Fixed slapo-accesslog to make reqMod optional (ITS#9569)
        Fixed slapo-ppolicy logging when pwdChangedTime attribute is not present (ITS#9625)
        Documentation
                slapd-mdb(5) note max idlexp size is 30, not 31 (ITS#9637)
                slapo-accesslog(5) note that reqMod is optional (ITS#9569)
                Add ldapvc(1) man page (ITS#9549)
                Add guide section on load balancer (ITS#9443)
                Updated guide to document multiprovider as replacement for mirrormode (ITS#9200)
                Updated guide to clarify slapd-mdb upgrade requirements (ITS#9200)
                Updated guide to document removal of deprecated options from client tools (ITS#9200)

SHA3-512(openldap-2.5.7.tgz)= 0b4dadf4fba4e48d41801e80f3c6a2b97233bd8e8cbbbae7fbf13b71fe4e9424de25cd40e7ef56c33d02a73493e5cb015fa2c9c656db98aec902b743f8b97e48

r/openldap • • Apr 30 '21

OpenLDAP 2.5 Announcement

7 Upvotes

OpenLDAP 2.5.4 was released.

See the original announcement for details:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/BH3VDPG6IYYF5L5U6LZGHHKMJY5HFA3L/


r/openldap • • Nov 01 '22

OpenLDAP Web UI

Thumbnail self.homelab
5 Upvotes

r/openldap • • Jul 14 '22

New OpenLDAP releases 2.6.3 and 2.5.13

5 Upvotes

r/openldap • • Aug 12 '20

OpenLDAP 2.4.51 available, LMDB 0.9.26 available

5 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/3G7ZVGEM3CVSOTTGXRAMLUJKICOE57OB/

OpenLDAP 2.4.51 Release (2020/08/11)
        Added slapo-ppolicy implement Netscape password policy controls (ITS#9279)
        Fixed libldap retry loop in ldap_int_tls_connect (ITS#8650)
        Fixed libldap to use getaddrinfo in ldap_pvt_get_fqdn (ITS#9287)
        Fixed slapd to enforce singular existence of some overlays (ITS#9309)
        Fixed slapd syncrepl to not delete non-replicated attrs (ITS#9227)
        Fixed slapd syncrepl to correctly delete entries on resync (ITS#9282)
        Fixed slapd syncrepl to use replace on single valued attrs (ITS#9294, ITS#9295)
        Fixed slapd-perl dynamic config with threaded slapd (ITS#7573)
        Fixed slapo-ppolicy to expose the ppolicy control (ITS#9285)
        Fixed slapo-ppolicy race condition for pwdFailureTime (ITS#9302)
        Fixed slapo-ppolicy so it can only exist once per DB (ITS#9309)
        Fixed slapo-chain to check referral (ITS#9262)
        Build Environment
                Fix test064 so it no longer uses bashisms (ITS#9263)
        Contrib
                Fix default prefix value for pw-argon2, pw-pbkdf2 modules (ITS#9248)
                slapo-allowed - Fix usage of unitialized variable (ITS#9308)
        Documentation
                ldap_parse_result(3) - Document ldap_parse_intermediate (ITS#9271)

r/openldap • • Jul 09 '22

Very basic beginner ACL question (I think)

4 Upvotes

Hello, all.

I’m very new to LDAPs so much as I’m just learning the fundamentals. I’ve been tasked with creating ACLs for a group, we’ll call it service-desk, so that it only has access to one organizational unit, ou=People. They want members of the service-desk group to only be able to read, write and execute within ou=People. I feel like this is probably a pretty common configuration and was wondering if anyone had an example they could share. Any help would be greatly appreciated.


r/openldap • • Jan 28 '22

help needed with migration

4 Upvotes

I'm trying to find any info/how-to to help migrate from openldap (2.4.45) running on solaris 11 to slapd (2.4.49) running on ubuntu.

My biggest hurdle seems to be the solaris install is still running using the slapd.conf/schema method (with mdb backend), but I want to update to cn=config style for ubuntu.

I'm trying to cherry-pick concepts from various interwebs sources, but I think either there's a disconnect or I've completely gotten lost. Oracle's how-to for a migration does get me an LDIF that looks right, but trying to slapadd/ldapadd does nothing.

I've tried just copying the schema/xx.schema files from solaris and passing through schema2ldif on ubuntu, then slapadd/ldapadd, but that doesn't seem to do anything, no output and no change to files/etc from what I can tell.

Thinking that it was because the schemas started on solaris, I tar'd the whole /etc/openldap directory from solaris, moved it to ubuntu, fixed the relevant entries in slapd.conf to get slapd running, but an ldapsearch returns nothing.

Anyone have a handy guide, or could spare a few minutes to help me out with some of this?


r/openldap • • Jun 04 '21

OpenLDAP 2.4.59 available

4 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/UREG3X43QNEQGAVSKLHKO752QVVNRQPP/

OpenLDAP 2.4.59 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Significant contributors are:

	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)
	Ondřej Kuzník (Symas Corp)

OpenLDAP 2.4.59 Release (2021/06/03)
        Fixed libldap TLSv1.3 cipher suites with OpenSSL 1.1.1 (ITS#9521)
        Fixed libldap double free of LDAP_OPT_DEFBASE (ITS#9530)
        Fixed slapd syncrepl handling of add+delete on single value attr (ITS#9295)
        Fixed slapd-mdb cursor init check (ITS#9526)
        Fixed slapd-mdb deletion of context entry (ITS#9531)
        Fixed slapd-mdb off-by-one affecting search scope (ITS#9557)
        Fixed slapo-pcache locking during expiration (ITS#9529)
        Contrib
                Fixed slapo-autogroup to not thrash thread context (ITS#9494)
        Documentation
                ldap_modify(3) - Delete non-existent mod_next parameter (ITS#9559)

MD5(openldap-2.4.59.tgz)= 6036a03b3a67b4a1fe1246e0a2c7265a
SHA1(openldap-2.4.59.tgz)= b154d06bbf40fafafb34fffc4b116946d931efef

r/openldap • • Mar 18 '21

slapcheck 3.8.1 available

4 Upvotes

I've release slapdcheck 3.8.1: https://pypi.org/project/slapdcheck/

Find more details here: https://www.stroeder.com/slapdcheck.html


r/openldap • • Mar 16 '21

OpenLDAP 2.4.58 available, LMDB 0.9.29 available

4 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/GK4OGTM6VMIAJCAZSG66VXRRN2LVQDVF/

OpenLDAP 2.4.58 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Significant contributors are:

	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)
	Ondřej Kuzník (Symas Corp)

OpenLDAP 2.4.58 Release (2021/03/16)
    Fixed slapd validity checks for issuerAndThisUpdateCheck (ITS#9454)
    Fixed slapd to alloc new conn struct after freeing old one (ITS#9458)
    Fixed slapd syncrepl to check all contextCSNs (ITS#9282)
    Fixed slapd-bdb lockdetect config (ITS#9449)

MD5(openldap-2.4.58.tgz)= c203d735ba69976e5b28dc39006f29b5
SHA1(openldap-2.4.58.tgz)= 875416827be3ad63f20004510a354db0aaceb2ed

LMDB 0.9.29 Release (2021/03/16)
    ITS#9461 refix ITS#9376
    ITS#9500 fix regression from ITS#8662

r/openldap • • Oct 12 '20

OpenLDAP 2.4.54 available

4 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/KITDV2H4GUMRMONL3YDNBLFJT5O4KM3F/

OpenLDAP 2.4.54 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Significant contributors are:

	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)
	Ondřej Kuzník (Symas Corp)

OpenLDAP 2.4.54 Release (2020/10/12)
    Fixed slapd delta-syncrepl to ignore delete ops on deleted entry (ITS#9342)
    Fixed slapd delta-syncrepl to be fully serialized (ITS#9330)
    Fixed slapd delta-syncrepl MOD on zero-length context entry (ITS#9352)
    Fixed slapd sessionlog to use a TAVL tree (ITS#8486)
    Fixed slapd syncrepl to be fully serialized (ITS#8102)
    Fixed slapd syncrepl to call check_syncprov on fresh consumer (ITS#9345)
    Fixed slapd syncrepl to propagate errors from overlay_entry_get_ov (ITS#9355)
    Fixed slapd syncrepl to not create empty ADD ops (ITS#9359)
    Fixed slapd syncrepl replace usage on single valued attrs (ITS#9295)
    Fixed slapd-monitor fix monitor_back_register_database for empty suffix DB (ITS#9353)
    Fixed slapo-accesslog normalizer for reqStart (ITS#9358)
    Fixed slapo-accesslog to not generate new contextCSN on purge (ITS#9361)
    Fixed slapo-syncprov contextCSN generation with empty suffix (ITS#9015)

MD5(openldap-2.4.54.tgz)= dee0ad4683e56a57d9a11a391f6be428
SHA1(openldap-2.4.54.tgz)= e82d321ac3df5ffb6790c22322471e2fae3d1546

r/openldap • • Aug 31 '20

OpenLDAP 2.4.52 available

4 Upvotes

Original announcement:

https://lists.openldap.org/hyperkitty/list/[email protected]/message/UPLIJCO5U57CCUCRCDARC23A4FWY6NWK/

OpenLDAP 2.4.52 is now available for download as detailed on our download page:

	https://www.openldap.org/software/download/

and should soon be available on all official mirrors:
	
	ftp://ftp.openldap.org/pub/OpenLDAP/MIRRORS

This is a maintenance release and is made available for general use. Users of OpenLDAP Software are encouraged to upgrade.

Significant contributors are:

	Howard Chu (Symas Corp)
	Quanah Gibson-Mount (Symas Corp)

OpenLDAP 2.4.52 (2020/08/28)
    Added libldap LDAP_OPT_X_TLS_REQUIRE_SAN option (ITS#9318)
    Added libldap OpenSSL support for multiple EECDH curves (ITS#9054)
    Added slapd OpenSSL support for multiple EECDH curves (ITS#9054)
    Fixed librewrite malloc/free corruption (ITS#9249)
    Fixed libldap hang when using UDP and server down (ITS#9328)
    Fixed slapd syncrepl rare deadlock due to network issues (ITS#9324)
    Fixed slapd syncrepl regression that could trigger an assert (ITS#9329)
    Fixed slapd-mdb index error with collapsed range (ITS#9135)


MD5(openldap-2.4.52.tgz)= d5e6824c58a050a6e43f53c2aa0ca677
SHA1(openldap-2.4.52.tgz)= c65ebaf9f3f874295b72f19a5de9b74ff0ade4ec

r/openldap • • Jan 30 '19

Delegated Permissions in OpenLDAP

4 Upvotes

Hi,

Is there a way to make a user have write permissions on some other users?

A guy in my organization is trying to connect JIRA with OpenLDAP and it works nice, but even with JIRA using Write mode the regular user created can't disable users on LDAP using JIRA.

He doesn't want to give the user created for JIRA the manager role. Too much power for a user.

Is there a way to do it?


r/openldap • • Feb 10 '14

LDAP 101: Server / Client setup with automount user home directories

4 Upvotes

The goal: A simple Openldap server that a client can connect to and mount user home directories on a test domain (example.com). The goal is to start out with simple bind and then eventually get TLS working.

I have started with this process as an initial guide

Continued troubleshooting from /r/linuxadmin: http://www.reddit.com/r/linuxadmin/comments/1xfvu9/ldap_serverclient_with_automount_user_home/


r/openldap • • Jun 07 '26

slaptrack - an OpenLDAP Log Viewer with filtering features

3 Upvotes

Hello,

I’ve just released the slaptrack code, a pure ANSI viewer for OpenLDAP logs with colorised display and interactive filtering.

Repository is here:

https://github.com/zx97/slaptrack

Compiled and tested on all major Linux distros

I hope you'll find it useful.

License is GNU Affero General Public License v3.0

Have a great day, everyone!


r/openldap • • Mar 09 '26

OpenLDAP 2.6.13 now available - openldap-announce

Thumbnail lists.openldap.org
3 Upvotes

r/openldap • • Mar 27 '25

Replication stops after VM migration to DR site

3 Upvotes

I recently tried to migrate (VM migration) an OpenLDAP replica server to our disaster recovery site. The OpenLDAP service was stopped during the migration. No changes were made to the OpenLDAP configuration, the IP address remained the same, and the networking configuration (ACLs and such) in the DR site match that the primary data center. The DR site is located about 100 miles from the primary data center with a relatively low-latency connection.

After the migration, replication stopped working. (Yes, I tried rebooting.) I could connect to the replica and query it from the primary site. And, from the replica server, I was able to manually connect to the provider and query it using an LDAP browser, so 389 and 636 were going through. However, syncrepl would not connect with the log reporting simply that it could not connect to the provider. I could see it attempting a connection, but it was immediately dropped.

Here is the syncrepl config:

syncrepl rid=222
provider="ldap://ldap.example.com"
type=refreshAndPersist
retry="5 5 300 +"
searchbase="dc=example,dc=com"
sizelimit=unlimited
bindmethod=simple
starttls=yes
tls_reqcert=allow
binddn="cn=Replicator,dc=example,dc=com"
credentials="supersecretpassword"

Replication resumed working when the server was migrated back to the primary data center.

Anyone have any ideas of what may be the cause or what to check? Thanks in advance for any suggestions.


r/openldap • • Feb 12 '25

How to add custom attribute to inetorgperson

3 Upvotes

I'm trying to add a custom attribute to the inetOrgPerson schema startup of the bitnami k8s pods. I've tried adding to the values.yaml without any success.

Is there a way to override the existing inetorgperson.schema or add to this schema?

I cannot find any documentation or examples on the correct way to do this.

Essentially I want to add 1 custom attribute into the inetorgperson schema on the creation of the k8s pods. Env variables and all that stuff I've read, but detailed steps to implement this would be great.

Or, is there and ldapadd or ldapmodify command I could run to insert this attribute in inetorgperson.

attributetype ( 2.16.840.1.113730.3.1.5
  NAME 'test-123-tt'
  DESC 'testing 123 tt'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

objectclass ( 2.16.840.1.113730.3.2.2
  NAME 'inetOrgPerson'
  DESC 'RFC2798: Internet Organizational Person'
  SUP organizationalPerson
  STRUCTURAL
  MAY (
    audio $ businessCategory $ carLicense $ departmentNumber $
    displayName $ employeeNumber $ employeeType $ givenName $
    homePhone $ homePostalAddress $ initials $ jpegPhoto $
    labeledURI $ mail $ manager $ mobile $ o $ pager $
    photo $ roomNumber $ secretary $ uid $ userCertificate $
    x500uniqueIdentifier $ preferredLanguage $
    userSMIMECertificate $ userPKCS12 $ test-123-tt )
  )

r/openldap • • Jul 15 '24

OPEN LDAP WITH PGINA FOR WINDOWS SSO

3 Upvotes

OPEN LDAP WITH PGINA FOR WINDOWS SSO

Recently I joined a wonderful startup company. Even though the company is small, Till now I have learned so many things from there. My designation there is as the IT Administrator (Intern) The admin, who is the owner of the company ( but he doesn’t like being called that), Sathya asked me to set up SSO (Single Sign On) for Windows machines available there. 

At first, I installed the Windows server on one machine and set the group policy, added users and everything was perfect. When I showed him those, he said “Okay boss everything is okay, but we are running Linux as our server operating system. you go with Open LDAP” 

I was scattered at that time. I don’t know anything about Linux all I know is the word SUDO at that time. For 3 weeks I kept trying to install OPEN LDAP on a spare “testing purpose” laptop with me.

Open LDAP logo

I managed to install OPEN LDAP and set up everything like creating users, groups, domains, and so on… But the problem was integrating Linux with the windows. SSO for Windows with Linux Server OS was done in late 2000 as the Microsoft server OS was not in the scenario. At that time they used SAMBA v4 to communicate with the Windows machine by using Samba as the domain controller.

While I was trying to configure Samba I was getting lots of errors. and the service in the system itself refused to work. So kept on searching for an alternative and I went through so many things like FreeIPA, Keycloak, PAM, etc.. but at some point in time, these things will ask for a paid membership. 

But Sathya is an Opensource guy, I know he will refuse this, so put some more time into that and came up with an opensource solution for Windows authentication without Samba and any other paid options while searching for that I also found an easy way to set up OPEN LDAP using a web interface also.

pGina Official logo

pGina — Open source Windows authentication was the solution I found for that. pGina is packaged in a standard Windows installer, so installation is as easy as downloading and running the installer. It communicates with the server with the admin credentials, searches for the user in particular groups, and checks whether the user name and passwords are incorrect or not.

PHP LDAP admin logo

For the web interface, I came up with phpLDAPadmin — Web-based LDAP administration, which is so easy to set up and use. It is often recommended to use it with an SSL certificate as there is an anonymous login available.

I found that there are not that many guides about installing OPEN LDAP for Windows SSO, So I thought that one day if someone like me is struggling to install OPEN LDAP for Windows SSO, I can help him by writing and uploading the process.

 

So let’s start.

This is a guide from scratch which includes Installing the Ubuntu server, setting up open SSH for remote access, Setting Static IP for the server, and so on…


r/openldap • • Dec 19 '23

"Read-Only" slapd?

3 Upvotes

I am trying to expose an internal ldap server to a DMZ so we don't have to manage two different ldap instances for a single companies personnel. I have heard of the notion "Read-Only Domain Controller" which refers to AD. But is there something similar that can be done in openldap?

For this I was thinking of putting a read-only bind-dn protected ldap instance into the DMZ that gets its user data from the internal service (push from the master would be nice, but I don't know if thats possible), so we can sync users to a keycloak instance running in the DMZ.