Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Dec 5, 2025

When detecting the Apple fork of "legacy" LDAP, replace the __APPLE__
macro (which can be present also when using an old mainline OpenLDAP
while building for an Apple platform) with LDAP_OPT_X_TLS_PASSPHRASE
which is an Apple-specific macro, merged by Apple in 2007, later adding
the comment 'Apple Specific code'. This macro hasn't been retrofitted
to OpenLDAP since then, and unlikely to happen in the future.

Refs:
apple-oss-distributions/OpenLDAP@c4d990a#diff-0f7a5f85bae4de860b70aabf34aa12b0ecc37e748cd96e203e2d8ddb30a207c3R145
apple-oss-distributions/OpenLDAP@49ac28a#diff-0f7a5f85bae4de860b70aabf34aa12b0ecc37e748cd96e203e2d8ddb30a207c3R166

Follow-up to 859ce48 #19832

Replace the `__APPLE__` macro (which can be present also when using an
old mainline OpenLDAP while building for an Apple platform) with
`LDAP_OPT_X_TLS_PASSPHRASE` which is an Apple-specific macro, merged by
Apple in 2007, later adding the comment 'Apple Specific code'.
This macro hasn't been retrofitted to OpenLDAP since then, and unlikely
to happen in the future.

Refs:
apple-oss-distributions/OpenLDAP@c4d990a#diff-0f7a5f85bae4de860b70aabf34aa12b0ecc37e748cd96e203e2d8ddb30a207c3R145
apple-oss-distributions/OpenLDAP@49ac28a#diff-0f7a5f85bae4de860b70aabf34aa12b0ecc37e748cd96e203e2d8ddb30a207c3R166

Follow-up to 859ce48 curl#19832
@vszakats vszakats added LDAP appleOS specific to an Apple operating system labels Dec 5, 2025
@vszakats vszakats closed this in 2d6ade1 Dec 5, 2025
@vszakats vszakats deleted the ldapapple branch December 5, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

appleOS specific to an Apple operating system LDAP

Development

Successfully merging this pull request may close these issues.

1 participant