Bug 54417 - The memberof overlay is deprecated in OpenLDAP 2.5 and will been removed in OpenLDAP 2.7
The memberof overlay is deprecated in OpenLDAP 2.5 and will been removed in O...
Status: NEW
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.x
Assigned To: UCS maintainers
UCS maintainers
https://bugs.openldap.org/show_bug.cg...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-02-03 18:11 CET by Florian Best
Modified: 2023-11-14 18:08 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): API change
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2022-02-03 18:11:49 CET
The memberof overlay modules will be removed in OpenLDAP 2.7.

https://bugs.openldap.org/show_bug.cgi?id=9795

In the mailing list a question about replacement occurred:

> documented in the slapo-memberof(5) man page:
> 
> <https://www.openldap.org/software/man.cgi?query=slapo-memberof&apropos=0&sektion=0&manpath=OpenLDAP+2.5-Release&arch=default&format=html>
> 
> "      Note that this overlay is deprecated and support  will  be  dropped in
>       future  OpenLDAP releases. Installations should use the dynlist overlay
>       instead. Using this overlay in a replicated environment  is especially
>       discouraged.
> "
Comment 1 Dirk Wiesenthal univentionstaff 2023-09-06 11:14:06 CEST
We will still use memberof in UCS 5.2. dynlist does not yet meet our performance requirements.
Comment 3 Florian Best univentionstaff 2023-11-14 18:08:18 CET
We tried to test the dynlist overlay module as replacement but have huge performance problems in domains with 200.000 users.

with dynlist module (and nested group evaluation):
> $ time ldapsearch … uid=testuser548 memberOf
> …
> real    0m21,885s
> user    0m0,176s
> sys     0m0,067s

with dynlist module (without nested group evaluation):
> $ time ldapsearch … uid=testuser548 memberOf
> …
> real    0m12,797s
> user    0m0,186s
> sys     0m0,032s

with memberOf module:
> $ time ldapsearch … uid=testuser548 memberOf
> …
> real    0m0,248s
> user    0m0,176s
> sys     0m0,033

our slapd configuration:
> overlay dynlist
> dynlist-attrset groupOfURLs memberURL uniqueMember+memberOf@posixGroup*
and without nested evaluation:
> dynlist-attrset groupOfURLs memberURL uniqueMember+memberOf@posixGroup