Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47262

Server dumps core if started with GSSAPI auth mechanism and there is a configuration problem

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 4.3.5
    • 4.4.0-rc6, 4.7.0
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Security 2020-04-20, Security 2020-05-04, Security 2020-05-18

    Description

      When I try to run mongod with GSSAPI authentication mechanism, it seems that there are multiple configuration problems that cause the server to dump core.

      Test case #1: no kerberos configuration present on the system at all.

      To reproduce, build a docker image from this dockerfile: https://github.com/p-mongo/tests/blob/master/server-gssapi-crash-1/Dockerfile

      Actual result: https://gist.github.com/p-mongo/0d32544a51ed7c31fbb557a287609193

      Test case #2: kerberos is configured but there aren't any keytabs defined.

      To reproduce, build a docker image from this dockerfile: https://github.com/p-mongo/tests/blob/master/server-gssapi-crash-2/Dockerfile

      Actual result: https://gist.github.com/p-mongo/a6867c5634a618a20f6eab4d4961762a

      Expected result: server produces an error message and exits but does not dump core.

      Attachments

        Activity

          People

            shreyas.kalyan@mongodb.com Shreyas Kalyan
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: