Skip to content

Commit cffdd04

Browse files
gonras0okevinAlbs
authored andcommitted
CRIVER-3728 set prohibit_lsid in cluster_auth_node_cyrus and cluster_auth_node_sspi
1 parent 64a395c commit cffdd04

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/libmongoc/src/mongoc/mongoc-cluster-cyrus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ _mongoc_cluster_auth_node_cyrus (mongoc_cluster_t *cluster,
5757
for (;;) {
5858
mongoc_cmd_parts_init (
5959
&parts, cluster->client, "$external", MONGOC_QUERY_SLAVE_OK, &cmd);
60+
parts.prohibit_lsid = true;
6061

6162
/* If this is the first step, input buffer is NULL. */
6263
bson_free (outbuf);

src/libmongoc/src/mongoc/mongoc-cluster-sspi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ _mongoc_cluster_auth_node_sspi (mongoc_cluster_t *cluster,
175175
for (step = 0;; step++) {
176176
mongoc_cmd_parts_init (
177177
&parts, cluster->client, "$external", MONGOC_QUERY_SLAVE_OK, &cmd);
178+
parts.prohibit_lsid = true;
178179
bson_init (&cmd);
179180

180181
if (res == MONGOC_SSPI_AUTH_GSS_CONTINUE) {

0 commit comments

Comments
 (0)