Hey all –
Reaching out to see if anyone has successful experience with the following scenario as I’m struggling
to find appropriate documentation.
I have Openldap 2.6 directories on Oracle Linux 9 in multiple data centers – all with different naming contexts
appropriate to the local environment. Because we’re not able to implement a federated SSO solution, I’d like
to limit user password management by use of ‘remoteauth’ from one location to the other. I used this in Ping Identity
awhile back – its plugin does a password comparison and updates the local; it seems not the case with Openldap. So yes,
the ‘userPassword’ attribute was removed from all the records where I want to remote authenticate – although i did see *somewhere*
that it could be fetched and stored locally (I’d hope for comparison on future auth requests?).
In my case though, the provider is NOT Active Directory. As such I think the attribute values should be different in the overlay but
I don’t see documentation to reflect that. ☹
I did take a stab at it but authentication fails – as I pretty much expected.
{6}remoteauth.la is loaded.
OLC configuration
Primary/Master: dc=a,dc=b,dc=com (already part of a mirror replication pair)
Consumer: dc=x,dc=y,dc=com (currently has data minus ‘userPassword’ attribute)
The below isn’t correct ….. but I don’t know what the correct values *should* be ……
dn: olcOverlay=remoteauth,olcDatabase={2}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcRemoteAuthCfg
olcOverlay: remoteauth
olcRemoteAuthTLS: starttls=yes tls_reqcert=never
olcRemoteAuthMapping: default ldap://remote-host -> owns dc=a,dc=b,dc=com
olcRemoteAuthDNAttribute: entryDN
olcRemoteAuthDefaultRealm: ldap://localhost -> owns dc=x,dc=y,dc=com
olcRemoteAuthStore: FALSE
olcRemoteAuthRetryCount: 3
Please help? 🍒
Thanks in advance.