New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memberof is slow on update/fixup if there are several 'groupattr' #5440
Labels
In JIRA
ticket is in JIRA
performance
Issue impacts performance
priority_high
need urgent fix / highly valuable / easy to fix
Milestone
Comments
tbordaz
added a commit
to tbordaz/389-ds-base
that referenced
this issue
Sep 8, 2022
…roupattr'
Bug description:
Tentative fix to improve memberof fixup
When there are several groupattr in memberof config
To fixup an entry we are doing an internal search
"(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))"
This is not valid regarding membership relation and in
addition it prevents the server to shortcut filter evaluation.
Fix description:
To fixup an entry iterate several internal searches
"(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)"
relates: 389ds#5440
Reviewed by:
Platforms tested:
tbordaz
added a commit
to tbordaz/389-ds-base
that referenced
this issue
Nov 10, 2022
…roupattr'
Bug description:
When there are several groupattr (attr_1, attr_2,..) in memberof config
To fixup entry 'e1', memberof does an internal search
"(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))"
This is not valid regarding membership relation and in
addition it prevents the server to bypass the filter evaluation.
Fix description:
To fixup an entry iterate several internal searches
"(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)"
relates: 389ds#5440
Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 10, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 10, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 10, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 10, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 10, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 10, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
tbordaz
added a commit
that referenced
this issue
Nov 15, 2022
…roupattr' (#5455) Bug description: When there are several groupattr (attr_1, attr_2,..) in memberof config To fixup entry 'e1', memberof does an internal search "(|(attr_1=e1)(attr_2=e1)...(attr_n=e1))" This is not valid regarding membership relation and in addition it prevents the server to bypass the filter evaluation. Fix description: To fixup an entry iterate several internal searches "(attr_1=e1)" , then "(attr_2=e1)", then "(attr_n=e1)" relates: #5440 Reviewed by: Pierre Rogier, Mark Reynolds, Simon Pichugin (Thanks)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
In JIRA
ticket is in JIRA
performance
Issue impacts performance
priority_high
need urgent fix / highly valuable / easy to fix
Issue Description
Memberof can be configured with several membership attribute (member, uniquemember,..)
When fixing (create memberof values) an entry, memberof plugin searches the groups owning that entry using a filter that contains all the membership attributes. The drawbacks are
Package Version and Platform:
all version
Steps to Reproduce
To be done
Expected results
Fixup is very slow
The text was updated successfully, but these errors were encountered: