Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4417

Documentation for passing serviceName and serviceHostname to db.auth() with Kerberos

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      Heya, not sure if this is already addressed somewhere, but I haven't been able to find an exhaustive list of options you can pass to the object form of `db.auth()` in the shell. This is particularly relevant for Kerberos auth (http://docs.mongodb.org/manual/tutorial/control-access-to-mongodb-with-kerberos-authentication/) since you can pass `serviceHostname` and `serviceName` in the object parameter to `db.auth()` but the only way you can figure this out is by finding the right lines of code in the server repo:

      https://github.com/mongodb/mongo/blob/6b73c5c63de972ebd39ab85c93f81e7040fe6950/src/mongo/client/dbclientinterface.h#L645-662

      Google also doesn't return any reasonable results for this option: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=mongodb%20kerberos%20servicehostname

      Also somewhat related to DOCS-3159

      Attachments

        Activity

          People

            Unassigned Unassigned
            valeri.karpov@mongodb.com Valeri Karpov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago