We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02faeb8 commit dae3e43Copy full SHA for dae3e43
src/mongo/client/dbclient.cpp
@@ -914,8 +914,10 @@ namespace mongo {
914
uassertStatusOK(saslClientAuthenticate(this, params));
915
}
916
else {
917
- uasserted(ErrorCodes::BadValue,
918
- mechanism + " mechanism support not compiled into client library.");
+ std::string error = mechanism + " mechanism support not compiled into client library."
+ " (Some mechanisms require the driver be compiled"
919
+ " with the flags --ssl or --use-sasl-client)";
920
+ uasserted(ErrorCodes::BadValue, error);
921
922
};
923
0 commit comments