Skip to content

Commit 50cc6d8

Browse files
committed
CDRIVER-2892 default GSSAPI to CYRUS
And warn when ENABLE_SASL=GSSAPI. This is left for backwards compatibility.
1 parent f1b2865 commit 50cc6d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/libmongoc/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,12 @@ set (MONGOC_ENABLE_SASL_GSSAPI 0)
203203
set (MONGOC_ENABLE_SASL_SSPI 0)
204204
set (MONGOC_HAVE_SASL_CLIENT_DONE 0)
205205

206+
# After CDRIVER-2654, the GSSAPI option will be entirely removed.
207+
if (ENABLE_SASL STREQUAL "GSSAPI")
208+
message (WARNING "ENABLE_SASL=GSSAPI is not supported. Using CYRUS instead.")
209+
set (ENABLE_SASL "CYRUS")
210+
endif()
211+
206212
if (NOT ENABLE_SASL STREQUAL OFF)
207213
if (ENABLE_SASL MATCHES "AUTO|CYRUS")
208214
# Sets SASL_LIBRARIES.

0 commit comments

Comments
 (0)