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

ZOOKEEPER-3951: C Client: Fix compilation with SASL disabled #1477

Closed
wants to merge 1 commit into from

Conversation

ztzg
Copy link
Contributor

@ztzg ztzg commented Oct 3, 2020

The sasl_client field doesn't exist when configured without SASL. Use an accessor outside of the blocks already guarded by HAVE_CYRUS_SASL_H.

(Reported by Parag.)

The sasl_client field doesn't exist when configured without SASL.  Use
an accessor outside of the blocks already guarded by HAVE_CYRUS_SASL_H.
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

Nice patch!

@ztzg
Copy link
Contributor Author

ztzg commented Oct 3, 2020

Thanks—though it would have been better to avoid it in the first place! :)

@symat
Copy link
Contributor

symat commented Oct 12, 2020

I'll merge this. Master branch is enough here, right? (AFAICR SASL is not supported in3.6)

@asfgit asfgit closed this in 064d8f9 Oct 12, 2020
@ztzg
Copy link
Contributor Author

ztzg commented Oct 12, 2020

Yes, only master. Many thanks!

RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
The `sasl_client` field doesn't exist when configured without SASL.  Use an accessor outside of the blocks already guarded by `HAVE_CYRUS_SASL_H`.

(Reported by [Parag](https://issues.apache.org/jira/browse/ZOOKEEPER-3951).)

Author: Damien Diederen <dd@crosstwine.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1477 from ztzg/ZOOKEEPER-3951-no-sasl-compilation
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
The `sasl_client` field doesn't exist when configured without SASL.  Use an accessor outside of the blocks already guarded by `HAVE_CYRUS_SASL_H`.

(Reported by [Parag](https://issues.apache.org/jira/browse/ZOOKEEPER-3951).)

Author: Damien Diederen <dd@crosstwine.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1477 from ztzg/ZOOKEEPER-3951-no-sasl-compilation
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Aug 31, 2022
The `sasl_client` field doesn't exist when configured without SASL.  Use an accessor outside of the blocks already guarded by `HAVE_CYRUS_SASL_H`.

(Reported by [Parag](https://issues.apache.org/jira/browse/ZOOKEEPER-3951).)

Author: Damien Diederen <dd@crosstwine.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1477 from ztzg/ZOOKEEPER-3951-no-sasl-compilation
RokLenarcic pushed a commit to RokLenarcic/zookeeper that referenced this pull request Sep 3, 2022
The `sasl_client` field doesn't exist when configured without SASL.  Use an accessor outside of the blocks already guarded by `HAVE_CYRUS_SASL_H`.

(Reported by [Parag](https://issues.apache.org/jira/browse/ZOOKEEPER-3951).)

Author: Damien Diederen <dd@crosstwine.com>

Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>

Closes apache#1477 from ztzg/ZOOKEEPER-3951-no-sasl-compilation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants