Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2245

Improve Kerberos diagnostics

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Kerberos
    • None

      • Currently the native Kerberos authenticator returns false when various C function calls fail. The proper way of dealing with this is to raise a Ruby extension. Code upstream of the native authenticator is not expecting false returns and ends up sending bogus requests to the server, for example, as a result.
      • The exception should be of a class defined by mongo_kerberos library, e.g. Mongo::Gssapi::Error.
      • When sasl errors happen, mongo_kerberos should provide the error code and message to assist in troubleshooting.
      • sasl initialization should be done globally, and one time per process. If it fails an exception should be raised preventing mongo_kerberos from being loaded, with descriptive details.

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: