Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/mongo/client/dbclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,8 +914,10 @@ namespace mongo {
uassertStatusOK(saslClientAuthenticate(this, params));
}
else {
uasserted(ErrorCodes::BadValue,
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"
" with the flags --ssl or --use-sasl-client)";
uasserted(ErrorCodes::BadValue, error);
}
};

Expand Down