[COMPASS-4487] Driver GSSAPI AuthProvider causing crashes in Compass Created: 06/Nov/20  Updated: 29/Oct/23  Resolved: 06/Nov/20

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: 1.23.0
Fix Version/s: 1.24.1

Type: Bug Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Maurizio Casimirri
Resolution: Fixed Votes: 0
Labels: kerberos
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes COMPASS-4203 Kerberos connection works in mongo sh... Closed
causes COMPASS-4324 Can't authenticate using Kerberos: In... Closed
Documentation Changes: Not Needed
Sprint: Iteration Papaya

 Description   

Compass crashes after a successful authentication to kerberos.

The authentication with kerberos gets triggered multiple times inside the driver on MongoClient.connect, however the GSSPI code in the driver is not meant to deal with concurrent calls as that seems to break the state of the authentication completely.



 Comments   
Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: COMPASS-4487: fix: GSSAPI AuthProvider causing crashes in Compass (#2048)
Branch: COMPASS-4409-allow-dismissal-of-error-messages
https://github.com/mongodb-js/compass/commit/a1ed6857635f9da9b35330050cb0e01eabed27e1

Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: COMPASS-4487: fix: GSSAPI AuthProvider causing crashes in Compass (#2048)
Branch: master
https://github.com/mongodb-js/compass/commit/a1ed6857635f9da9b35330050cb0e01eabed27e1

Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'mcasimir', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: COMPASS-4487: fix: GSSAPI AuthProvider causing crashes in Compass
Branch: COMPASS-4487
https://github.com/mongodb-js/compass/commit/c565f102f546b81230eec27c7eff9e21da49a62a

Generated at Wed Feb 07 22:36:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.