-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Connectivity
-
None
-
3
-
Not Needed
-
Iteration Geneva
Problem Description
When trying to authenticate with Kerberos with a service name different from mongodb it fails with
Miscellaneous failure (see text): Error from KDC: LOOKING_UP_SERVER while looking up 'mongodb/mongodb-kerberos-2.example.com@EXAMPLE.COM' (cached result, timeout in 850 sec) (negative cache)
Steps to Reproduce
- Start mongodb with kerberos auth locally using the devtools docker template
- Try to connect to second mongodb instance that is using "alternate" service name for Kerberos auth:
mongodb://mongodb.user%40EXAMPLE.COM@mongodb-kerberos-2.example.com:29018/?gssapiServiceName=alternate&authMechanism=GSSAPI&authSource=%24external
Expected Results
I can sign in without issues
Actual Results
Auth error is shown
Additional Notes
–