Skip to content
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

do not run paged results against ldap_read ops on PHP7.3+ #20536

Merged
merged 1 commit into from
Apr 22, 2020

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Apr 17, 2020

  • previously it was needed as the PHP LDAP handling of paged results was
    strange
  • but now the read operation would fail, e.g. with extra home dir attribute
    set ("Home dir attribute can't be read from LDAP for uid: foobar"

That's also how to reproduce it. With PHP 7.3, set an home dir attribute in LDAP's advanced tab and go to users page. It'll fail without this change.

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♀️

@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Apr 17, 2020
@rullzer rullzer mentioned this pull request Apr 18, 2020
55 tasks
- previously it was needed as the PHP LDAP handling of paged results was
strange
- but now the read operation would fail, e.g. with extra home dir attribute
set ("Home dir attribute can't be read from LDAP for uid: foobar"

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz force-pushed the fix/noid/ldap-73api-read-wo-pagedresults branch from c62907e to 75c686d Compare April 21, 2020 13:48
@MorrisJobke MorrisJobke merged commit 8ffa762 into master Apr 22, 2020
@MorrisJobke MorrisJobke deleted the fix/noid/ldap-73api-read-wo-pagedresults branch April 22, 2020 11:37
@MorrisJobke
Copy link
Member

@blizzz What about backports?

@blizzz
Copy link
Member Author

blizzz commented Apr 22, 2020

@blizzz What about backports?

New code, affects 19 only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: ldap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants