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

Malformed cookie for LDAP Sync makes DS crash #1270

Closed
389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Closed

Malformed cookie for LDAP Sync makes DS crash #1270

389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Labels
closed: fixed Migration flag - Issue

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/47939


Description of problem:
When Content Synchronization plugin enabled, passing malformed cookie to
ldapsearch makes DS crash.

How reproducible:
always

Steps to Reproduce:

  1. make a fresh install of DS
  2. enable Content Synchronization plugin and Retro Changelog plugin, restart
    server
  3. run ldapsearch with malformed cookie
    ldapsearch -h localhost:389 -D "cn=Directory Manager" -w Secret123 -LLL -b
    dc=example,dc=com -E sync=ro/"#"

Actual results:
Server crashes
ldapsearch -h localhost:389 -D "cn=Directory Manager" -w Secret123 -LLL -b
dc=example,dc=com -E sync=ro/"#"
ldap_result: Can't contact LDAP server (-1)

Expected results:
Server should not crash and report that cookie is invalid, like in this
example:
ldapsearch -h localhost:389 -D "cn=Directory Manager" -w Secret123 -LLL -b
dc=example,dc=com -E sync=ro/"##"
Content Sync Refresh Required (4096)
Additional information: Invalid session cookie

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 12, 2020
@389-ds-bot 389-ds-bot added this to the 1.3.3 - 10/31 (October) milestone Sep 12, 2020
@389-ds-bot
Copy link
Author

@389-ds-bot
Copy link
Author

Comment from nhosoi (@nhosoi) at 2014-11-05 00:50:56

Reviewed by Ludwig (Thank you!!)

Pushed to master:
77989d3..8f540a6 master -> master
commit 8f540a6

Pushed to 389-ds-base-1.3.3:
29a4160..d87202a 389-ds-base-1.3.3 -> 389-ds-base-1.3.3
commit d87202a

@389-ds-bot
Copy link
Author

Comment from nhosoi (@nhosoi) at 2017-02-11 23:08:20

Metadata Update from @nhosoi:

  • Issue assigned to nhosoi
  • Issue set to the milestone: 1.3.3 - 10/31 (October)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant