[DOCS-4417] Documentation for passing serviceName and serviceHostname to db.auth() with Kerberos Created: 21/Nov/14  Updated: 11/Jan/17  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Valeri Karpov Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 7 years, 29 weeks ago

 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



 Comments   
Comment by Emily Hall [ 27/Jul/16 ]

Closed by Emily Hall for Housekeeping on 7/27/16.
Please create a new ticket if for prioritization.

Thank you!

Generated at Thu Feb 08 07:47:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.