[CDRIVER-299] Native GSSAPI on windows Created: 18/Mar/14  Updated: 24/Mar/17  Resolved: 23/Jan/17

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

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

Issue Links:
Depends
Related
related to CDRIVER-2012 Move MONGOC_ENABLE_SASL_SSPI guard up... Closed
related to CDRIVER-783 Add support for SASL plugins Closed
related to CDRIVER-859 C - Test Driver handling of SASL PLAI... Closed
is related to CDRIVER-791 Support SSPI on Windows Closed
Epic Link: Native SASL

 Description   

We use Cyrus SASL on Windows, which is very hard to build and configure, and I (Jesse) couldn't get it to authenticate successfully. It probably does work, but it's terrifically inconvenient.

Stealing kerberos_sspi.c/h from WinKerberos and replacing Cyrus would get rid of the last difficult to use external dependency on Windows.



 Comments   
Comment by A. Jesse Jiryu Davis [ 24/Mar/17 ]

On r1.6: https://github.com/mongodb/mongo-c-driver/commit/bfc9afb01cfc0ba5aa9d5145a37735eb49ddf686

Comment by Githook User [ 24/Mar/17 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-299 fix cmake check for SSPI
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/7f4b1f6da7bb4dd0912eeda3c5b82a3e10264db1

Comment by Githook User [ 23/Jan/17 ]

Author:

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

Message: CDRIVER-299 Add SSPI Evergreen configuration
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/0ce43c377716028981c3462fbda6677f5ff1d084

Comment by Githook User [ 23/Jan/17 ]

Author:

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

Message: CDRIVER-299 Add native GSSAPI (SSPI) support on Windows
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/96dd6ed98d50f66ce4667d117b341b2d7103e97d

Comment by Bernie Hackett [ 01/Jun/16 ]

How about we turn this into native GSSAPI (SSPI) on Windows? Stealing kerberos_sspi.c/h from WinKerberos and replacing Cyrus would get rid of the last (AFAIK) difficult to use external dependency on Windows.

Comment by A. Jesse Jiryu Davis [ 01/Jun/16 ]

This was open because Christian had used Cyrus SASL on Windows, which is very hard to configure, and I couldn't prove it still worked after Christian left. bjori please close this if you've tested Kerberos and LDAP on Windows at least once recently.

Comment by Githook User [ 14/Aug/15 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-299 more output when cmake finds sasl lib
Branch: 1.2.0-dev
https://github.com/mongodb/mongo-c-driver/commit/f831d05287ec2e3c139015cb7beac80e49ef6764

Comment by A. Jesse Jiryu Davis [ 15/Jul/15 ]

Announce in 1.2 if we test it successfully in Evergreen, otherwise push to 1.3.

Comment by A. Jesse Jiryu Davis [ 18/May/15 ]

At the least, the MONGOC_ENABLE_SASL define in CMakeLists must be fixed:

https://github.com/ajdavis/mongo-c-driver/blob/master/CMakeLists.txt#L33-33

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