Skip to content

Commit

Permalink
Issue 5989 - RFE support of inChain Matching Rule
Browse files Browse the repository at this point in the history
Bug description:
	Computation of membership (like 'memberof') is a common issue.
	The issue is more expensive to solve when there are nested membership.
	For example "gives me all the groups this entry belongs to" or "gives me
	all subordinates having this manager".
	Either the LDAP client computes the values or dedicated plugin (like 'memberof')
	maintains direct membership attribute for the LDAP client.
	InChain Matching Rule allow a LDAP client to request the server to compute this membership.

Fix description:
	The implementation is designed https://www.port389.org/docs/389ds/design/matching-rule-in-chain.html

	A specific fix in aclanom.c because inChain MR adds a acl DENY
        on 'cn=config'. There was a bug that cleared anonymous aci
        if the it existed a DENY acl anywhere (except a specific
        list of entries like 'cn=monitor'). It triggered a failure
	on chaining backend suite

relates: 389ds#5989

Reviewed by: William Brown, Mark Reynolds, Pierre Rogier, Simon Pichugin (Thanks !)
  • Loading branch information
tbordaz committed Nov 27, 2023
1 parent 84a845c commit 8dcd0d0
Show file tree
Hide file tree
Showing 10 changed files with 1,329 additions and 19 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -1738,6 +1738,7 @@ libsyntax_plugin_la_SOURCES = ldap/servers/plugins/syntaxes/bin.c \
ldap/servers/plugins/syntaxes/facsimile.c \
ldap/servers/plugins/syntaxes/guide.c \
ldap/servers/plugins/syntaxes/int.c \
ldap/servers/plugins/syntaxes/inchain.c \
ldap/servers/plugins/syntaxes/nameoptuid.c \
ldap/servers/plugins/syntaxes/numericstring.c \
ldap/servers/plugins/syntaxes/phonetic.c \
Expand Down
Loading

0 comments on commit 8dcd0d0

Please sign in to comment.