![]() T18:00:31.602-0400 Error: 17 SASL(-1): generic failure: SSPI: InitializeSecurit圜ontext: The specified target is unknown or unreachableĮxample 3 - DNS lookup of short name showing that FQDN is available Ĭ:\Apps\MongoDB\2.6. The Enterprise Server is the commercial edition of MongoDB, which includes additional capabilities such as in-memory storage engine for high throughput and low latency, advanced security features like LDAP and Kerberos access controls, and encryption for data at rest. Connect to the server using the mongo shell. How do I set MongoDB credentials Enabling authentication on MongoDB. '$external' -authenticationMechanism=GSSAPI -username shell version: 2.6.1 Stop the MongoDB instance and start it again with access control. Clients on Linux seem unaffected by this problem.Įxample 1 - Using FQDN in the URL and everything works Ĭ:\Apps\MongoDB\2.6.1\bin>mongo :27118/admin -ĪuthenticationDatabase='$external' -authenticationMechanism=GSSAPI -username shell version: 2.6.1Ĭonnecting to: :27118/adminĮxample 2 - Using short name and get a GSSAPI error Ĭ:\Apps\MongoDB\2.6.1\bin>mongo host10601:27118/admin -authenticationDatabase= ![]() When authenticating from a Windows 7 2.6.1 enterprise client to a MongoDB 2.4.9 enterprise instance using Kerberos, the connection will only succeed if the FQDN is used in the URL instead of the short host name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |