[CDRIVER-1961] Detect cyrus-sasl module availability Created: 20/Dec/16  Updated: 25/Jan/17  Resolved: 25/Jan/17

Status: Closed
Project: C Driver
Component/s: Build, libmongoc
Affects Version/s: None
Fix Version/s: 1.6.0

Type: Improvement Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When a GSSAPI module is not available to cyrus-sasl when authenticating with kerberos we currently fail very generically:
SASL Failure: failure to negotiate mechanism: generic server error

We should be able to

  • Improve that error message, saying the underlaying library didn't support GSSAPI after all
  • or, detect the missing sasl mechanism during ./configure


 Comments   
Comment by Githook User [ 25/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Merge branch 'CDRIVER-1961-improve-gssapi-error-message'

Comment by Githook User [ 25/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Merge branch 'CDRIVER-1961-improve-gssapi-error-message'

Comment by Githook User [ 25/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: Merge branch 'CDRIVER-1961-improve-gssapi-error-message'

Comment by Githook User [ 25/Jan/17 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1961 Improve error message when GSSAPI module not available
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/caf92a3580ac9eb07c21162054dab3d7320cf76a

Generated at Wed Feb 07 21:13:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.